Re: [libvirt] [PATCH] Fix the initialization of the number of sockets

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

 



On 03/09/2010 10:34 AM, Stefan Berger wrote:
> When starting a VM 3 times, on the 3rd time the number of sockets is
> completely out of control. Initialize the socket numbers to zero so the
> cpu affinity does not occur due to max cpus being completely out of
> range and the VM can start.

ACK.  However, are there any of the other fields that also need
initialization to known values?  I see nothing setting nodeinfo->model,
nodeinfo->memory, nodeinfo->threads.  In particular, it looks like
nodeinfo->threads is read uninitialized in the same function.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
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]