Displaying 3 results from an estimated 3 matches for "pci_cirrus_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
2005 May 27
0
[PATCH] ioemu: enable Cirrus VGA emulation
...bochs_bios_init();
-#endif
if (linux_boot) {
uint8_t bootsect[512];
@@ -508,9 +508,6 @@
register_ioport_write(0xf0, 1, 1, ioportF0_write, NULL);
-#ifdef NOBIOS
- cirrus_vga_enabled = 0;
-#endif
if (cirrus_vga_enabled) {
if (pci_enabled) {
pci_cirrus_vga_init(pci_bus,
Only in xeno-unstable.mine/tools/ioemu/hw: pc.c.orig
diff -ru xeno-unstable.orig/tools/ioemu/hw/vga.c xeno-unstable.mine/tools/ioemu/hw/vga.c
--- xeno-unstable.orig/tools/ioemu/hw/vga.c 2005-05-19 23:15:49.000000000 -0400
+++ xeno-unstable.mine/tools/ioemu/hw/vga.c 2005-05-27 15:34:51.000...
2012 Jan 24
2
[PATCH 26/28] pci: convert to QEMU Object Model
...+ .vmsd = &vmstate_bonito,
+ .no_user = 1,
+ .class_init = bonito_class_init,
};
static SysBusDeviceInfo bonito_pcihost_info = {
diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c
index 1d0aadf..3fac2ee 100644
--- a/hw/cirrus_vga.c
+++ b/hw/cirrus_vga.c
@@ -2935,8 +2935,8 @@ static int pci_cirrus_vga_initfn(PCIDevice *dev)
{
PCICirrusVGAState *d = DO_UPCAST(PCICirrusVGAState, dev, dev);
CirrusVGAState *s = &d->cirrus_vga;
- PCIDeviceInfo *info = DO_UPCAST(PCIDeviceInfo, qdev, qdev_get_info(&dev->qdev));
- int16_t device_id = info->device_id;
+ PCIDeviceClass...