]> Git Repo - qemu.git/blobdiff - hw/display/vga-isa.c
virtio-gpu: add sanity check
[qemu.git] / hw / display / vga-isa.c
index 469834add5f9d61df4a3e37891c1fb302124c4b3..fa44242e0dd43f882599d204beb27616bd0de699 100644 (file)
@@ -58,7 +58,8 @@ static void vga_isa_realizefn(DeviceState *dev, Error **errp)
     MemoryRegion *vga_io_memory;
     const MemoryRegionPortio *vga_ports, *vbe_ports;
 
-    vga_common_init(s, OBJECT(dev), true);
+    s->global_vmstate = true;
+    vga_common_init(s, OBJECT(dev));
     s->legacy_address_space = isa_address_space(isadev);
     vga_io_memory = vga_init_io(s, OBJECT(dev), &vga_ports, &vbe_ports);
     isa_register_portio_list(isadev, &d->portio_vga,
This page took 0.022806 seconds and 4 git commands to generate.