qemu: support new pci controller model "pcie-root-port"

This is backed by the qemu device ioh3420.

chassis and port from the <target> subelement are used to store/set the
respective qemu device options for the ioh3420. Currently, chassis is
set to be the index of the controller, and port is set to
"(slot << 3) + function" (per suggestion from Alex Williamson).
This commit is contained in:
Laine Stump
2015-06-17 13:27:57 -04:00
parent dce3b8beb3
commit 16328520f6
5 changed files with 136 additions and 0 deletions

View File

@@ -568,6 +568,7 @@ mymain(void)
DO_TEST_DIFFERENT("pcie-root");
DO_TEST_DIFFERENT("q35");
DO_TEST("pcie-root-port");
DO_TEST("pcie-root-port-too-many");
DO_TEST("hostdev-scsi-lsi");
DO_TEST("hostdev-scsi-virtio-scsi");