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

2010-03-09 Thread Stefan Berger
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. Signed-off-by: Stefan Berger stef...@us.ibm.com diff --git

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

2010-03-09 Thread Eric Blake
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.

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

2010-03-09 Thread Chris Lalancette
On 03/09/2010 01:14 PM, Eric Blake wrote: 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