From: Markus Armbruster <armbru@redhat.com>
To: qemu-devel@nongnu.org
Cc: alevy@redhat.com, kraxel@redhat.com
Subject: [Qemu-devel] [PATCH v2 1/2] isa-vga: Make available with -device, like the other VGA qdevs
Date: Tue, 7 Jun 2011 10:34:30 +0200 [thread overview]
Message-ID: <1307435671-28431-2-git-send-email-armbru@redhat.com> (raw)
In-Reply-To: <1307435671-28431-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 b362871..fd41c15 100644
--- a/vl.c
+++ b/vl.c
@@ -289,6 +289,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
next prev parent reply other threads:[~2011-06-07 8:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-07 8:34 [Qemu-devel] [PATCH v2 0/2] qdev-device-use.txt update & trivial bonus fixes Markus Armbruster
2011-06-07 8:34 ` Markus Armbruster [this message]
2011-06-07 8:34 ` [Qemu-devel] [PATCH v2 2/2] docs: qdev-device-use.txt has become stale, update it Markus Armbruster
2011-06-07 15:18 ` [Qemu-devel] [PATCH v2 0/2] qdev-device-use.txt update & trivial bonus fixes Gerd Hoffmann
2011-06-07 19:18 ` Anthony Liguori
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=1307435671-28431-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).