mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-04 02:29:57 +00:00
add kvm_pv_unhalt cpu flag
require pvticketlocks from kernel 3.12 (backported in redhat 3.10 kernel) see: http://lwn.net/Articles/493402/ Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
cfac0be43d
commit
117a041466
@ -2909,6 +2909,11 @@ sub config_to_command {
|
||||
|
||||
push @$cpuFlags, '+sep' if $cpu eq 'kvm64' || $cpu eq 'kvm32';
|
||||
|
||||
if (qemu_machine_feature_enabled ($machine_type, $kvmver, 2, 3)) {
|
||||
|
||||
push @$cpuFlags , '+kvm_pv_unhalt' if !$nokvm;
|
||||
}
|
||||
|
||||
$cpu .= "," . join(',', @$cpuFlags) if scalar(@$cpuFlags);
|
||||
|
||||
# Note: enforce needs kernel 3.10, so we do not use it for now
|
||||
|
Loading…
Reference in New Issue
Block a user