]> git.proxmox.com Git - pve-qemu.git/blame - debian/patches/pve/0005-PVE-Config-smm_available-false.patch
update submodule and patches for 4.2.0
[pve-qemu.git] / debian / patches / pve / 0005-PVE-Config-smm_available-false.patch
CommitLineData
23102ed6 1From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
95259824 2From: Alexandre Derumier <aderumier@odiso.com>
6402d961
TL
3Date: Tue, 10 Mar 2020 12:55:02 +0100
4Subject: [PATCH 05/32] PVE: [Config] smm_available = false
95259824
WB
5
6Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
b855dce7 7Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
95259824
WB
8---
9 hw/i386/pc.c | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/hw/i386/pc.c b/hw/i386/pc.c
6402d961 13index ac08e63604..4bd9ab52a0 100644
95259824
WB
14--- a/hw/i386/pc.c
15+++ b/hw/i386/pc.c
6402d961 16@@ -2040,7 +2040,7 @@ bool pc_machine_is_smm_enabled(PCMachineState *pcms)
95259824
WB
17 if (tcg_enabled() || qtest_enabled()) {
18 smm_available = true;
19 } else if (kvm_enabled()) {
20- smm_available = kvm_has_smm();
21+ smm_available = false;
22 }
23
24 if (smm_available) {