Skip to content

Commit 9eefba8

Browse files
yiliu1765jgunthorpe
authored andcommitted
vfio: Move vfio group specific code into group.c
This prepares for compiling out vfio group after vfio device cdev is added. No vfio_group decode code should be in vfio_main.c, and neither device->group reference should be in vfio_main.c. No functional change is intended. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Kevin Tian <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Reviewed-by: Alex Williamson <[email protected]> Tested-by: Yu He <[email protected]> Tested-by: Lixiao Yang <[email protected]> Signed-off-by: Yi Liu <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
1 parent 8da7a0e commit 9eefba8

File tree

4 files changed

+907
-870
lines changed

4 files changed

+907
-870
lines changed

drivers/vfio/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ vfio_virqfd-y := virqfd.o
44
obj-$(CONFIG_VFIO) += vfio.o
55

66
vfio-y += vfio_main.o \
7+
group.o \
78
iova_bitmap.o
89
vfio-$(CONFIG_IOMMUFD) += iommufd.o
910
vfio-$(CONFIG_VFIO_CONTAINER) += container.o

0 commit comments

Comments
 (0)