Friday, May 14, 2010

Virtualization: Displaying Virtual CPU Information

Click Here For Free Windows Downloads
mywindowsdownloads.blogspot.com

Click here for all Free Linux Downloads



Blog address for Linux in Hindi

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]


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.


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]

Note that the new count cannot exceed the amount you specified when you created the Virtual Machine.

No comments:

Post a Comment