Reputation: 3619
I have been trying to run a VM on some particular cpu cores. Now the thing is I can set cpuset with virt-install and that will reflect in VM's XML and it will define the affinity. But what about cpuset.cpus? That is inherited directly from the parent. Is there any way to set it when launching the VM? I mean, when I give the command virt-install, is there any option that can set cpuset.cpus dynamically?
Upvotes: 0
Views: 717
Reputation: 1080
virt-install
doesn't support pinning particular VCPUs to host's CPUs. For this you have to use:
virt-manager
virsh edit <domain>
and set the pinning according to CPU tuning optionsUpvotes: 1