mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-08 22:39:56 +00:00
30 lines
850 B
XML
30 lines
850 B
XML
|
<domain type='qemu'>
|
||
|
<name>guest</name>
|
||
|
<uuid>1ccfd97d-5eb4-478a-bbe6-88d254c16db7</uuid>
|
||
|
<memory unit='KiB'>1048576</memory>
|
||
|
<vcpu placement='static'>1</vcpu>
|
||
|
<os>
|
||
|
<type arch='x86_64' machine='q35'>hvm</type>
|
||
|
</os>
|
||
|
<devices>
|
||
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||
|
<disk type='file' device='disk'>
|
||
|
<driver name='qemu' type='qcow2'/>
|
||
|
<source file='/var/lib/libvirt/images/guest.qcow2'/>
|
||
|
<target dev='vda' bus='virtio'/>
|
||
|
</disk>
|
||
|
<interface type='user'>
|
||
|
<mac address='52:54:00:09:a4:37'/>
|
||
|
<model type='virtio'/>
|
||
|
</interface>
|
||
|
<serial type='pty'/>
|
||
|
<channel type='unix'>
|
||
|
<target type='virtio' name='org.qemu.guest_agent.0'/>
|
||
|
</channel>
|
||
|
<memballoon model='virtio'/>
|
||
|
<rng model='virtio'>
|
||
|
<backend model='random'/>
|
||
|
</rng>
|
||
|
</devices>
|
||
|
</domain>
|