
6 Jun
2013
6 Jun
'13
5:19 p.m.
On 06/06/2013 11:01 AM, Peter Krempa wrote:
On 06/05/13 17:50, Ján Tomko wrote:
Add new CPU flags for HyperV: hv_vapic for virtual APIC support hv_spinlocks for spinlock support
XML: <features> <hyperv> <vapic state='on'/> <spinlocks>0xFFFF</spinlocks>
Is the Microsoft documentation for this feature use hex values?
It uses 0xFFFFFFFF as the special value meaning "no retries" [1] QEMU uses hex values too, but it parses the number with strtoul and base 0 (just as we do), meaning decimal and octal values are allowed too.
</hyperv> </features>
results in the following QEMU command line: qemu -cpu <cpu_model>,hv_vapic,hv_spinlocks=0xffff
Jan [1] http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=18673