Am 09.06.2017 um 16:10 hat Max Reitz geschrieben: > On 2017-06-09 13:50, Kevin Wolf wrote: > > When qemu is exited, all running jobs should be cancelled successfully. > > This adds a test for this for all types of block jobs that currently > > exist in qemu. > > > > Signed-off-by: Kevin Wolf <kw...@redhat.com> > > --- > > tests/qemu-iotests/185 | 189 > > +++++++++++++++++++++++++++++++++++++++++++++ > > tests/qemu-iotests/185.out | 59 ++++++++++++++ > > tests/qemu-iotests/group | 1 + > > 3 files changed, 249 insertions(+) > > create mode 100755 tests/qemu-iotests/185 > > create mode 100644 tests/qemu-iotests/185.out > > > > diff --git a/tests/qemu-iotests/185 b/tests/qemu-iotests/185 > > new file mode 100755 > > index 0000000..645ec9a > > --- /dev/null > > +++ b/tests/qemu-iotests/185 > > [...] > > > +_supported_fmt qcow2 raw > > +_supported_proto file > > +_supported_os Linux > > [...] > > > +echo > > +echo === Creating backing chain === > > +echo > > + > > +_send_qemu_cmd $h \ > > + "{ 'execute': 'blockdev-snapshot-sync', > > + 'arguments': { 'device': 'disk', > > + 'snapshot-file': '$TEST_IMG.mid', > > + 'format': '$IMGFMT', > > Not having looked at this series further yet (sorry...), I just noticed > that this does not work very well with raw.
Good point... I'll make it qcow2 only. Kevin
pgpvCQ_jc6hhX.pgp
Description: PGP signature