[libvirt] [RFC PATCH v1 0/4] Add cpu hotplug support to libvirt.

2012-09-03 Thread Tang Chen
It seems that libvirt is not cpu hotplug aware. Please refer to the following problem. 1. At first, we have 2 cpus. # cat /cgroup/cpuset/cpuset.cpus 0-1 # cat /cgroup/cpuset/libvirt/qemu/cpuset.cpus 0-1 2. And we have a vm1 with following configuration. cputune vcpupin vcpu='0'

Re: [libvirt] [RFC PATCH v1 0/4] Add cpu hotplug support to libvirt.

2012-09-03 Thread Viktor Mihajlovski
On 09/03/2012 08:06 AM, Tang Chen wrote: It seems that libvirt is not cpu hotplug aware. Please refer to the following problem. 1. At first, we have 2 cpus. # cat /cgroup/cpuset/cpuset.cpus 0-1 # cat /cgroup/cpuset/libvirt/qemu/cpuset.cpus 0-1 2. And we have a vm1 with following configuration.

Re: [libvirt] [RFC PATCH v1 0/4] Add cpu hotplug support to libvirt.

2012-09-03 Thread Tang Chen
On 09/03/2012 04:42 PM, Viktor Mihajlovski wrote: Hi, this approach requires that libvirtd keeps running through the entire lifecycle of a guest. That is something that cannot be safely assumed and therefore hotplug events can be missed. That means that libvirt must synchronize the hypervisors