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