On Wed, Apr 03, 2013 at 11:14:30PM +0100, Richard W.M. Jones wrote: > On Thu, Mar 28, 2013 at 11:47:32AM +0100, Stefan Hajnoczi wrote: > > On Wed, Mar 27, 2013 at 03:57:29PM +0000, Richard W.M. Jones wrote: > > Please run qemu-iotests, see tests/qemu-iotests/check. For example, > > with NBD: > > > > $ cd tests/qemu-iotests > > $ QEMU_PROG=$HOME/qemu/x86_64-softmmu/qemu-system-x86_64 > > PATH=$HOME/qemu:$PATH \ > > ./check -nbd > > > > A patch will be required to add -ssh support to ./check. > > I have added this in the updated patch. > > A question: Are the -qcow2 tests meant to pass? Many don't pass for > my ssh driver (ie. './check -ssh -qcow2'). I tried using the nbd > driver (ie. './check -nbd -qcow2') and a large number of those fail as > well. To take an example, test 013 fails because it tries to run the > 'mv' command on the nbd: URL (or the ssh: URL when running the test on > my block driver). It looks like this and other qcow2 tests are a bit > broken on anything other than plain files.
Yes, I don't expect qemu-iotests to work with qcow2-on-nbd. Just ./check -nbd and ./check -ssh should work. Stefan