qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: qemu-devel@nongnu.org
Cc: alevy@redhat.com, kraxel@redhat.com
Subject: [Qemu-devel] [PATCH 1/3] isa-vga: Make available with -device, like the other VGA qdevs
Date: Wed, 18 May 2011 14:30:45 +0200	[thread overview]
Message-ID: <1305721847-29269-2-git-send-email-armbru@redhat.com> (raw)
In-Reply-To: <1305721847-29269-1-git-send-email-armbru@redhat.com>

Switch no_user off and make it suppress the default VGA.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 hw/vga-isa.c |    1 -
 vl.c         |    1 +
 2 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/vga-isa.c b/hw/vga-isa.c
index fde0d56..245841f 100644
--- a/hw/vga-isa.c
+++ b/hw/vga-isa.c
@@ -77,7 +77,6 @@ static ISADeviceInfo vga_info = {
     .qdev.size     = sizeof(ISAVGAState),
     .qdev.vmsd     = &vmstate_vga_common,
     .qdev.reset     = vga_reset_isa,
-    .qdev.no_user  = 1,
     .init          = vga_initfn,
 };
 
diff --git a/vl.c b/vl.c
index bffba69..9b0577b 100644
--- a/vl.c
+++ b/vl.c
@@ -286,6 +286,7 @@ static struct {
     { .driver = "VGA",                  .flag = &default_vga       },
     { .driver = "cirrus-vga",           .flag = &default_vga       },
     { .driver = "vmware-svga",          .flag = &default_vga       },
+    { .driver = "isa-vga",              .flag = &default_vga       },
 };
 
 static int default_driver_check(QemuOpts *opts, void *opaque)
-- 
1.7.2.3

  reply	other threads:[~2011-05-18 12:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-18 12:30 [Qemu-devel] [PATCH 0/3] qdev-device-use.txt update & trivial bonus fixes Markus Armbruster
2011-05-18 12:30 ` Markus Armbruster [this message]
2011-05-18 12:30 ` [Qemu-devel] [PATCH 2/3] qxl: Fix -device qxl-vga to suppress the default VGA Markus Armbruster
2011-05-18 12:30 ` [Qemu-devel] [PATCH 3/3] docs: qdev-device-use.txt has become stale, update it Markus Armbruster

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=1305721847-29269-2-git-send-email-armbru@redhat.com \
    --to=armbru@redhat.com \
    --cc=alevy@redhat.com \
    --cc=kraxel@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 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).