Re: [PATCH 3/3] xen: clean up the mess with cpumap

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

 



On 02/11/2013 07:07 PM, Eric Blake wrote:
> Commit 8b55992f added some Coverity comments to silence what was
> a real bug in the code.  Since then, we've had a miserable run
> of trying to fix the underlying problem (commits c059cde and
> ba5193c), and still have a problem on 32-bit machines.
> 
> This fixes the problem for once and for all, by realizing that
> on older xen, cpumap_t is identical to uint64_t, and using the
> new virendian.h to do the transformation from the API (documented
> to be little-endian) to the host structure.
> 
> * src/xen/xen_hypervisor.c (virXen_setvcpumap): Do the conversion
> correctly.  Finally.
> ---
>  src/xen/xen_hypervisor.c | 16 ++++++----------
>  1 file changed, 6 insertions(+), 10 deletions(-)
> 

ACK

--
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]