Skip to content

Commit

Permalink
vfio: Move vfio group specific code into group.c
Browse files Browse the repository at this point in the history
This prepares for compiling out vfio group after vfio device cdev is
added. No vfio_group decode code should be in vfio_main.c.

No functional change is intended.

Signed-off-by: Yi Liu <yi.l.liu@intel.com>
  • Loading branch information
yiliu1765 authored and intel-lab-lkp committed Nov 24, 2022
1 parent fa0bc20 commit c124ca9
Show file tree
Hide file tree
Showing 4 changed files with 863 additions and 827 deletions.
1 change: 1 addition & 0 deletions drivers/vfio/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ vfio_virqfd-y := virqfd.o
obj-$(CONFIG_VFIO) += vfio.o

vfio-y += vfio_main.o \
group.o \
iova_bitmap.o
vfio-$(CONFIG_IOMMUFD) += iommufd.o
vfio-$(CONFIG_VFIO_CONTAINER) += container.o
Expand Down

0 comments on commit c124ca9

Please sign in to comment.