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).
46 lines
1.3 KiB
XML
46 lines
1.3 KiB
XML
<domain type='xen'>
|
|
<name>XenGuest2</name>
|
|
<uuid>c7a5fdb2-cdaf-9455-926a-d65c16db1809</uuid>
|
|
<os>
|
|
<type>hvm</type>
|
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
|
<boot dev='cdrom'/>
|
|
</os>
|
|
<currentMemory unit='KiB'>403456</currentMemory>
|
|
<memory unit='KiB'>592896</memory>
|
|
<vcpu placement='static'>1</vcpu>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>restart</on_crash>
|
|
<features>
|
|
<pae/>
|
|
<acpi/>
|
|
<apic/>
|
|
</features>
|
|
<clock offset='utc' adjustment='reset'/>
|
|
<devices>
|
|
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
|
|
<disk type='block' device='disk'>
|
|
<driver name='phy'/>
|
|
<source dev='/dev/HostVG/XenGuest2'/>
|
|
<target dev='hda' bus='ide'/>
|
|
</disk>
|
|
<disk type='file' device='cdrom'>
|
|
<driver name='file'/>
|
|
<source file='/root/boot.iso'/>
|
|
<target dev='hdc' bus='ide'/>
|
|
<readonly/>
|
|
</disk>
|
|
<interface type='bridge'>
|
|
<mac address='00:16:3e:66:92:9c'/>
|
|
<source bridge='xenbr1'/>
|
|
<script path='vif-bridge'/>
|
|
</interface>
|
|
<input type='tablet'/>
|
|
<input type='mouse' bus='ps2'/>
|
|
<graphics type='vnc' port='-1' listen='127.0.0.1' passwd='123poi'>
|
|
<listen type='address' address='127.0.0.1'/>
|
|
</graphics>
|
|
</devices>
|
|
</domain>
|