mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-01-24 02:04:10 +03:00
get_cpu_options: reuse ostype variable
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
a52692609c
commit
9a9ba5f857
@ -3477,8 +3477,7 @@ sub get_cpu_options {
|
||||
|
||||
push @$cpuFlags , '+lahf_lm' if $cpu eq 'kvm64' && $arch eq 'x86_64';
|
||||
|
||||
push @$cpuFlags , '-x2apic'
|
||||
if $conf->{ostype} && $conf->{ostype} eq 'solaris';
|
||||
push @$cpuFlags , '-x2apic' if $ostype && $ostype eq 'solaris';
|
||||
|
||||
push @$cpuFlags, '+sep' if $cpu eq 'kvm64' || $cpu eq 'kvm32';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user