mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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>
This commit is contained in:
parent
05c6a8eff6
commit
8b8d08cf29
3 changed files with 3 additions and 8 deletions
|
@ -58,8 +58,6 @@ typedef enum {
|
|||
struct PCIExpressDevice {
|
||||
/* Offset of express capability in config space */
|
||||
uint8_t exp_cap;
|
||||
/* Offset of Power Management capability in config space */
|
||||
uint8_t pm_cap;
|
||||
|
||||
/* SLOT */
|
||||
bool hpev_notified; /* Logical AND of conditions for hot plug event.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue