mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-10-18 20:31:43 +00:00
fix: start kvm with os type other
this check is necessary, because we do not set ostype in qemu config when type is other Seem that x2apic is now enabled by default when kvm is used since this commit http://git.qemu.org/?p=qemu.git;a=commit;h=ef02ef5f4536dba090b12360a6c862ef0e57e3bc So we just need to disable it for solaris
This commit is contained in:
parent
7f9e28e45c
commit
d853f40aef
@ -2877,9 +2877,8 @@ sub config_to_command {
|
||||
|
||||
push @$cpuFlags , '+lahf_lm' if $cpu eq 'kvm64';
|
||||
|
||||
push @$cpuFlags , '+x2apic' if !$nokvm && $conf->{ostype} ne 'solaris';
|
||||
|
||||
push @$cpuFlags , '-x2apic' if $conf->{ostype} eq 'solaris';
|
||||
push @$cpuFlags , '-x2apic'
|
||||
if $conf->{ostype} && $conf->{ostype} eq 'solaris';
|
||||
|
||||
push @$cpuFlags, '+sep' if $cpu eq 'kvm64' || $cpu eq 'kvm32';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user