qemu/hw/vfio
Zhenzhong Duan ed2f7f8017 vfio/common: Introduce vfio_container_init/destroy helper
This adds two helper functions vfio_container_init/destroy which will be
used by both legacy and iommufd containers to do base container specific
initialization and release.

No functional change intended.

Suggested-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
2023-12-19 19:03:38 +01:00
..
amd-xgbe.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
ap.c vfio/container: Move IBM EEH related functions into spapr_pci_vfio.c 2023-11-06 13:23:23 +01:00
calxeda-xgmac.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
ccw.c vfio/container: Move IBM EEH related functions into spapr_pci_vfio.c 2023-11-06 13:23:23 +01:00
common.c vfio/container: Switch to dma_map|unmap API 2023-12-19 19:03:38 +01:00
container-base.c vfio/common: Introduce vfio_container_init/destroy helper 2023-12-19 19:03:38 +01:00
container.c vfio/common: Introduce vfio_container_init/destroy helper 2023-12-19 19:03:38 +01:00
display.c hw/vfio: add ramfb migration support 2023-10-18 10:10:49 +02:00
helpers.c vfio/container: Move IBM EEH related functions into spapr_pci_vfio.c 2023-11-06 13:23:23 +01:00
igd.c *: Add missing includes of qemu/error-report.h 2023-03-22 15:06:57 +00:00
Kconfig hw/vfio: Move the IGD quirk code to a separate file 2020-02-06 11:55:42 -07:00
meson.build vfio/container: Switch to dma_map|unmap API 2023-12-19 19:03:38 +01:00
migration.c migration: simplify notifiers 2023-10-20 08:51:41 +02:00
pci-quirks.c spapr: Remove support for NVIDIA V100 GPU with NVLink2 2023-09-18 07:25:28 -03:00
pci.c vfio/pci: Fix buffer overrun when writing the VF token 2023-11-03 09:20:31 +01:00
pci.h hw/vfio: add ramfb migration support 2023-10-18 10:10:49 +02:00
platform.c vfio/platform: Use vfio_[attach/detach]_device 2023-10-18 10:10:49 +02:00
spapr.c vfio/common: Move vfio_host_win_add/del into spapr.c 2023-11-06 13:23:23 +01:00
trace-events vfio/container: Switch to dma_map|unmap API 2023-12-19 19:03:38 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00