[libvirt] [PATCH] qemu: allow 32 slots on pcie-expander-bus, not just 1

Martin Kletzander mkletzan at redhat.com
Wed Oct 5 16:25:57 UTC 2016


On Wed, Oct 05, 2016 at 11:34:13AM -0400, Laine Stump wrote:
>When I added support for the pcie-expander-bus controller in commit
>bc07251f, I incorrectly thought that it only had a single slot
>available. Actually it has 32 slots, just like the root complex aka
>pcie-root (the part that I *did* get correct is that unlike pcie-root
>a pcie-expander-bus doesn't allow any integrated endpoint devices -
>only pcie-root-ports and dmi-to-pci-controllers are allowed).
>---
> src/conf/domain_addr.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>

ACK, works for me.  But the message when the slot is exceeded (without
your patch, I just wanted to try everything) is really bad:

  error: XML error: Invalid PCI address 0000:03:01.0. slot must be <= 0

Anyway, that's not related to this fix =)

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20161005/43fbaaac/attachment-0001.sig>


More information about the libvir-list mailing list