mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-08 16:54:49 +00:00
<vcpu> is not an optional node. The value for its 'placement' actually always defaults to 'static' in the underlying codes. (Even no 'cpuset' and 'placement' is specified, the domain process will be pinned to all the available pCPUs).
29 lines
796 B
XML
29 lines
796 B
XML
<domain type='vmware'>
|
|
<uuid>00000000-0000-0000-0000-000000000000</uuid>
|
|
<memory unit='KiB'>32768</memory>
|
|
<currentMemory unit='KiB'>32768</currentMemory>
|
|
<vcpu placement='static'>1</vcpu>
|
|
<os>
|
|
<type arch='i686'>hvm</type>
|
|
</os>
|
|
<clock offset='utc'/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<devices>
|
|
<serial type='tcp'>
|
|
<source mode='bind' host='0.0.0.0' service='42001'/>
|
|
<protocol type='telnets'/>
|
|
<target port='0'/>
|
|
</serial>
|
|
<console type='tcp'>
|
|
<source mode='bind' host='0.0.0.0' service='42001'/>
|
|
<protocol type='telnets'/>
|
|
<target type='serial' port='0'/>
|
|
</console>
|
|
<video>
|
|
<model type='vmvga' vram='4096'/>
|
|
</video>
|
|
</devices>
|
|
</domain>
|