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

Re: [Xen-devel] [PATCH qemu-trad] Remove all use of xc_{get, set}_hvm_param()



On 31/05/17 18:57, Juergen Gross wrote:
> On 31/05/17 19:47, Andrew Cooper wrote:
>> xc_{get,set}_hvm_param() are problematic because they truncate their values 
>> in
>> a 32bit build.
>>
>> Luckily, this isn't a problem in practice because all values in question
>> should be below 2^32.
>>
>> To expediate the removal of xc_{get,set}_hvm_param() from libxc, switch
>> qemu-trad over to using xc_hvm_param_{get,set}() which don't suffer from
>> truncation issues.
>>
>> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
> cscope tells me qemu upstream is using those, too.

Yeah - Ive just noticed that as well.  I'm seeing how best to fix that.

~Andrew

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.