mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-26 23:55:23 +00:00
ffda44030a
This makes it possible to enable stable NIC device names in most modern Linux distros. Reviewed-by: Peter Krempa <pkrempa@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
63 lines
2.0 KiB
XML
63 lines
2.0 KiB
XML
<domain type='qemu'>
|
|
<name>fdr-br</name>
|
|
<uuid>3ec6cbe1-b5a2-4515-b800-31a61855df41</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-i440fx-5.0'>hvm</type>
|
|
<boot dev='hd'/>
|
|
</os>
|
|
<features>
|
|
<acpi/>
|
|
<apic/>
|
|
<pae/>
|
|
</features>
|
|
<clock offset='utc'/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>restart</on_crash>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
|
<disk type='file' device='disk'>
|
|
<driver name='qemu' type='raw'/>
|
|
<source file='/var/lib/libvirt/images/test.img'/>
|
|
<target dev='vda' bus='virtio'/>
|
|
<acpi index='1'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
|
|
</disk>
|
|
<disk type='file' device='disk'>
|
|
<driver name='qemu' type='raw'/>
|
|
<source file='/var/lib/libvirt/images/test1.img'/>
|
|
<target dev='vdb' bus='virtio'/>
|
|
<acpi index='42'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
|
|
</disk>
|
|
<interface type='user'>
|
|
<mac address='00:11:22:33:44:55'/>
|
|
<acpi index='100'/>
|
|
<model type='virtio'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='00:11:22:33:44:55'/>
|
|
<acpi index='200'/>
|
|
<model type='virtio'/>
|
|
</interface>
|
|
<interface type='user'>
|
|
<mac address='00:11:22:33:44:55'/>
|
|
<acpi index='300'/>
|
|
<model type='virtio'/>
|
|
</interface>
|
|
<input type='mouse' bus='ps2'/>
|
|
<input type='keyboard' bus='ps2'/>
|
|
<video>
|
|
<model type='cirrus' vram='16384' heads='1'/>
|
|
<acpi index='1729'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
|
</video>
|
|
<memballoon model='virtio'>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
|
|
</memballoon>
|
|
</devices>
|
|
</domain>
|