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

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



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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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