]> git.proxmox.com Git - pve-qemu-kvm.git/blame - debian/patches/0001-smm_available-false.patch
Two more fixes
[pve-qemu-kvm.git] / debian / patches / 0001-smm_available-false.patch
CommitLineData
99688f7f
AD
1From 4a1e7790e45da3b0dae61bd483b37556bae338ee Mon Sep 17 00:00:00 2001
2From: Alexandre Derumier <aderumier@odiso.com>
3Date: Tue, 29 Sep 2015 15:37:44 +0200
4Subject: [PATCH] smm_available = false
5
6Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
7---
8 hw/i386/pc.c | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/hw/i386/pc.c b/hw/i386/pc.c
12index 7661ea9..5529dc8 100644
13--- a/hw/i386/pc.c
14+++ b/hw/i386/pc.c
15@@ -1842,7 +1842,7 @@ bool pc_machine_is_smm_enabled(PCMachineState *pcms)
16 if (tcg_enabled() || qtest_enabled()) {
17 smm_available = true;
18 } else if (kvm_enabled()) {
19- smm_available = kvm_has_smm();
20+ smm_available = false;
21 }
22
23 if (smm_available) {
24--
252.1.4
26