]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: don't allow connecting upstream-port directly to pce-expander-bus
authorLaine Stump <laine@laine.org>
Thu, 4 Aug 2016 17:04:12 +0000 (13:04 -0400)
committerLaine Stump <laine@laine.org>
Wed, 10 Aug 2016 14:26:21 +0000 (10:26 -0400)
commitb70e54342bbd1756234e07ed6b22bdd3cd12b689
treebcb03d9ed002df37b752ace5aeb613a34377d08b
parent10031fe5f218fe0acbf873a3063ce42a02fa83d9
conf: don't allow connecting upstream-port directly to pce-expander-bus

I apparently misunderstood Marcel's description of what could and
couldn't be plugged into qemu's pxb-pcie controller (known as
pcie-expander-bus in libvirt) - I specifically allowed directly
connecting a pcie-switch-upstream-port, and it turns out that causes
the guest kernel to crash.

This patch forbids such a connection, and updates the xml docs
appropriately.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1361172
docs/formatdomain.html.in
src/conf/domain_addr.c