mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-08 14:29:56 +00:00
52 lines
1.6 KiB
XML
52 lines
1.6 KiB
XML
|
<domain type='qemu'>
|
||
|
<name>q35-test</name>
|
||
|
<uuid>11dbdcdd-4c3b-482b-8903-9bdb8c0a2774</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='q35'>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/libexec/qemu-kvm</emulator>
|
||
|
<controller type='virtio-serial'/>
|
||
|
<controller type='scsi' model='virtio-scsi'/>
|
||
|
<controller type='usb' model='nec-xhci'/>
|
||
|
<disk type='block' device='disk'>
|
||
|
<source dev='/dev/HostVG/QEMUGuest1'/>
|
||
|
<target dev='vdb' bus='virtio'/>
|
||
|
</disk>
|
||
|
<filesystem type='mount'>
|
||
|
<source dir='/export/to/guest'/>
|
||
|
<target dir='/import/from/host'/>
|
||
|
</filesystem>
|
||
|
<video>
|
||
|
<model type='virtio'/>
|
||
|
</video>
|
||
|
<interface type='user'>
|
||
|
<mac address='00:11:22:33:44:55'/>
|
||
|
<model type='virtio'/>
|
||
|
</interface>
|
||
|
<interface type='user'>
|
||
|
<mac address='00:11:22:33:44:66'/>
|
||
|
<model type='e1000e'/>
|
||
|
</interface>
|
||
|
<memballoon model='virtio'/>
|
||
|
<rng model='virtio'>
|
||
|
<rate bytes='123' period='1234'/>
|
||
|
<backend model='random'>/dev/urandom</backend>
|
||
|
</rng>
|
||
|
<input type='passthrough' bus='virtio'>
|
||
|
<source evdev='/dev/input/event1234'/>
|
||
|
</input>
|
||
|
<input type='mouse' bus='virtio'/>
|
||
|
<input type='keyboard' bus='virtio'/>
|
||
|
<input type='tablet' bus='virtio'/>
|
||
|
</devices>
|
||
|
</domain>
|