diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2014-09-10 14:28:48 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2015-06-12 10:13:23 +0200 |
commit | a94f0c5ca2f0e3dba4a64f40c9d2e1149017d81d (patch) | |
tree | fb15f7539713c3b9338854ce188b8bdb86471c39 /hw/isa/isa-bus.c | |
parent | c5d4dac86b61070c078a7b35e25f56d2c8bff508 (diff) |
virtio-vga: add '-vga virtio' support
Some convinience fluff: Add support for '-vga virtio', also add
virtio-vga to the list of vga cards so '-device virtio-vga' will
turn off the default vga.
Written by Dave Airlie and Gerd Hoffmann.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/isa/isa-bus.c')
-rw-r--r-- | hw/isa/isa-bus.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/isa/isa-bus.c b/hw/isa/isa-bus.c index ec8e7decfc..43e0cd8ddd 100644 --- a/hw/isa/isa-bus.c +++ b/hw/isa/isa-bus.c @@ -179,6 +179,9 @@ ISADevice *isa_vga_init(ISABus *bus) case VGA_VMWARE: fprintf(stderr, "%s: vmware_vga: no PCI bus\n", __func__); return NULL; + case VGA_VIRTIO: + fprintf(stderr, "%s: virtio-vga: no PCI bus\n", __func__); + return NULL; case VGA_NONE: default: return NULL; |