KVM - Get the CPU Pinning Settings for a Guest

See Pin a CPU


virsh vcpupin VM_ID

returns:

 VCPU   CPU Affinity
----------------------
 0      0-23
 1      0-23

NOTE: This result indicates guest has access to 2 vCPUs but I didn't pin anything, so any of the actual 24 cores could process this.