[pve-devel] [PATCH 3/7] enable hv_vapic hyperv enlightment
Alexandre Derumier
aderumier at odiso.com
Mon Mar 16 05:57:43 CET 2015
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 at odiso.com>
---
PVE/QemuServer.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 6f0586b..3189958 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -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;
}
--
1.7.10.4
More information about the pve-devel
mailing list