All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH for-12.0 0/9] vfio/pci: Split pci.c
@ 2026-11-09  9:06 Cédric Le Goater
  2026-11-09  9:06 ` [PATCH for-12.0 1/9] vfio/pci: Extract interrupt handling into pci-irq.c Cédric Le Goater
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Cédric Le Goater @ 2026-11-09  9:06 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alex Williamson, Cédric Le Goater

Hello,

hw/vfio/pci.c has grown into a large monolithic file. This series
extract interrupt handling, PCI capability setup and ROM management
into dedicated files and normalizes function names for consistency.
Other aspects, config space, BAR setup, VGA, could be addressed later.

A g_memdup deprecation fix is included as a standalone cleanup.

No functional changes.

Thanks,

C.

Cédric Le Goater (9):
  vfio/pci: Extract interrupt handling into pci-irq.c
  vfio/pci: Move vfio_mmap_set_enabled() to region.c
  vfio/pci: Rename IRQ functions
  vfio/pci: Replace deprecated g_memdup() with g_memdup2()
  vfio/pci: Extract PCI capability setup into pci-caps.c
  vfio/pci: Rename capability functions
  vfio/pci: Rename vfio_sub_page_bar_update_mappings() function
  vfio/pci: Extract ROM handling into pci-rom.c
  vfio/pci: Rename vfio_opt_rom_in_denylist() to
    vfio_quirk_rom_in_denylist()

 hw/vfio/pci.h         |   46 +-
 hw/vfio/vfio-region.h |    4 +-
 hw/vfio-user/pci.c    |    4 +-
 hw/vfio/cpr.c         |    4 +-
 hw/vfio/pci-caps.c    |  730 ++++++++++
 hw/vfio/pci-irq.c     | 1630 +++++++++++++++++++++
 hw/vfio/pci-quirks.c  |    2 +-
 hw/vfio/pci-rom.c     |  239 ++++
 hw/vfio/pci.c         | 3128 ++++-------------------------------------
 hw/vfio/region.c      |   12 +-
 hw/vfio/meson.build   |    3 +
 11 files changed, 2949 insertions(+), 2853 deletions(-)
 create mode 100644 hw/vfio/pci-caps.c
 create mode 100644 hw/vfio/pci-irq.c
 create mode 100644 hw/vfio/pci-rom.c

-- 
2.56.0



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2026-11-30 22:48 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-09  9:06 [PATCH for-12.0 0/9] vfio/pci: Split pci.c Cédric Le Goater
2026-11-09  9:06 ` [PATCH for-12.0 1/9] vfio/pci: Extract interrupt handling into pci-irq.c Cédric Le Goater
2026-11-09  9:06 ` [PATCH for-12.0 2/9] vfio/pci: Move vfio_mmap_set_enabled() to region.c Cédric Le Goater
2026-11-30 22:47   ` Alex Williamson
2026-11-09  9:06 ` [PATCH for-12.0 3/9] vfio/pci: Rename IRQ functions Cédric Le Goater
2026-11-30 22:47   ` Alex Williamson
2026-11-09  9:06 ` [PATCH for-12.0 4/9] vfio/pci: Replace deprecated g_memdup() with g_memdup2() Cédric Le Goater
2026-11-09  9:06 ` [PATCH for-12.0 5/9] vfio/pci: Extract PCI capability setup into pci-caps.c Cédric Le Goater
2026-11-09  9:06 ` [PATCH for-12.0 6/9] vfio/pci: Rename capability functions Cédric Le Goater
2026-11-09  9:06 ` [PATCH for-12.0 7/9] vfio/pci: Rename vfio_sub_page_bar_update_mappings() function Cédric Le Goater
2026-11-09  9:06 ` [PATCH for-12.0 8/9] vfio/pci: Extract ROM handling into pci-rom.c Cédric Le Goater
2026-11-09  9:06 ` [PATCH for-12.0 9/9] vfio/pci: Rename vfio_opt_rom_in_denylist() to vfio_quirk_rom_in_denylist() Cédric Le Goater

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.