mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-01-10 01:18:01 +03:00
cpuflags : don't enforce with tcg mode
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
dac7c6190c
commit
f1f7ea886a
@ -2850,7 +2850,7 @@ sub config_to_command {
|
||||
push @$cpuFlags , '+kvm_pv_eoi' if !$nokvm;
|
||||
}
|
||||
|
||||
push @$cpuFlags, 'enforce' if $cpu ne 'host';
|
||||
push @$cpuFlags, 'enforce' if $cpu ne 'host' && !$nokvm;
|
||||
|
||||
$cpu .= "," . join(',', @$cpuFlags) if scalar(@$cpuFlags);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user