mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
pci: Add support for vfio-user PCI devices
Taking advantage of the refactored VFIO code implement a new VfioUserPciDevice that wraps the client for vfio-user and exposes the BusDevice and PciDevice into the VMM. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
@@ -222,6 +222,8 @@ pub struct MmioRegion {
|
||||
pub enum VfioError {
|
||||
#[error("Kernel VFIO error: {0}")]
|
||||
KernelVfio(#[source] vfio_ioctls::VfioError),
|
||||
#[error("VFIO user error: {0}")]
|
||||
VfioUser(#[source] vfio_user::Error),
|
||||
}
|
||||
|
||||
pub(crate) trait Vfio {
|
||||
|
||||
Reference in New Issue
Block a user