[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC PATCH 1/4] I440: Allow adding sysbus devices with -dev
From: |
Lan Tianyu |
Subject: |
[Qemu-devel] [RFC PATCH 1/4] I440: Allow adding sysbus devices with -device on I440 |
Date: |
Fri, 17 Mar 2017 19:29:14 +0800 |
From: Chao Gao <address@hidden>
xen-viommu will be a sysbus device and the device model will
be enabled via "-device" parameter.
Signed-off-by: Chao Gao <address@hidden>
Signed-off-by: Lan Tianyu <address@hidden>
---
hw/i386/pc_piix.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index a07dc81..3289593 100644
--- a/hw/i386/pc_piix.c
+++ b/hw/i386/pc_piix.c
@@ -436,6 +436,7 @@ static void pc_i440fx_machine_options(MachineClass *m)
m->hot_add_cpu = pc_hot_add_cpu;
m->default_machine_opts = "firmware=bios-256k.bin";
m->default_display = "std";
+ m->has_dynamic_sysbus = true;
}
static void pc_i440fx_2_7_machine_options(MachineClass *m)
--
1.8.3.1