]> git.proxmox.com Git - qemu-server.git/commitdiff
enable hv_time hyperv-v enlightment
authorAlexandre Derumier <aderumier@odiso.com>
Mon, 16 Mar 2015 04:57:44 +0000 (05:57 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 17 Mar 2015 07:56:59 +0000 (08:56 +0100)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
PVE/QemuServer.pm

index 3189958b3f44d72374c7cca3199600f289edea08..a4ea225b5d26ec7a2945e58e76d8d8e50822c5f0 100644 (file)
@@ -2868,6 +2868,7 @@ sub config_to_command {
            if (qemu_machine_feature_enabled ($machine_type, $kvmver, 2, 3)) {
                push @$cpuFlags , 'hv_spinlocks=0x1fff' if !$nokvm;
                push @$cpuFlags , 'hv_vapic' if !$nokvm;
+               push @$cpuFlags , 'hv_time' if !$nokvm;
 
            } else { 
                push @$cpuFlags , 'hv_spinlocks=0xffff' if !$nokvm;