[pve-devel] Hyper-V enlightenments with KVM

Dietmar Maurer dietmar at proxmox.com
Wed Jan 21 07:54:51 CET 2015

> From look at the kvm args in the process list I see we have:
>   hv_relaxed,hv_spinlocks=0xffff
> but the current recomendations are:
>   hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time

This is a comment from current code:
        if ($ost eq 'win7' || $ost eq 'win8' || $ost eq 'w2k8' ||
	    $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;

So hv_vapic is known to make problems.

Not sure if we can/should add hv_time?

More information about the pve-devel mailing list