From: Anthony Liguori <anthony@codemonkey.ws>
To: Jes.Sorensen@redhat.com
Cc: jan.kiszka@siemens.com, qemu-devel@nongnu.org, peter.maydell@linaro.org
Subject: [Qemu-devel] Re: [PATCH 1/5] Introduce -display argument
Date: Mon, 14 Mar 2011 08:37:23 -0500 [thread overview]
Message-ID: <4D7E1A13.7090202@codemonkey.ws> (raw)
In-Reply-To: <1300105726-25937-2-git-send-email-Jes.Sorensen@redhat.com>
On 03/14/2011 07:28 AM, Jes.Sorensen@redhat.com wrote:
> From: Jes Sorensen<Jes.Sorensen@redhat.com>
>
> This patch introduces a -display argument which consolidates the
> setting of the display mode. Valid options are:
> sdl/curses/default/nographic
>
> Signed-off-by: Jes Sorensen<Jes.Sorensen@redhat.com>
I'd suggest using 'serial' instead of 'nographic' as that makes it more
obvious to the user that they need to configure a serial session.
I would drop 'default' for no other reason than we don't really expose
default as a choice anywhere else and I'm struggling to justify it to
myself.
I think we also need to leave room to make -display take per-display
specific parameters via QemuOpts. That said, converting -vnc to
QemuOpts is hard so what I'd suggest doing is just cheating for the
moment. Document the option to take per-display args after the main
display, and then do something like:
if (strstarts(optarg, "vnc,", &p)) {
vnc_display_init(p);
}
We have a bunch of little stupid SDL options like -sdl-no-frame and it
would be good to eventually be able to express that as -display
sdl,frame=off
Regards,
Anthony Liguori
next prev parent reply other threads:[~2011-03-14 13:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-14 12:28 [Qemu-devel] [PATCH 0/5] Introduce -display and make VNC optional Jes.Sorensen
2011-03-14 12:28 ` [Qemu-devel] [PATCH 1/5] Introduce -display argument Jes.Sorensen
2011-03-14 12:40 ` [Qemu-devel] " Peter Maydell
2011-03-14 12:41 ` Jes Sorensen
2011-03-14 13:37 ` Anthony Liguori [this message]
2011-03-14 12:28 ` [Qemu-devel] [PATCH 2/5] Introduce -display none Jes.Sorensen
2011-03-14 12:28 ` [Qemu-devel] [PATCH 3/5] error message if user specifies SDL cmd line option when SDL is disabled Jes.Sorensen
2011-03-14 12:28 ` [Qemu-devel] [PATCH 4/5] error message if user specifies curses on cmd line when curses " Jes.Sorensen
2011-03-14 12:28 ` [Qemu-devel] [PATCH 5/5] Make VNC support optional Jes.Sorensen
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=4D7E1A13.7090202@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=Jes.Sorensen@redhat.com \
--cc=jan.kiszka@siemens.com \
--cc=peter.maydell@linaro.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 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.