[libvirt-users] help about migration with libvirt

Eric Blake eblake at redhat.com
Tue Dec 3 16:00:27 UTC 2013


On 12/03/2013 12:52 AM, Nicolas Sebrecht wrote:

> This is about CPU affinity. You may look at CPU pinning with 'vcpupin'
> in the manual of virsh. It is possible to enable vCPU pinning in libvirt
> guest XML.
> 
> Don't know if libvirt supports applying CPU affinity at guest runtime

Yes, 'virsh vcpupin' can be used to change CPU affinity at runtime.

> but you could do it with usual tools (taskset, htop, etc).

Going behind libvirt's back may lead to unexpected surprises.  Also,
preferring the libvirt interfaces for changing CPU affinity gives you
better flexibility of changing things even when using remote URIs (you
don't have to open separate ssh sessions to the remote machines to run
secondary tools).

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20131203/aa64a2bd/attachment.sig>


More information about the libvirt-users mailing list