Revision 281a26b1

b/hw/pc_piix.c
230 230
            .driver   = "virtio-9p-pci",
231 231
            .property = "vectors",
232 232
            .value    = stringify(0),
233
        },{
234
            .driver   = "VGA",
235
            .property = "rombar",
236
            .value    = stringify(0),
237
        },{
238
            .driver   = "vmware-svga",
239
            .property = "rombar",
240
            .value    = stringify(0),
233 241
        },
234 242
        { /* end of list */ }
235 243
    },
......
249 257
            .driver   = "virtio-serial-pci",
250 258
            .property = "vectors",
251 259
            .value    = stringify(0),
260
        },{
261
            .driver   = "VGA",
262
            .property = "rombar",
263
            .value    = stringify(0),
264
        },{
265
            .driver   = "vmware-svga",
266
            .property = "rombar",
267
            .value    = stringify(0),
252 268
        },
253 269
        { /* end of list */ }
254 270
    }
b/hw/vga-pci.c
92 92
     pci_register_bar(&d->dev, 0, VGA_RAM_SIZE,
93 93
                      PCI_BASE_ADDRESS_MEM_PREFETCH, vga_map);
94 94

  
95
     if (!dev->rom_bar) {
96
         /* compatibility with pc-0.13 and older */
97
         vga_init_vbe(s);
98
     }
99

  
95 100
     return 0;
96 101
}
97 102

  
b/hw/vmware_vga.c
1301 1301

  
1302 1302
    vmsvga_init(&s->chip, VGA_RAM_SIZE);
1303 1303

  
1304
    if (!dev->rom_bar) {
1305
        /* compatibility with pc-0.13 and older */
1306
        vga_init_vbe(&s->chip.vga);
1307
    }
1308

  
1304 1309
    return 0;
1305 1310
}
1306 1311

  

Also available in: Unified diff