From 71a1e5680bd1d4fec17dd618949e8c6cbcede0e1 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 25 Jun 2019 14:32:05 +0200 Subject: [PATCH] add_hyperv_enlightenments: do not add hv_evmcs for now at all as Windows VMs on hosts with AMD CPUs do not start at all with that... Signed-off-by: Thomas Lamprecht --- PVE/QemuServer.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 8339e29..bf71210 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -7178,7 +7178,8 @@ sub add_hyperv_enlightenments { if (qemu_machine_feature_enabled ($machine_type, $kvmver, 3, 1)) { push @$cpuFlags , 'hv_tlbflush'; push @$cpuFlags , 'hv_ipi'; - push @$cpuFlags , 'hv_evmcs'; + # FIXME: AMD does not supports this currently, only add with special flag?? + #push @$cpuFlags , 'hv_evmcs'; } } } -- 2.39.2