Oracle Linux KVM provides a command line utility “virsh”, from which users can generate the list of active virtual machines running on the server host.
# virsh --readonly list
Id Name State
-----------------------
10 Node1 running
# virsh --readonly vcpuinfo Node1 –pretty
VCPU: 0
CPU: 10
State: running
CPU time: 35.0s
CPU Affinity: 0-15 (out of 72)
…
…
VCPU: 15
CPU: 13
State: running
CPU time: 16.4s
CPU Affinity: 0-15 (out of 72)
The commands indicate that a VM named Node1 is configured with 16 vCPUs and the vCPUs can span from core0 to core15. This means that the vCPUs for this VM are not pinned to physical cores.