pcie, virtio: Remove redundant pm_cap
authorAlex Williamson <alex.williamson@redhat.com>
Tue, 25 Feb 2025 21:52:28 +0000 (14:52 -0700)
committerCédric Le Goater <clg@redhat.com>
Thu, 6 Mar 2025 05:47:33 +0000 (06:47 +0100)
commit8b8d08cf293b930d0f55b2d5385d8dd27e0c6b41
tree1bb1fc4a037d4951f1b7c52c306fbc9e55c170e2
parent05c6a8eff6298675080aa2692ee05a310b3483b4
pcie, virtio: Remove redundant pm_cap

The pm_cap on the PCIExpressDevice object can be distilled down
to the new instance on the PCIDevice object.

Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250225215237.3314011-5-alex.williamson@redhat.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/pci-bridge/pcie_pci_bridge.c
hw/virtio/virtio-pci.c
include/hw/pci/pcie.h