[libvirt] [PATCH RESEND RFC v4 1/6] Introduce the function virCgroupForVcpu

Eric Blake eblake at redhat.com
Thu Jul 21 16:26:27 UTC 2011


On 07/21/2011 09:25 AM, Adam Litke wrote:
>> We need to remember to update the VM cgroup if we change the
>> number of vCPUs on a running guest of course
>
> When can this happen?  Does libvirt support cpu hotplug?

Libvirt - yes, via virDomainSetVcpusFlags and similar API.  Hypervisors 
- different story.  Xen supports it, and at one point, qemu used to, but 
the qemu implementation was so buggy that current qemu does not support 
cpu hotplug.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org




More information about the libvir-list mailing list