deployment: libvirt: remove pci, bus, controllers

Some of the entries are invalid when changing the machine type, which is the
next commit to follow this one.

Libvirt will fill these things in correctly for the specified hardware.

Related-Bug: #1790716

Change-Id: I674657cca117563de0c0ff04231224198623d3dd
Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com>
This commit is contained in:
Michel Thebeau 2018-09-06 17:44:05 -04:00
parent e56cbd7890
commit 10daff0c34
2 changed files with 0 additions and 44 deletions

View File

@ -32,34 +32,18 @@
<backingStore/> <backingStore/>
<target dev='sda' bus='sata'/> <target dev='sda' bus='sata'/>
<boot order='1'/> <boot order='1'/>
<alias name='sata0-0-0'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk> </disk>
<disk type='file' device='disk'> <disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/> <driver name='qemu' type='qcow2'/>
<source file='DISK1'/> <source file='DISK1'/>
<backingStore/> <backingStore/>
<target dev='sdb' bus='sata'/> <target dev='sdb' bus='sata'/>
<alias name='sata0-0-1'/>
<address type='drive' controller='0' bus='0' target='0' unit='1'/>
</disk> </disk>
<controller type='usb' index='0'>
<alias name='usb'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='pci' index='0' model='pci-root'>
<alias name='pci.0'/>
</controller>
<controller type='sata' index='0'>
<alias name='sata0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</controller>
<interface type='bridge'> <interface type='bridge'>
<source bridge='%BR1%'/> <source bridge='%BR1%'/>
<target dev='vnet8'/> <target dev='vnet8'/>
<model type='e1000'/> <model type='e1000'/>
<alias name='net0'/> <alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
</interface> </interface>
<interface type='bridge'> <interface type='bridge'>
<source bridge='%BR2%'/> <source bridge='%BR2%'/>
@ -67,21 +51,18 @@
<model type='e1000'/> <model type='e1000'/>
<boot order='2'/> <boot order='2'/>
<alias name='net1'/> <alias name='net1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</interface> </interface>
<interface type='bridge'> <interface type='bridge'>
<source bridge='%BR3%'/> <source bridge='%BR3%'/>
<target dev='vnet10'/> <target dev='vnet10'/>
<model type='virtio'/> <model type='virtio'/>
<alias name='net2'/> <alias name='net2'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</interface> </interface>
<interface type='bridge'> <interface type='bridge'>
<source bridge='%BR4%'/> <source bridge='%BR4%'/>
<target dev='vnet11'/> <target dev='vnet11'/>
<model type='virtio'/> <model type='virtio'/>
<alias name='net3'/> <alias name='net3'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
</interface> </interface>
<serial type='pty'> <serial type='pty'>
<source path='/dev/pts/12'/> <source path='/dev/pts/12'/>
@ -101,11 +82,9 @@
<video> <video>
<model type='cirrus' vram='16384' heads='1'/> <model type='cirrus' vram='16384' heads='1'/>
<alias name='video0'/> <alias name='video0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video> </video>
<memballoon model='virtio'> <memballoon model='virtio'>
<alias name='balloon0'/> <alias name='balloon0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
</memballoon> </memballoon>
</devices> </devices>
<seclabel type='dynamic' model='apparmor' relabel='yes'> <seclabel type='dynamic' model='apparmor' relabel='yes'>

View File

@ -32,16 +32,12 @@
<backingStore/> <backingStore/>
<target dev='sda' bus='sata'/> <target dev='sda' bus='sata'/>
<boot order='1'/> <boot order='1'/>
<alias name='sata0-0-0'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk> </disk>
<disk type='file' device='disk'> <disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/> <driver name='qemu' type='qcow2'/>
<source file='DISK1'/> <source file='DISK1'/>
<backingStore/> <backingStore/>
<target dev='sdb' bus='sata'/> <target dev='sdb' bus='sata'/>
<alias name='sata0-0-1'/>
<address type='drive' controller='0' bus='0' target='0' unit='1'/>
</disk> </disk>
<disk type='file' device='cdrom'> <disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/> <driver name='qemu' type='raw'/>
@ -50,26 +46,12 @@
<target dev='sdc' bus='sata'/> <target dev='sdc' bus='sata'/>
<readonly/> <readonly/>
<boot order='2'/> <boot order='2'/>
<alias name='sata0-0-2'/>
<address type='drive' controller='0' bus='0' target='0' unit='2'/>
</disk> </disk>
<controller type='usb' index='0'>
<alias name='usb'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='pci' index='0' model='pci-root'>
<alias name='pci.0'/>
</controller>
<controller type='sata' index='0'>
<alias name='sata0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</controller>
<interface type='bridge'> <interface type='bridge'>
<source bridge='%BR1%'/> <source bridge='%BR1%'/>
<target dev='vnet0'/> <target dev='vnet0'/>
<model type='e1000'/> <model type='e1000'/>
<alias name='net0'/> <alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
</interface> </interface>
<interface type='bridge'> <interface type='bridge'>
<source bridge='%BR2%'/> <source bridge='%BR2%'/>
@ -77,21 +59,18 @@
<model type='e1000'/> <model type='e1000'/>
<boot order='3'/> <boot order='3'/>
<alias name='net1'/> <alias name='net1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</interface> </interface>
<interface type='bridge'> <interface type='bridge'>
<source bridge='%BR3%'/> <source bridge='%BR3%'/>
<target dev='vnet2'/> <target dev='vnet2'/>
<model type='virtio'/> <model type='virtio'/>
<alias name='net2'/> <alias name='net2'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</interface> </interface>
<interface type='bridge'> <interface type='bridge'>
<source bridge='%BR4%'/> <source bridge='%BR4%'/>
<target dev='vnet3'/> <target dev='vnet3'/>
<model type='virtio'/> <model type='virtio'/>
<alias name='net3'/> <alias name='net3'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
</interface> </interface>
<serial type='pty'> <serial type='pty'>
<source path='/dev/pts/8'/> <source path='/dev/pts/8'/>
@ -111,11 +90,9 @@
<video> <video>
<model type='cirrus' vram='16384' heads='1'/> <model type='cirrus' vram='16384' heads='1'/>
<alias name='video0'/> <alias name='video0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video> </video>
<memballoon model='virtio'> <memballoon model='virtio'>
<alias name='balloon0'/> <alias name='balloon0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
</memballoon> </memballoon>
</devices> </devices>
<seclabel type='dynamic' model='apparmor' relabel='yes'> <seclabel type='dynamic' model='apparmor' relabel='yes'>