https://docs.openstack.org/admin-guide/compute-cpu-topologies.html
extra_specs | {"hw:cpu_policy": "dedicated",..........
libvirt.xml
<cputune>
<shares>2048</shares>
<emulatorpin cpuset="2,7"/>
<vcpupin vcpu="0" cpuset="2"/>
<vcpupin vcpu="1" cpuset="7"/>
</cputune>