[libvirt] [PATCH] qemu_conf: fix flag value

Eric Blake eblake at redhat.com
Mon May 17 23:09:46 UTC 2010


On 05/17/2010 02:00 PM, Chris Lalancette wrote:
> On 05/12/2010 11:21 PM, Eric Blake wrote:
>> (gdb) p/x QEMUD_CMD_FLAG_VNET_HOST
>> $7 = 0xffffffff80000000
>>
>> Oops - that meant we were incorrectly setting QEMU_CMD_FLAG_RTC_TD_HACK
>> for qemu-kvm-0.12.3 (and probably botching a few other settings as well).
>>
>> * src/qemu/qemu_conf.h (QEMUD_CMD_FLAG_VNET_HOST): Avoid sign
>> extension.
>> * tests/qemuhelpdata/qemu-kvm-0.12.3: New file.
>> * tests/qemuhelptest.c (mymain): Add another case.
>> ---
>>
>> It didn't help that the test was truncating output to 31 bits,
>> and getting confused with sign extension as well.
> 
> Right.  Nice catch, and cleanup of the test as well.
> 
> ACK

Thanks; pushed.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100517/c89c1772/attachment-0001.sig>


More information about the libvir-list mailing list