um: Add VFIO-based virtual PCI driver
authorTiwei Bie <tiwei.btw@antgroup.com>
Sun, 13 Apr 2025 15:44:21 +0000 (23:44 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 5 May 2025 08:25:24 +0000 (10:25 +0200)
commita0e2cb6a90634f3dc80f16e882a683ee5761b0b0
tree604174a62b681d03647772fcd3130e61bdd36c34
parent6767e8784cd2e8b386a62330ea6864949d983a3e
um: Add VFIO-based virtual PCI driver

Implement a new virtual PCI driver based on the VFIO framework.
This driver allows users to pass through PCI devices to UML via
VFIO. Currently, only MSI-X capable devices are supported, and
it is assumed that drivers will use MSI-X.

Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Link: https://patch.msgid.link/20250413154421.517878-1-tiwei.btw@antgroup.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/um/drivers/Kconfig
arch/um/drivers/Makefile
arch/um/drivers/vfio_kern.c [new file with mode: 0644]
arch/um/drivers/vfio_user.c [new file with mode: 0644]
arch/um/drivers/vfio_user.h [new file with mode: 0644]