Re: [PATCH v3 2/2] qemu: add hv_vapic and hv_spinlocks support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]