* [Qemu-devel] [PATCH] qemu-iotests: Add -nographic when starting QEMU in 119 and 120
@ 2015-11-23  2:32 Fam Zheng
  2015-11-23  7:33 ` Markus Armbruster
  2015-11-23 21:15 ` Max Reitz
  0 siblings, 2 replies; 5+ messages in thread
From: Fam Zheng @ 2015-11-23  2:32 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, qemu-block, mreitz
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
-- 
2.4.3
^ permalink raw reply related	[flat|nested] 5+ messages in thread
* Re: [Qemu-devel] [PATCH] qemu-iotests: Add -nographic when starting QEMU in 119 and 120
  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
  2015-11-23 21:15 ` Max Reitz
  1 sibling, 1 reply; 5+ messages in thread
From: Markus Armbruster @ 2015-11-23  7:33 UTC (permalink / raw)
  To: Fam Zheng; +Cc: Kevin Wolf, qemu-devel, qemu-block, mreitz
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.
^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [Qemu-devel] [PATCH] qemu-iotests: Add -nographic when starting QEMU in 119 and 120
  2015-11-23  7:33 ` Markus Armbruster
@ 2015-11-23  9:12   ` Fam Zheng
  0 siblings, 0 replies; 5+ messages in thread
From: Fam Zheng @ 2015-11-23  9:12 UTC (permalink / raw)
  To: Markus Armbruster; +Cc: Kevin Wolf, qemu-devel, qemu-block, mreitz
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
^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [Qemu-devel] [PATCH] qemu-iotests: Add -nographic when starting QEMU in 119 and 120
  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 21:15 ` Max Reitz
  2015-11-24 10:00   ` Kevin Wolf
  1 sibling, 1 reply; 5+ messages in thread
From: Max Reitz @ 2015-11-23 21:15 UTC (permalink / raw)
  To: Fam Zheng, qemu-devel; +Cc: Kevin Wolf, qemu-block
[-- Attachment #1: Type: text/plain, Size: 703 bytes --]
On 23.11.2015 03:32, Fam Zheng wrote:
> 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(-)
Thanks, applied to my block-next tree:
https://github.com/XanClic/qemu/commits/block-next
(There are basically no reasons in favor of or against taking this in
for 2.5, so I decided in favor of “as few patches during freeze as
possible”. If someone tries to convince me to take it in for 2.5, I
won't have any objections.)
Max
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [Qemu-devel] [PATCH] qemu-iotests: Add -nographic when starting QEMU in 119 and 120
  2015-11-23 21:15 ` Max Reitz
@ 2015-11-24 10:00   ` Kevin Wolf
  0 siblings, 0 replies; 5+ messages in thread
From: Kevin Wolf @ 2015-11-24 10:00 UTC (permalink / raw)
  To: Max Reitz; +Cc: Fam Zheng, qemu-devel, qemu-block
[-- Attachment #1: Type: text/plain, Size: 915 bytes --]
Am 23.11.2015 um 22:15 hat Max Reitz geschrieben:
> On 23.11.2015 03:32, Fam Zheng wrote:
> > 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(-)
> 
> Thanks, applied to my block-next tree:
> 
> https://github.com/XanClic/qemu/commits/block-next
> 
> 
> (There are basically no reasons in favor of or against taking this in
> for 2.5, so I decided in favor of “as few patches during freeze as
> possible”. If someone tries to convince me to take it in for 2.5, I
> won't have any objections.)
It's clearly a bug fix, minimal diffstat, and as it's in the test suite
not risky at all. Sounds like 2.5 to me.
Kevin
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply	[flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-11-24 10:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2015-11-23 21:15 ` Max Reitz
2015-11-24 10:00   ` Kevin Wolf
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).