hw/usb/hcd-xhci-pci: Move msi/msix properties from NEC to superclass
authorPhil Dennis-Jordan <phil@philjordan.eu>
Sun, 8 Dec 2024 19:16:42 +0000 (20:16 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 31 Dec 2024 20:21:34 +0000 (21:21 +0100)
commit92270bdff02bc6ba77a091f066576f96d5a96f7b
treedd4caedf10bfbd15f0d8fbaf40fb5ea24475aaf2
parent12ed6aca7ca328a12e235f4daa9824873da60315
hw/usb/hcd-xhci-pci: Move msi/msix properties from NEC to superclass

The NEC XHCI controller exposes the underlying PCI device's msi and
msix properties, but the superclass and thus the qemu-xhci device do
not. There does not seem to be any obvious reason for this limitation.
This change moves these properties to the superclass so they are
exposed by both PCI XHCI device variants.

Signed-off-by: Phil Dennis-Jordan <phil@philjordan.eu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20241227121336.25838-3-phil@philjordan.eu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/usb/hcd-xhci-nec.c
hw/usb/hcd-xhci-pci.c