aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2011-06-07 10:34:30 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2011-06-07 13:52:10 -0500
commit0826c7105aea1d3fd5d4448dee6e63f5d3ee2cff (patch)
treefca9c33d0f36764b8847603fd1a9426dd403914f
parenta16c53b101a9897b0b2be96a1bb3bde7c04380f2 (diff)
isa-vga: Make available with -device, like the other VGA qdevs
Switch no_user off and make it suppress the default VGA. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--hw/vga-isa.c1
-rw-r--r--vl.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/hw/vga-isa.c b/hw/vga-isa.c
index fde0d56fd3..245841f18b 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 11f6386101..04b4a20ecc 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)