mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-01-25 06:03:52 +03:00
enable hv_vapic hyperv enlightment
works fine now with rhel 7.1 kernel https://bugzilla.redhat.com/show_bug.cgi?id=1091818 (It's wasn't working on newer intel xeon) Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
8f3f959d46
commit
8a054ffd81
@ -2865,9 +2865,10 @@ sub config_to_command {
|
||||
$ost eq 'wvista') {
|
||||
push @$globalFlags, 'kvm-pit.lost_tick_policy=discard';
|
||||
push @$cmd, '-no-hpet';
|
||||
#push @$cpuFlags , 'hv_vapic" if !$nokvm; #fixme, my win2008R2 hang at boot with this
|
||||
if (qemu_machine_feature_enabled ($machine_type, $kvmver, 2, 3)) {
|
||||
push @$cpuFlags , 'hv_spinlocks=0x1fff' if !$nokvm;
|
||||
push @$cpuFlags , 'hv_vapic' if !$nokvm;
|
||||
|
||||
} else {
|
||||
push @$cpuFlags , 'hv_spinlocks=0xffff' if !$nokvm;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user