various CVE fixes
[pve-qemu-kvm.git] / debian / patches / pve / 0029-smm_available-false.patch
bloba0a1593ec2abcda659e64f3717b3c27cefded684
1 From 3aebb3903e61b8ceb7f0d302f8dfddfe7195c10e Mon Sep 17 00:00:00 2001
2 From: Alexandre Derumier <aderumier@odiso.com>
3 Date: Tue, 29 Sep 2015 15:37:44 +0200
4 Subject: [PATCH 29/55] smm_available = false
6 Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
7 ---
8 hw/i386/pc.c | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
11 diff --git a/hw/i386/pc.c b/hw/i386/pc.c
12 index 1225a99..ceae96c 100644
13 --- a/hw/i386/pc.c
14 +++ b/hw/i386/pc.c
15 @@ -1839,7 +1839,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;
23 if (smm_available) {
24 --
25 2.1.4