<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi all,</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>I have been trying to use cpuset with virt-install. I am using the following command:</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;"><span style="background-color: rgb(255, 255,
 255);"><span style="font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;">$ virt-install --virt-type kvm --name Ubuntu13 --ram 1024 --cdrom=/home/peeyush/Downloads/ubuntu-13.04-desktop-i386.iso --cpuset=0,2 --disk path=/var/lib/libvirt/guest.qcow2,size=10,format=qcow2</span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span><span style="font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px; background-color: rgb(238, 238, 238);"><br></span></span></div><div style="color: rgb(0, 0, 0); font-size: 14px; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background-color: transparent; font-style: normal;">Now, according to virt-install man page, my VM's cpu affinity should be set to pcpu 0 and 2 . But when I did virsh
 vcpuinfo $VM, it shows that the affinity is to all cpus. I checked the xml file of my VM and it has the cpuset attribute, but still my VM is running on all cpus.</div><div></div><div> </div><div><span style="color: rgb(158, 143, 169); font-size: 12pt;">~Peeyush Gupta</span></div></div></body></html>