2018-02-19 12:38:54 +03:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2017-04-05 11:49:19 +03:00
|
|
|
From: Alexandre Derumier <aderumier@odiso.com>
|
2020-04-07 17:53:19 +03:00
|
|
|
Date: Mon, 6 Apr 2020 12:16:34 +0200
|
|
|
|
Subject: [PATCH] PVE: [Config] smm_available = false
|
2017-04-05 11:49:19 +03:00
|
|
|
|
|
|
|
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
|
2019-06-06 13:58:15 +03:00
|
|
|
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
|
2017-04-05 11:49:19 +03:00
|
|
|
---
|
2020-04-07 17:53:19 +03:00
|
|
|
hw/i386/x86.c | 2 +-
|
2017-04-05 11:49:19 +03:00
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2020-04-07 17:53:19 +03:00
|
|
|
diff --git a/hw/i386/x86.c b/hw/i386/x86.c
|
|
|
|
index b82770024c..bd05b3c79a 100644
|
|
|
|
--- a/hw/i386/x86.c
|
|
|
|
+++ b/hw/i386/x86.c
|
|
|
|
@@ -896,7 +896,7 @@ bool x86_machine_is_smm_enabled(X86MachineState *x86ms)
|
2017-04-05 11:49:19 +03:00
|
|
|
if (tcg_enabled() || qtest_enabled()) {
|
|
|
|
smm_available = true;
|
|
|
|
} else if (kvm_enabled()) {
|
|
|
|
- smm_available = kvm_has_smm();
|
|
|
|
+ smm_available = false;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (smm_available) {
|