15.18. Configuring Virtual CPU Affinity
You can use virsh to configure the affinity of virtuals CPUs with physical CPUs:
virsh vcpupin [domain-id | domain-name | domain-uuid] [vcpu] , [cpulist]
Where [vcpu] is the virtual VCPU number and [cpulist] lists the physical number of CPUs.