<vcpu>
Specifies the number of virtual CPUs for a virtual server.
Text content
Natural number specifying the maximum number of available virtual CPUs.Selected attributes
- current
- Optional; specifies the number of virtual CPUs available at startup.
The value of the current attribute is limited by the maximum number of available virtual CPUs. If you do not specify the current attribute, the maximum number of virtual CPUs is available at startup.
Usage
Configuring virtual CPUsParent elements
<domain>Child elements
None.Example
<domain type="kvm">
<name>vserv1</name>
<memory>524288</memory>
<vcpu current="2">5</vcpu>
....
</domain>