]> git.proxmox.com Git - qemu-server.git/commitdiff
qemu 3.0 : add hv_synic && hv_stimer hyperv enlightment
authorAlexandre Derumier <aderumier@odiso.com>
Fri, 31 Aug 2018 13:43:01 +0000 (15:43 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 17 Sep 2018 11:40:28 +0000 (13:40 +0200)
This fix cpu bug on last win10 updates

PVE/QemuServer.pm

index 015f8f7c0dffdd20a03fbfc8f6c706a917fa4e3e..f908175478184a5586a5c07b4dc8e43b3718b099 100644 (file)
@@ -6692,6 +6692,11 @@ sub add_hyperv_enlightenments {
 
     if ($winversion >= 7) {
        push @$cpuFlags , 'hv_relaxed';
+
+       if (qemu_machine_feature_enabled ($machine_type, $kvmver, 3, 0)) {
+           push @$cpuFlags , 'hv_synic';
+           push @$cpuFlags , 'hv_stimer';
+       }
     }
 }