All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] qemu-sanity-check.in: Use '-display none' instead of '-nographic'
@ 2015-06-08 16:47 Kashyap Chamarthy
  2015-06-08 16:51 ` Richard W.M. Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Kashyap Chamarthy @ 2015-06-08 16:47 UTC (permalink / raw)
  To: qemu-devel; +Cc: peter.maydell, rjones, Kashyap Chamarthy

Upstream QEMU recommends to use '-display none' as opposed to
'-nographic' -- which is a "legacy option that does a whole bunch of
confusing stuff" (thanks Peter Maydell).

Upstream libguestfs already made the switch [1] in DEC-2013.

[1] https://github.com/libguestfs/libguestfs/commit/7a41f5c1 -- "launch:
    switch from -nographic to -display none "
---
 qemu-sanity-check.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/qemu-sanity-check.in b/qemu-sanity-check.in
index 5bb5b292def5caff5ca63071565bd447cf5f4efd..34cd9385f56b5eedd0ec26abd128232a47e51996 100644
--- a/qemu-sanity-check.in
+++ b/qemu-sanity-check.in
@@ -140,7 +140,8 @@ test_output="$(mktemp --suff=.out)"
 declare -a argv
 i=0
 argv[$((i++))]="$qemu"
-argv[$((i++))]="-nographic"
+argv[$((i++))]="-display"
+argv[$((i++))]="none"
 argv[$((i++))]="-nodefconfig"
 argv[$((i++))]="-nodefaults"
 argv[$((i++))]="-machine"
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] qemu-sanity-check.in: Use '-display none' instead of '-nographic'
  2015-06-08 16:47 [Qemu-devel] [PATCH] qemu-sanity-check.in: Use '-display none' instead of '-nographic' Kashyap Chamarthy
@ 2015-06-08 16:51 ` Richard W.M. Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Richard W.M. Jones @ 2015-06-08 16:51 UTC (permalink / raw)
  To: Kashyap Chamarthy; +Cc: peter.maydell, qemu-devel

On Mon, Jun 08, 2015 at 06:47:00PM +0200, Kashyap Chamarthy wrote:
> Upstream QEMU recommends to use '-display none' as opposed to
> '-nographic' -- which is a "legacy option that does a whole bunch of
> confusing stuff" (thanks Peter Maydell).
> 
> Upstream libguestfs already made the switch [1] in DEC-2013.
> 
> [1] https://github.com/libguestfs/libguestfs/commit/7a41f5c1 -- "launch:
>     switch from -nographic to -display none "
> ---
>  qemu-sanity-check.in | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/qemu-sanity-check.in b/qemu-sanity-check.in
> index 5bb5b292def5caff5ca63071565bd447cf5f4efd..34cd9385f56b5eedd0ec26abd128232a47e51996 100644
> --- a/qemu-sanity-check.in
> +++ b/qemu-sanity-check.in
> @@ -140,7 +140,8 @@ test_output="$(mktemp --suff=.out)"
>  declare -a argv
>  i=0
>  argv[$((i++))]="$qemu"
> -argv[$((i++))]="-nographic"
> +argv[$((i++))]="-display"
> +argv[$((i++))]="none"
>  argv[$((i++))]="-nodefconfig"
>  argv[$((i++))]="-nodefaults"
>  argv[$((i++))]="-machine"
> -- 
> 2.1.0

Thanks -- I have pushed this patch upstream.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-08 16:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-08 16:47 [Qemu-devel] [PATCH] qemu-sanity-check.in: Use '-display none' instead of '-nographic' Kashyap Chamarthy
2015-06-08 16:51 ` Richard W.M. Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.