Bug 2222009 - Warn when PCIe devices are plugged into non-zero slot of a downstream PCIe port
Summary: Warn when PCIe devices are plugged into non-zero slot of a downstream PCIe port
Keywords:
Status: POST
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: qemu-kvm
Version: 9.3
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: Ani Sinha
QA Contact: Yiqian Wei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-11 13:46 UTC by Ani Sinha
Modified: 2023-07-28 20:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-162074 0 None None None 2023-07-12 02:13:04 UTC

Description Ani Sinha 2023-07-11 13:46:27 UTC
Please see description in BZ 2128929.

The following combination is illegal as the address 0x2.0x5 is invalid on a pcie root port:

-device '{"driver":"pcie-root-port","port":21,"chassis":6,"id":"pci.6","bus":"pcie.0","addr":"0x2.0x5"}' \

{"execute":"device_add","arguments":{"driver":"virtio-net-pci","netdev":"hostnet1","mac":"00:11:22:33:44:03","id": "net1","bus":"pci.6","addr":"0x2.0x5"}}

Add a warning to let users know they are using an invalid configuration. 

This has already been fixed upstream with this commit:

https://gitlab.com/qemu-project/qemu/-/commit/ca92eb5defcf9d1c2106341744a73a03cf26e824

We can test this bug when we rebase QEMU to version 8.1 or above and mark it as fixed upon rebase.


Note You need to log in before you can comment on or make changes to this bug.