mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-30 18:03:32 +00:00
9d6e56dbce
Add a "dry run" address allocation to figure out how many bridges will be needed for all the devices without explicit addresses. Auto-add just enough bridges to put all the devices on, or up to the bridge with the largest specified index.
211 lines
6.5 KiB
XML
211 lines
6.5 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-1.2'>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/libexec/qemu-kvm</emulator>
|
|
<disk type='file' device='cdrom'>
|
|
<driver name='qemu' type='raw'/>
|
|
<source file='/var/iso/f18kde.iso'/>
|
|
<target dev='hdc' bus='ide'/>
|
|
<readonly/>
|
|
<address type='drive' controller='0' bus='1' target='0' unit='0'/>
|
|
</disk>
|
|
<controller type='usb' index='0'>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
|
|
</controller>
|
|
<controller type='ide' index='0'>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
|
|
</controller>
|
|
<controller type='pci' index='0' model='pci-root'/>
|
|
<controller type='pci' index='1' model='pci-bridge'/>
|
|
<controller type='pci' index='2' model='pci-bridge'/>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:f1:95:51'/>
|
|
<source network='default'/>
|
|
<model type='rtl8139'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:5c:c6:1a'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:39:97:ac'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:45:28:cb'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:ee:b9:a8'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:a9:f7:17'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:df:2b:f3'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:78:94:b4'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:6b:9b:06'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:17:df:bc'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:3b:d0:51'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:8d:2d:17'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:a7:66:af'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:54:ab:d7'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:1f:99:90'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:c8:43:87'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:df:22:b2'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:d2:9a:47'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:86:05:e2'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:8c:1c:c2'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:48:58:92'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:99:e5:bf'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:b1:8c:25'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:60:e0:d0'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:37:00:6a'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:c7:c8:ad'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:4e:a7:cf'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:00:79:69'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:47:00:6f'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:2a:8c:8b'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:ec:d5:e3'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:7e:6e:c8'/>
|
|
<source network='default'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<input type='mouse' bus='ps2'/>
|
|
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'>
|
|
<listen type='address' address='127.0.0.1'/>
|
|
</graphics>
|
|
<video>
|
|
<model type='cirrus' vram='9216' heads='1'/>
|
|
<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>
|