mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-01 06:42:22 +00:00
63 lines
2.0 KiB
XML
63 lines
2.0 KiB
XML
|
<domain type='kvm'>
|
||
|
<name>passtvhostuu</name>
|
||
|
<uuid>d79698e0-46b2-4459-87ee-7c762990dd6e</uuid>
|
||
|
<memory unit='KiB'>16777216</memory>
|
||
|
<currentMemory unit='KiB'>16777216</currentMemory>
|
||
|
<memoryBacking>
|
||
|
<access mode='shared'/>
|
||
|
</memoryBacking>
|
||
|
<vcpu placement='static'>16</vcpu>
|
||
|
<resource>
|
||
|
<partition>/machine</partition>
|
||
|
</resource>
|
||
|
<os>
|
||
|
<type arch='x86_64' machine='pc-i440fx-7.2'>hvm</type>
|
||
|
<boot dev='hd'/>
|
||
|
</os>
|
||
|
<features>
|
||
|
<acpi/>
|
||
|
<apic/>
|
||
|
</features>
|
||
|
<cpu mode='custom' match='exact' check='none'>
|
||
|
<model fallback='forbid'>qemu64</model>
|
||
|
</cpu>
|
||
|
<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>
|
||
|
<disk type='file' device='disk'>
|
||
|
<driver name='qemu' type='raw'/>
|
||
|
<source file='/home/laine/libvirt/images/fedora-34.img'/>
|
||
|
<target dev='vda' bus='virtio'/>
|
||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/>
|
||
|
</disk>
|
||
|
<controller type='pci' index='0' model='pci-root'/>
|
||
|
<controller type='usb' index='0' model='piix3-uhci'>
|
||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
|
||
|
</controller>
|
||
|
<interface type='vhostuser'>
|
||
|
<mac address='52:54:00:21:de:6c'/>
|
||
|
<ip address='10.30.0.5' family='ipv4' prefix='24'/>
|
||
|
<model type='virtio'/>
|
||
|
<backend type='passt'/>
|
||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
||
|
</interface>
|
||
|
<serial type='pty'>
|
||
|
<target type='isa-serial' port='0'>
|
||
|
<model name='isa-serial'/>
|
||
|
</target>
|
||
|
</serial>
|
||
|
<console type='pty'>
|
||
|
<target type='serial' port='0'/>
|
||
|
</console>
|
||
|
<input type='mouse' bus='ps2'/>
|
||
|
<input type='keyboard' bus='ps2'/>
|
||
|
<audio id='1' type='none'/>
|
||
|
<memballoon model='virtio'>
|
||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
|
||
|
</memballoon>
|
||
|
</devices>
|
||
|
</domain>
|