Specifications

ID Name State
————————————————
0 Domain0 running
1 Domain202 paused
2 Domain010 inactive
3 Domain9600 crashed
Here are the six domain states:
running lists domains currently active on the CPU
blocked lists domains that are blocked
paused lists domains that are suspended
shutdown lists domains that are in process of shutting down
shutoff lists domains that are completely down.
crashed lists domains that are crashed
17. Displaying Virtual CPU Information
You can use virsh to display virtual CPU information from a virtual machine:
virsh vcpuinfo [domain-id | domain-name | domain-uuid]
18. Configuring Virtual CPU Affinity
You can use virsh to configure the affinity of virtuals CPUs with physical CPUs:
virsh vcpupin [domain-id | domain-name | domain-uuid] [vcpu] , [cpulist]
Where [vcpu] is the virtual VCPU number and [cpulist] lists the physical number of CPUs.
19. Configuring Virtual CPU Count
You can use virsh to modify a Virtual Machine's number of CPUs:
virsh setvcpus [domain-name | domain-id | domain-uuid] [count]
Displaying Virtual CPU Information
33