Blame 0102-isapc-disable-kvmvapic.patch
|
|
298366 |
From 85a924af30f31a4f701ee6f18d84dd27aa02f47b 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
|
|
|
298366 |
index 28216ee..2f2cb4d 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 |
};
|