mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-02 21:14:59 +00:00
enable cpu enforce
It wasn't working with 2.6.32, now that 3.10 kernel is the default, we can enable it. It's help to be sure that all cpu flags are supported by host && qemu, to be sure that nothing break Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
0da5a08cb4
commit
6a33d44a91
@ -2917,9 +2917,7 @@ sub config_to_command {
|
||||
|
||||
$cpu .= "," . join(',', @$cpuFlags) if scalar(@$cpuFlags);
|
||||
|
||||
# Note: enforce needs kernel 3.10, so we do not use it for now
|
||||
# push @$cmd, '-cpu', "$cpu,enforce";
|
||||
push @$cmd, '-cpu', $cpu;
|
||||
push @$cmd, '-cpu', "$cpu,enforce";
|
||||
|
||||
my $memory = $conf->{memory} || $defaults->{memory};
|
||||
my $static_memory = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user