summaryrefslogtreecommitdiff
path: root/tizen/src/hw/maru_board.c
diff options
context:
space:
mode:
Diffstat (limited to 'tizen/src/hw/maru_board.c')
-rw-r--r--tizen/src/hw/maru_board.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/tizen/src/hw/maru_board.c b/tizen/src/hw/maru_board.c
index 760dd4b441..ea5798c4dd 100644
--- a/tizen/src/hw/maru_board.c
+++ b/tizen/src/hw/maru_board.c
@@ -48,6 +48,13 @@ static void maru_x86_board_init(MachineState *machine)
maru_device_init();
}
+#define HAX_HW_COMPAT_2_6 \
+ {\
+ .driver = "virtio-pci",\
+ .property = "disable-modern",\
+ .value = "on",\
+ },
+
static void maru_x86_machine_options(MachineClass *m)
{
m->family = "pc_piix";
@@ -60,6 +67,9 @@ static void maru_x86_machine_options(MachineClass *m)
m->no_cdrom = 1;
m->no_sdcard = 1;
m->default_boot_order = "c";
+#ifdef CONFIG_HAX
+ SET_MACHINE_COMPAT(m, HAX_HW_COMPAT_2_6);
+#endif
}
DEFINE_PC_MACHINE(maru, "maru-x86-machine", maru_x86_board_init,