Revision 499cf102 hw/vga-pci.c
b/hw/vga-pci.c | ||
---|---|---|
125 | 125 |
{ |
126 | 126 |
PCIDevice *dev; |
127 | 127 |
|
128 |
dev = pci_create_noinit(bus, -1, "VGA");
|
|
128 |
dev = pci_create(bus, -1, "VGA"); |
|
129 | 129 |
qdev_prop_set_uint32(&dev->qdev, "bios-offset", vga_bios_offset); |
130 | 130 |
qdev_prop_set_uint32(&dev->qdev, "bios-size", vga_bios_offset); |
131 | 131 |
qdev_init(&dev->qdev); |
Also available in: Unified diff