qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Fam Zheng <famz@redhat.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>,
	qemu-devel@nongnu.org, qemu-block@nongnu.org, mreitz@redhat.com
Subject: Re: [Qemu-devel] [PATCH] qemu-iotests: Add -nographic when starting QEMU in 119 and 120
Date: Mon, 23 Nov 2015 17:12:04 +0800	[thread overview]
Message-ID: <20151123091204.GA689@ad.usersys.redhat.com> (raw)
In-Reply-To: <87twodcgqz.fsf@blackfin.pond.sub.org>

On Mon, 11/23 08:33, Markus Armbruster wrote:
> Fam Zheng <famz@redhat.com> writes:
> 
> > Otherwise, a window flashes on my desktop (built with SDL). Add this as
> > other cases have it.
> >
> > Signed-off-by: Fam Zheng <famz@redhat.com>
> >
> > ---
> > v2: Fix 119 too. [Max]
> > ---
> >  tests/qemu-iotests/119 | 2 +-
> >  tests/qemu-iotests/120 | 2 +-
> >  2 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/tests/qemu-iotests/119 b/tests/qemu-iotests/119
> > index 9a11f1b..cc6ec07 100755
> > --- a/tests/qemu-iotests/119
> > +++ b/tests/qemu-iotests/119
> > @@ -49,7 +49,7 @@ echo "{'execute': 'qmp_capabilities'}
> >        {'execute': 'human-monitor-command',
> >         'arguments': {'command-line': 'qemu-io drv \"read -P 0 0 64k\"'}}
> >        {'execute': 'quit'}" \
> > -    | $QEMU -drive id=drv,if=none,file="$TEST_IMG",driver=nbd \
> > +    | $QEMU -nographic -drive id=drv,if=none,file="$TEST_IMG",driver=nbd \
> >              -qmp stdio -nodefaults \
> >      | _filter_qmp | _filter_qemu_io
> >  
> > diff --git a/tests/qemu-iotests/120 b/tests/qemu-iotests/120
> > index 9f13078..d899a3f 100755
> > --- a/tests/qemu-iotests/120
> > +++ b/tests/qemu-iotests/120
> > @@ -49,7 +49,7 @@ echo "{'execute': 'qmp_capabilities'}
> >        {'execute': 'human-monitor-command',
> >         'arguments': {'command-line': 'qemu-io drv \"write -P 42 0 64k\"'}}
> >        {'execute': 'quit'}" \
> > -    | $QEMU -qmp stdio -nodefaults \
> > +    | $QEMU -qmp stdio -nographic -nodefaults \
> >              -drive id=drv,if=none,file="$TEST_IMG",driver=raw,file.driver=$IMGFMT \
> >      | _filter_qmp | _filter_qemu_io
> >  $QEMU_IO -c 'read -P 42 0 64k' "$TEST_IMG" | _filter_qemu_io
> 
> -nographic is legacy.  Using legacy options is fine, but I wonder
> whether you want -display none here.  Unless you really want to redirect
> serial and parallel port, I suspect you do.

I was just following other cases, I'm fine with either way but I suspect it's
worth to convert them. So if there is no other problem let's be consistent and
stick to -nographic for now. Thanks for pointing out, though.

Fam

  reply	other threads:[~2015-11-23  9:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-23  2:32 [Qemu-devel] [PATCH] qemu-iotests: Add -nographic when starting QEMU in 119 and 120 Fam Zheng
2015-11-23  7:33 ` Markus Armbruster
2015-11-23  9:12   ` Fam Zheng [this message]
2015-11-23 21:15 ` Max Reitz
2015-11-24 10:00   ` Kevin Wolf

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=20151123091204.GA689@ad.usersys.redhat.com \
    --to=famz@redhat.com \
    --cc=armbru@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).