Avi Kivity wrote:
From: Gleb Natapov <[email protected]>

Signed-off-by: Gleb Natapov <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>

diff --git a/bios/rombios32.c b/bios/rombios32.c
index fd6ff71..a0c9572 100755
--- a/bios/rombios32.c
+++ b/bios/rombios32.c
@@ -38,7 +38,7 @@ typedef unsigned long long uint64_t;
 //#define BX_USE_EBDA_TABLES
/* define it if the (emulated) hardware supports SMM mode */
-#define BX_USE_SMM
+//#define BX_USE_SMM

We already disable SMM in acpi.c:piix4_pm_init() by setting the SMM inited bit in the PCI config space for the piix4. It's hackish, but it avoids needing a KVM-specific BIOS.

Regards,

Anthony Liguori

 #define cpuid(index, eax, ebx, ecx, edx) \
   asm volatile ("cpuid" \
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to