fixme : hv_apic seem to hang boot on my win2008R2. Don't known if we can enable it after install or if we need to install windows first with hv_apic enable.(missing driver or something like that)
Signed-off-by: Alexandre Derumier <[email protected]> --- PVE/QemuServer.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index ff8883d..7d52605 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -2364,6 +2364,12 @@ 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 + push @$cpuFlags , 'hv_spinlocks=0xffff' if !$nokvm; + } + + if ($ost eq 'win7' || $ost eq 'win8') { + push @$cpuFlags , 'hv_relaxed' if !$nokvm; } } -- 1.7.10.4 _______________________________________________ pve-devel mailing list [email protected] http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
