From 85a924af30f31a4f701ee6f18d84dd27aa02f47b Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Tue, 13 Aug 2013 00:02:18 +0200 Subject: [PATCH] isapc: disable kvmvapic vapic requires the VAPIC ROM to be mapped into RAM. This is not possible without PAM hardware. This fixes a segmentation fault running with -M isapc. Cc: qemu-stable@nongnu.org Signed-off-by: Paolo Bonzini (crobinso: s/kvmvapic/vapic/g) Signed-off-by: Cole Robinson --- hw/i386/pc_piix.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c index 28216ee..2f2cb4d 100644 --- a/hw/i386/pc_piix.c +++ b/hw/i386/pc_piix.c @@ -795,7 +795,11 @@ static QEMUMachine isapc_machine = { .init = pc_init_isa, .max_cpus = 1, .compat_props = (GlobalProperty[]) { - { /* end of list */ } + { + .driver = "apic-common", + .property = "vapic", + .value = "off", + }, }, DEFAULT_MACHINE_OPTIONS, };