mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-14 07:04:43 -05:00
qemu: Use PHBs to fill holes in PCI bus numbering
PCI bus has to be numbered sequentially, and no index can be missing, so libvirt will fill in the blanks automatically for the user. Up until now, it has done so using either pci-bridge, for machine types based on legacy PCI, or pcie-root-port, for machine types based on PCI Express. Neither choice is good for pSeries guests, where PHBs (pci-root) should be used instead. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Laine Stump <laine@laine.org>
This commit is contained in:
@@ -23,10 +23,9 @@
|
||||
<target index='1'/>
|
||||
</controller>
|
||||
<controller type='usb' index='0' model='none'/>
|
||||
<controller type='pci' index='1' model='pci-bridge'>
|
||||
<model name='pci-bridge'/>
|
||||
<target chassisNr='1'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
|
||||
<controller type='pci' index='1' model='pci-root'>
|
||||
<model name='spapr-pci-host-bridge'/>
|
||||
<target index='2'/>
|
||||
</controller>
|
||||
<memballoon model='none'/>
|
||||
<panic model='pseries'/>
|
||||
|
||||
Reference in New Issue
Block a user