From: Jeff Cody <jcody@redhat.com>
To: Eric Blake <eblake@redhat.com>
Cc: qemu-devel@nongnu.org, qemu-block@nongnu.org, kwolf@redhat.com,
mreitz@redhat.com
Subject: Re: [Qemu-devel] [PATCH v2 for-2.10 1/1] qemu-iotests: _cleanup_qemu must be called on exit
Date: Tue, 18 Apr 2017 15:31:29 -0400 [thread overview]
Message-ID: <20170418193129.GJ5704@localhost.localdomain> (raw)
In-Reply-To: <e649d1d3-6310-6607-22fe-82fc961d53c4@redhat.com>
On Tue, Apr 18, 2017 at 01:44:43PM -0500, Eric Blake wrote:
> On 04/18/2017 12:45 PM, Jeff Cody wrote:
> > For the tests that use the common.qemu functions for running a QEMU
> > process, _cleanup_qemu must be called in the exit function.
> >
> > If it is not, if the qemu process aborts, then not all of the droppings
> > are cleaned up (e.g. pidfile, fifos).
> >
> > This updates those tests that did not have a cleanup in qemu-iotests.
> >
> > (I swapped spaces for tabs in test 102 as well)
> >
> > Reported-by: Eric Blake <eblake@redhat.com>
> > Reviewed-by: Eric Blake <eblake@redhat.com>
> > Signed-off-by: Jeff Cody <jcody@redhat.com>
> > ---
> >
> > v2 fixed typo in test 094, s/cleanup/_cleanup/ for the trap function.
> >
> > tests/qemu-iotests/028 | 1 +
> > tests/qemu-iotests/094 | 11 ++++++++---
> > tests/qemu-iotests/102 | 5 +++--
> > tests/qemu-iotests/109 | 1 +
> > tests/qemu-iotests/117 | 1 +
> > tests/qemu-iotests/130 | 1 +
> > tests/qemu-iotests/140 | 1 +
> > tests/qemu-iotests/141 | 1 +
> > tests/qemu-iotests/143 | 1 +
> > 9 files changed, 18 insertions(+), 5 deletions(-)
>
> Looks like you missed (at least?) 063
>
I did miss 156. But unless I am missing something, 063 does not use
common.qemu...
(I'll send a v3 with 156)
-Jeff
next prev parent reply other threads:[~2017-04-18 19:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-18 17:45 [Qemu-devel] [PATCH v2 for-2.10 1/1] qemu-iotests: _cleanup_qemu must be called on exit Jeff Cody
2017-04-18 18:44 ` Eric Blake
2017-04-18 19:31 ` Jeff Cody [this message]
2017-04-18 19:39 ` Eric Blake
2017-04-18 19:42 ` Jeff Cody
2017-04-19 10:36 ` Fam Zheng
2017-04-19 12:13 ` Max Reitz
2017-04-19 12:36 ` Jeff Cody
2017-04-19 12:45 ` Max Reitz
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=20170418193129.GJ5704@localhost.localdomain \
--to=jcody@redhat.com \
--cc=eblake@redhat.com \
--cc=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).