diff options
Diffstat (limited to 'hw/vga-pci.c')
-rw-r--r-- | hw/vga-pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vga-pci.c b/hw/vga-pci.c index 479ffb1c96..234d5812e4 100644 --- a/hw/vga-pci.c +++ b/hw/vga-pci.c @@ -119,7 +119,7 @@ int pci_vga_init(PCIBus *bus, dev = pci_create(bus, -1, "VGA"); qdev_prop_set_uint32(&dev->qdev, "bios-offset", vga_bios_offset); - qdev_prop_set_uint32(&dev->qdev, "bios-size", vga_bios_offset); + qdev_prop_set_uint32(&dev->qdev, "bios-size", vga_bios_size); qdev_init_nofail(&dev->qdev); return 0; |