summaryrefslogtreecommitdiffstats
path: root/hw/i386/pc_piix.c
diff options
context:
space:
mode:
authorGerd Hoffmann2018-06-13 14:29:46 +0200
committerGerd Hoffmann2018-06-18 11:22:15 +0200
commit94692dcd71473622f3a14416dae67e73e7e733ec (patch)
treeadc2fd6448b166c2c39fdd234450cd290d9f3f9d /hw/i386/pc_piix.c
parenthw/display: add ramfb, a simple boot framebuffer living in guest ram (diff)
downloadqemu-94692dcd71473622f3a14416dae67e73e7e733ec.tar.gz
qemu-94692dcd71473622f3a14416dae67e73e7e733ec.tar.xz
qemu-94692dcd71473622f3a14416dae67e73e7e733ec.zip
hw/display: add standalone ramfb device
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Tested-by: Laszlo Ersek <lersek@redhat.com> Message-id: 20180613122948.18149-3-kraxel@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/i386/pc_piix.c')
-rw-r--r--hw/i386/pc_piix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index 3b87f3cedb..e9b6f064fb 100644
--- a/hw/i386/pc_piix.c
+++ b/hw/i386/pc_piix.c
@@ -28,6 +28,7 @@
#include "hw/loader.h"
#include "hw/i386/pc.h"
#include "hw/i386/apic.h"
+#include "hw/display/ramfb.h"
#include "hw/smbios/smbios.h"
#include "hw/pci/pci.h"
#include "hw/pci/pci_ids.h"
@@ -423,6 +424,7 @@ static void pc_i440fx_machine_options(MachineClass *m)
m->desc = "Standard PC (i440FX + PIIX, 1996)";
m->default_machine_opts = "firmware=bios-256k.bin";
m->default_display = "std";
+ machine_class_allow_dynamic_sysbus_dev(m, TYPE_RAMFB_DEVICE);
}
static void pc_i440fx_3_0_machine_options(MachineClass *m)