vfio: Fold vfio_virqfd.ko into vfio.ko
authorJason Gunthorpe <jgg@nvidia.com>
Mon, 5 Dec 2022 15:29:20 +0000 (11:29 -0400)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 5 Dec 2022 19:04:32 +0000 (12:04 -0700)
commite2d55709398e62cf53e5c7df3758ae52cc62d63a
tree26c5eb9f3188af9e40236e9a999329dd2848d35b
parent20601c45a0fa20bbb5545f4dd69f4f18448f4973
vfio: Fold vfio_virqfd.ko into vfio.ko

This is only 1.8k, putting it in its own module is not really
necessary. The kconfig infrastructure is still there to completely remove
it for systems that are trying for small footprint.

Put it in the main vfio.ko module now that kbuild can support multiple .c
files.

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Link: https://lore.kernel.org/r/5-v5-fc5346cacfd4+4c482-vfio_modules_jgg@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/Kconfig
drivers/vfio/Makefile
drivers/vfio/vfio.h
drivers/vfio/vfio_main.c
drivers/vfio/virqfd.c