ppc: Include vga cirrus card into the compiling process
Drivers for this card exists on PPC-based AmigaOS guests so it is useful to allow users to emulate the graphics card for PPC machines. As cirrus vga is currently preferred over std(vga) in absence of any user choice, this change also sets the default display of spapr machines to std as otherwise qemu refuses to start these machines. Not specifying an explicit graphics mode is for instance done by 'make check'. Signed-off-by: Sebastian Bauer <mail@sebastianbauer.info> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
0123d3cbb0
commit
29f9cef39e
|
@ -29,6 +29,7 @@ CONFIG_IDE_SII3112=y
|
||||||
CONFIG_I2C=y
|
CONFIG_I2C=y
|
||||||
CONFIG_BITBANG_I2C=y
|
CONFIG_BITBANG_I2C=y
|
||||||
CONFIG_M41T80=y
|
CONFIG_M41T80=y
|
||||||
|
CONFIG_VGA_CIRRUS=y
|
||||||
|
|
||||||
# For Macs
|
# For Macs
|
||||||
CONFIG_MAC=y
|
CONFIG_MAC=y
|
||||||
|
|
|
@ -3962,6 +3962,7 @@ static void spapr_machine_class_init(ObjectClass *oc, void *data)
|
||||||
mc->no_parallel = 1;
|
mc->no_parallel = 1;
|
||||||
mc->default_boot_order = "";
|
mc->default_boot_order = "";
|
||||||
mc->default_ram_size = 512 * M_BYTE;
|
mc->default_ram_size = 512 * M_BYTE;
|
||||||
|
mc->default_display = "std";
|
||||||
mc->kvm_type = spapr_kvm_type;
|
mc->kvm_type = spapr_kvm_type;
|
||||||
machine_class_allow_dynamic_sysbus_dev(mc, TYPE_SPAPR_PCI_HOST_BRIDGE);
|
machine_class_allow_dynamic_sysbus_dev(mc, TYPE_SPAPR_PCI_HOST_BRIDGE);
|
||||||
mc->pci_allow_0_address = true;
|
mc->pci_allow_0_address = true;
|
||||||
|
|
Loading…
Reference in a new issue