]> git.proxmox.com Git - pve-qemu-kvm.git/commitdiff
qemu :disable smm support
authorAlexandre Derumier <aderumier@odiso.com>
Wed, 30 Sep 2015 07:24:01 +0000 (09:24 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 30 Sep 2015 07:33:42 +0000 (09:33 +0200)
kernel 4.2 and qemu 2.4 machine introduce support for SMM
(system management support).

this is needed to manage uefi inside guest.

But it seem to hang on a lot of servers.

So for now, disable the feature in qemu side.

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
debian/patches/0001-smm_available-false.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/0001-smm_available-false.patch b/debian/patches/0001-smm_available-false.patch
new file mode 100644 (file)
index 0000000..8e4d6de
--- /dev/null
@@ -0,0 +1,26 @@
+From 4a1e7790e45da3b0dae61bd483b37556bae338ee Mon Sep 17 00:00:00 2001
+From: Alexandre Derumier <aderumier@odiso.com>
+Date: Tue, 29 Sep 2015 15:37:44 +0200
+Subject: [PATCH] smm_available = false
+
+Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
+---
+ hw/i386/pc.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/hw/i386/pc.c b/hw/i386/pc.c
+index 7661ea9..5529dc8 100644
+--- a/hw/i386/pc.c
++++ b/hw/i386/pc.c
+@@ -1842,7 +1842,7 @@ bool pc_machine_is_smm_enabled(PCMachineState *pcms)
+     if (tcg_enabled() || qtest_enabled()) {
+         smm_available = true;
+     } else if (kvm_enabled()) {
+-        smm_available = kvm_has_smm();
++        smm_available = false;
+     }
+     if (smm_available) {
+-- 
+2.1.4
+
index 882caf38fcacd62443ad38c81600803c8b94d0cb..85f7a46069094a716edb5f901ffd5a247dad97c2 100644 (file)
@@ -31,4 +31,5 @@ glusterfs-daemonize.patch
 gluster-backupserver.patch
 add-qmp-get-link-status.patch
 jemalloc.patch
-mirror-fix-coroutine-reentrance.patch
\ No newline at end of file
+mirror-fix-coroutine-reentrance.patch
+0001-smm_available-false.patch