mirror of
https://github.com/qemu/qemu.git
synced 2024-11-27 22:03:35 +08:00
mips-fulong2e: obey -vga none
Do not create an ATI VGA if "-vga none" was passed on the command line. Cc: BALATON Zoltan <balaton@eik.bme.hu> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
6fa5171f4f
commit
78c37d88f1
@ -349,10 +349,12 @@ static void mips_fulong2e_init(MachineState *machine)
|
||||
&smbus, &isa_bus);
|
||||
|
||||
/* GPU */
|
||||
if (vga_interface_type != VGA_NONE) {
|
||||
dev = DEVICE(pci_create(pci_bus, -1, "ati-vga"));
|
||||
qdev_prop_set_uint32(dev, "vgamem_mb", 16);
|
||||
qdev_prop_set_uint16(dev, "x-device-id", 0x5159);
|
||||
qdev_init_nofail(dev);
|
||||
}
|
||||
|
||||
/* Populate SPD eeprom data */
|
||||
spd_data = spd_data_generate(DDR, ram_size, &err);
|
||||
|
Loading…
Reference in New Issue
Block a user