aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorSebastian Bauer <mail@sebastianbauer.info>2018-07-02 21:13:45 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2018-07-03 11:23:09 +1000
commit29f9cef39eb1ae55e82c6763eb22d7a1bdff7276 (patch)
tree43e2b0db07ae7c5bc2d7bf4966ab324f0b2de2a8 /hw
parent0123d3cbb06600e0624fdbf2255055d9cffe9c28 (diff)
downloadqemu-29f9cef39eb1ae55e82c6763eb22d7a1bdff7276.zip
qemu-29f9cef39eb1ae55e82c6763eb22d7a1bdff7276.tar.gz
qemu-29f9cef39eb1ae55e82c6763eb22d7a1bdff7276.tar.bz2
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>
Diffstat (limited to 'hw')
-rw-r--r--hw/ppc/spapr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index 062d9dc..6e8723d 100644
--- a/hw/ppc/spapr.c
+++ b/hw/ppc/spapr.c
@@ -3962,6 +3962,7 @@ static void spapr_machine_class_init(ObjectClass *oc, void *data)
mc->no_parallel = 1;
mc->default_boot_order = "";
mc->default_ram_size = 512 * M_BYTE;
+ mc->default_display = "std";
mc->kvm_type = spapr_kvm_type;
machine_class_allow_dynamic_sysbus_dev(mc, TYPE_SPAPR_PCI_HOST_BRIDGE);
mc->pci_allow_0_address = true;