mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 11:51:11 +00:00
d70f2e117a
<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).
35 lines
1005 B
XML
35 lines
1005 B
XML
<domain type='xen' id='1'>
|
|
<name>s10u4</name>
|
|
<uuid>fde0533d-d043-88c6-dfba-4822fa32f309</uuid>
|
|
<memory unit='KiB'>1048576</memory>
|
|
<currentMemory unit='KiB'>1048576</currentMemory>
|
|
<vcpu placement='static'>1</vcpu>
|
|
<os>
|
|
<type>hvm</type>
|
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
|
<boot dev='hd'/>
|
|
</os>
|
|
<features>
|
|
<pae/>
|
|
</features>
|
|
<clock offset='utc' adjustment='reset'/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>restart</on_crash>
|
|
<devices>
|
|
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
|
|
<interface type='ethernet'>
|
|
<target dev='vif1.0'/>
|
|
<mac address='00:16:3e:3b:b9:d7'/>
|
|
<script path='vif-vnic'/>
|
|
</interface>
|
|
<disk type='block' device='disk'>
|
|
<driver name='phy'/>
|
|
<source dev='/dev/zvol/dsk/export/s10u4-root'/>
|
|
<target dev='hda' bus='ide'/>
|
|
</disk>
|
|
<input type='mouse' bus='ps2'/>
|
|
<graphics type='vnc' port='-1' keymap='en-us'/>
|
|
</devices>
|
|
</domain>
|