mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-05 22:36:37 +00:00
enable hv_time hyperv-v enlightment
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
8a054ffd81
commit
cfac0be43d
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user