[pve-devel] [PATCH 4/7] enable hv_time hyperv-v enlightment

Alexandre Derumier aderumier at odiso.com
Mon Mar 16 05:57:44 CET 2015


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 PVE/QemuServer.pm |    1 +
 1 file changed, 1 insertion(+)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 3189958..a4ea225 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -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;
-- 
1.7.10.4




More information about the pve-devel mailing list