mirror of https://gitee.com/openkylin/libvirt.git
26 lines
800 B
XML
26 lines
800 B
XML
<domain type='qemu'>
|
|
<name>foo</name>
|
|
<uuid>3c7c30b5-7866-4b05-8a29-efebccba52a0</uuid>
|
|
<memory unit='KiB'>2097152</memory>
|
|
<currentMemory unit='KiB'>2097152</currentMemory>
|
|
<vcpu placement='static' cpuset='0-1'>2</vcpu>
|
|
<os>
|
|
<type arch='x86_64' machine='pc-1.2'>hvm</type>
|
|
<boot dev='hd'/>
|
|
</os>
|
|
<clock offset='utc'/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
|
<controller type='pci' index='0' model='pci-root'>
|
|
<pcihole64 unit='KiB'>1048576</pcihole64>
|
|
</controller>
|
|
<controller type='usb' index='0'/>
|
|
<input type='mouse' bus='ps2'/>
|
|
<input type='keyboard' bus='ps2'/>
|
|
<memballoon model='virtio'/>
|
|
</devices>
|
|
</domain>
|