enable hv_time hyperv-v enlightment

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
Alexandre Derumier 2015-03-16 05:57:44 +01:00 committed by Dietmar Maurer
parent 8a054ffd81
commit cfac0be43d

View File

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