diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2015-03-17 10:33:38 -0400 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2015-03-17 10:33:38 -0400 |
commit | 71be3423a62be548c56bab5b818e1a1383e659d2 (patch) | |
tree | b2896fa415f72111e8c26a42d2ee822ac701ac67 /drivers/vfio/platform | |
parent | 66fdc052d7dba5bb8386f7a1a38107ba8307a59e (diff) |
vfio: Split virqfd into a separate module for vfio bus drivers
An unintended consequence of commit 42ac9bd18d4f ("vfio: initialize
the virqfd workqueue in VFIO generic code") is that the vfio module
is renamed to vfio_core so that it can include both vfio and virqfd.
That's a user visible change that may break module loading scritps
and it imposes eventfd support as a dependency on the core vfio code,
which it's really not. virqfd is intended to be provided as a service
to vfio bus drivers, so instead of wrapping it into vfio.ko, we can
make it a stand-alone module toggled by vfio bus drivers. This has
the additional benefit of removing initialization and exit from the
core vfio code.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/platform')
-rw-r--r-- | drivers/vfio/platform/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/vfio/platform/Kconfig b/drivers/vfio/platform/Kconfig index c0a3bff8baee..9a4403e2a36c 100644 --- a/drivers/vfio/platform/Kconfig +++ b/drivers/vfio/platform/Kconfig | |||
@@ -1,6 +1,7 @@ | |||
1 | config VFIO_PLATFORM | 1 | config VFIO_PLATFORM |
2 | tristate "VFIO support for platform devices" | 2 | tristate "VFIO support for platform devices" |
3 | depends on VFIO && EVENTFD && ARM | 3 | depends on VFIO && EVENTFD && ARM |
4 | select VFIO_VIRQFD | ||
4 | help | 5 | help |
5 | Support for platform devices with VFIO. This is required to make | 6 | Support for platform devices with VFIO. This is required to make |
6 | use of platform devices present on the system using the VFIO | 7 | use of platform devices present on the system using the VFIO |