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 >> >> https://bugzilla.redhat.com/show_bug.cgi?id=784836 >> --- Jan [1] http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=18673 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list