[libvirt-users] Re: help about migration with libvirt

Nicolas Sebrecht nsebrecht at piing.fr
Tue Dec 3 07:52:55 UTC 2013


The 03/12/13, lei yang wrote:
>    Hi experts
> 
>    I want to use libvirt doing the migration

Basically, migration allows moving a VM from host to another.

>    migration the guest from core 0 to core 2, Is there a way to do this ? any
>    points?

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
but you could do it with usual tools (taskset, htop, etc).

-- 
Nicolas Sebrecht




More information about the libvirt-users mailing list