add the zeroinit block driver filter
[pve-qemu-kvm.git] / debian / patches / old / 0001-smm_available-false.patch
blob8e4d6de81779606b561733f30201e37ebf9823ad
1 From 4a1e7790e45da3b0dae61bd483b37556bae338ee 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] 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 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;
23 if (smm_available) {
24 --
25 2.1.4