Re: RHBZ 1013045: Crash on xen domain startup

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

 



On 10/30/2013 11:38 AM, Jeremy Fitzhardinge wrote:

>     libxl: fix dubious cpumask handling in libxlDomainSetVcpuAffinities
>   
>     Rather than casting the virBitmap pointer to uint8_t* and then using
>     the structure contents as a byte array, use the virBitmap API to
> determine
>     the bitmap size and test each bit.

Hmm, we already have virBitmapToData for converting from a virBitmap to
a uint8_t; using that would be much faster for populating cpumap than
doing a per-bit iteration over cpumask.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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