From a94f0c5ca2f0e3dba4a64f40c9d2e1149017d81d Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Wed, 10 Sep 2014 14:28:48 +0200 Subject: 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 Signed-off-by: Gerd Hoffmann --- hw/pci/pci.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hw/pci') diff --git a/hw/pci/pci.c b/hw/pci/pci.c index 750f3da..2158043 100644 --- a/hw/pci/pci.c +++ b/hw/pci/pci.c @@ -1698,6 +1698,8 @@ PCIDevice *pci_vga_init(PCIBus *bus) return pci_create_simple(bus, -1, "VGA"); case VGA_VMWARE: return pci_create_simple(bus, -1, "vmware-svga"); + case VGA_VIRTIO: + return pci_create_simple(bus, -1, "virtio-vga"); case VGA_NONE: default: /* Other non-PCI types. Checking for unsupported types is already done in vl.c. */ -- cgit v1.1