[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH 3/3] qemu-iotests: Test exiting qemu with runnin
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-block] [PATCH 3/3] qemu-iotests: Test exiting qemu with running job |
Date: |
Fri, 9 Jun 2017 16:24:40 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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 <address@hidden>
> > ---
> > 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
pgpU1dIgm21Gy.pgp
Description: PGP signature
- [Qemu-block] [PATCH 2/3] qemu-iotests: Allow starting new qemu after cleanup, (continued)
Re: [Qemu-block] [PATCH 3/3] qemu-iotests: Test exiting qemu with running job, Max Reitz, 2017/06/09
- Re: [Qemu-block] [PATCH 3/3] qemu-iotests: Test exiting qemu with running job,
Kevin Wolf <=