Displaying 2 results from an estimated 2 matches for "pci_vga_init".
2008 Dec 12
22
Disabling cirrus-vga
Hi xen developers,
Does any of you know how to disable the cirrus-vga emulation for hvm in xen?
I have been trying to disable that from the source codes, but even with
that, I still see a VGA controller when I boot up my guest domain. In
particular, I would like to do this because I am passing through a graphics
card to my guest domain using direct pass through.
Thanks,
- billy
2012 Jan 24
2
[PATCH 26/28] pci: convert to QEMU Object Model
...ile_pci_host",
+ .size = sizeof(PCIDevice),
+ .class_init = versatile_pci_host_class_init,
};
static void versatile_pci_register_devices(void)
diff --git a/hw/vga-pci.c b/hw/vga-pci.c
index a75dbf3..ef9f8a5 100644
--- a/hw/vga-pci.c
+++ b/hw/vga-pci.c
@@ -75,18 +75,23 @@ DeviceState *pci_vga_init(PCIBus *bus)
return &pci_create_simple(bus, -1, "VGA")->qdev;
}
-static PCIDeviceInfo vga_info = {
- .qdev.name = "VGA",
- .qdev.size = sizeof(PCIVGAState),
- .qdev.vmsd = &vmstate_vga_pci,
- .no_hotplug = 1,
- .init = pci_vga...