diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2018-07-03 20:10:43 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-07-07 12:12:27 +1000 |
commit | 3232794bcb77940dd7167abb8cc72897883523f6 (patch) | |
tree | ade545656e2f964d90085a69de57682d1326ce98 /hw/ppc/mac_oldworld.c | |
parent | 43a473993fd9378bf850dcafa68eb6dee8c300f8 (diff) | |
download | qemu-3232794bcb77940dd7167abb8cc72897883523f6.zip qemu-3232794bcb77940dd7167abb8cc72897883523f6.tar.gz qemu-3232794bcb77940dd7167abb8cc72897883523f6.tar.bz2 |
ppc: fix default VGA display for Mac machines
Commit 29f9cef39e "ppc: Include vga cirrus card into the compiling process"
changed the default display adapter for all PPC machines to cirrus. Unfortunately
it missed setting the default display type to stdvga for both Mac machines
causing the display to fail to initialise under OpenBIOS.
Update the MachineClass for both Old World and New World Macs so that the
default std(vga) display adapter is the default if no options are specified
which fixes the display for the Mac machines.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/ppc/mac_oldworld.c')
-rw-r--r-- | hw/ppc/mac_oldworld.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ppc/mac_oldworld.c b/hw/ppc/mac_oldworld.c index 06ed6f6..064d7eb 100644 --- a/hw/ppc/mac_oldworld.c +++ b/hw/ppc/mac_oldworld.c @@ -383,6 +383,7 @@ static void heathrow_class_init(ObjectClass *oc, void *data) mc->default_boot_order = "cd"; mc->kvm_type = heathrow_kvm_type; mc->default_cpu_type = POWERPC_CPU_TYPE_NAME("750_v3.1"); + mc->default_display = "std"; } static const TypeInfo ppc_heathrow_machine_info = { |