mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-01-10 01:18:01 +03:00
add +sep cpuflags to kvm32 && kvm64 cpu models
Need for win8 boot. This flag was missing from rhel < 6.4 host kernel. It's ok now. But it's also missing from kvm64 model. (It's exist in other cpu models, amd or intel). So it's pretty safe to enable it. If the host kernel is older, qemu filter the flag. This also improve performance of winxp && win7 32 bits guests. Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
519ed28c96
commit
2e1a5389f7
@ -2398,6 +2398,8 @@ sub config_to_command {
|
||||
|
||||
push @$cpuFlags , '+x2apic' if !$nokvm;
|
||||
|
||||
push @$cpuFlags, '+sep' if $cpu eq 'kvm64' || $cpu eq 'kvm32';
|
||||
|
||||
$cpu .= ",".join(',', @$cpuFlags) if scalar(@$cpuFlags);
|
||||
|
||||
push @$cmd, '-cpu', $cpu;
|
||||
|
Loading…
Reference in New Issue
Block a user