All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Add -display option
Date: Mon, 21 Apr 2008 00:14:18 +0100	[thread overview]
Message-ID: <20080420231418.GA30932@redhat.com> (raw)
In-Reply-To: <480BBD37.5010409@codemonkey.ws>

On Sun, Apr 20, 2008 at 05:01:27PM -0500, Anthony Liguori wrote:
> Sebastian Herbszt wrote:
> >>I would better name it -display, as not all computers have 
> >>VGA-compatible cards.

> >+                break;
> >+            case QEMU_OPTION_display:
> >+                if (!strcmp(optarg, "cirrus")) {
> >+                    cirrus_vga_enabled = 1;
> >+                    vmsvga_enabled = 0;
> >+                } else if (!strcmp(optarg, "std")) {
> >+                    cirrus_vga_enabled = 0;
> >+                    vmsvga_enabled = 0;
> >+                } else if (!strcmp(optarg, "vmware")) {
> >+                    cirrus_vga_enabled = 0;
> >+                    vmsvga_enabled = 1;
> >+                } else if (!strcmp(optarg, "none")) {
> >+                    serial_devices[0] = "stdio";
> >+                    parallel_devices[0] = "null";
> >+                    monitor_device = "stdio";
> >+                    nographic = 1;
> 
> I don't think -display none should be a synonym for -nographic.  It 
> should just suppress the creation of a VGA device.  If a platform 
> doesn't support that, it should raise an error.

I agree - its rather unfortunate that -nographic changes the default
settings for serial / parallel devices - it makes it troublesome to 
launch QEMU with a predictable config. Having 'none' merely supress
the VGA device would be preferrable behaviour.

It is certainly nice from a libvirt point of view to have a generic 
flag -display like this.

Dan.
-- 
|: Red Hat, Engineering, Boston   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

  reply	other threads:[~2008-04-20 23:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-13 18:42 [Qemu-devel] -vga switch C.W. Betts
2008-04-13 18:42 ` C.W. Betts
2008-04-14 20:38   ` [Qemu-devel] " Sebastian Herbszt
2008-04-15  7:26     ` Hervé Poussineau
2008-04-20 20:55       ` [Qemu-devel] [PATCH] Add -display option Sebastian Herbszt
2008-04-20 22:01         ` Anthony Liguori
2008-04-20 23:14           ` Daniel P. Berrange [this message]
2008-04-22 23:00             ` [Qemu-devel] " Sebastian Herbszt
2008-05-05  0:14       ` [Qemu-devel] Re: -vga switch Luke -Jr

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=20080420231418.GA30932@redhat.com \
    --to=berrange@redhat.com \
    --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.