From: Kevin Wolf <kwolf@redhat.com>
To: Max Reitz <mreitz@redhat.com>
Cc: qemu-block@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Qemu-block] [PATCH 3/3] qemu-iotests: Test exiting qemu with running job
Date: Fri, 9 Jun 2017 16:24:40 +0200 [thread overview]
Message-ID: <20170609142440.GE4462@noname.redhat.com> (raw)
In-Reply-To: <cca5d6f7-0747-5759-f940-1d8755b1a523@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1429 bytes --]
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 <kwolf@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
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
prev parent reply other threads:[~2017-06-09 14:24 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-09 11:50 [Qemu-devel] [PATCH 0/3] commit: Fix completion with extra reference Kevin Wolf
2017-06-09 11:50 ` [Qemu-devel] [PATCH 1/3] " Kevin Wolf
2017-06-09 12:05 ` Eric Blake
2017-06-09 14:18 ` [Qemu-devel] [Qemu-block] " Max Reitz
2017-06-09 11:50 ` [Qemu-devel] [PATCH 2/3] qemu-iotests: Allow starting new qemu after cleanup Kevin Wolf
2017-06-09 12:05 ` Eric Blake
2017-06-09 14:20 ` [Qemu-devel] [Qemu-block] " Max Reitz
2017-06-09 11:50 ` [Qemu-devel] [PATCH 3/3] qemu-iotests: Test exiting qemu with running job Kevin Wolf
2017-06-09 12:14 ` Eric Blake
2017-06-09 12:58 ` Kevin Wolf
2017-06-09 14:16 ` Eric Blake
2017-06-09 15:55 ` Kevin Wolf
2017-06-09 17:07 ` Eric Blake
2017-06-09 14:10 ` [Qemu-devel] [Qemu-block] " Max Reitz
2017-06-09 14:24 ` Kevin Wolf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170609142440.GE4462@noname.redhat.com \
--to=kwolf@redhat.com \
--cc=mreitz@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).