mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-02 13:14:11 +00:00
followup: move hv_tlbflush under 3.1 machine feature guard
while it really should not pose an issue for live migrations lets be on the safe side and also add this only with 3.1 or later machines Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
392dfbf51e
commit
0b05530b56
@ -7175,11 +7175,8 @@ sub add_hyperv_enlightenments {
|
||||
push @$cpuFlags , 'hv_stimer';
|
||||
}
|
||||
|
||||
if (qemu_machine_feature_enabled ($machine_type, $kvmver, 3, 0)) {
|
||||
push @$cpuFlags , 'hv_tlbflush';
|
||||
}
|
||||
|
||||
if (qemu_machine_feature_enabled ($machine_type, $kvmver, 3, 1)) {
|
||||
push @$cpuFlags , 'hv_tlbflush';
|
||||
push @$cpuFlags , 'hv_ipi';
|
||||
push @$cpuFlags , 'hv_evmcs';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user