[libvirt] [PATCH 3/3] cgroup: fix libvirtd crash caused by messed memory

2012-08-31 Thread Guannan Ren
The variable max_id is initialized again in the step of getting cpu mapping variable map2. But in the next for loop we still expect original value of max_id, the bug will crash libvirtd when using on NUMA machine with big number of cpus. --- src/qemu/qemu_driver.c | 11 +++ 1 file

Re: [libvirt] [PATCH 3/3] cgroup: fix libvirtd crash caused by messed memory

2012-08-31 Thread Daniel Veillard
On Fri, Aug 31, 2012 at 05:22:59PM +0800, Guannan Ren wrote: The variable max_id is initialized again in the step of getting cpu mapping variable map2. But in the next for loop we still expect original value of max_id, the bug will crash libvirtd when using on NUMA machine with big number of