pub struct Group { /* private fields */ }
Implementations§
Source§impl Group
impl Group
pub fn open(group: u64) -> Result<Self>
pub fn open_noiommu(group: u64) -> Result<Self>
pub fn find_group_for_device(device_sysfs_path: &Path) -> Result<u64>
pub fn open_device(&self, device_id: &str) -> Result<Device>
pub fn set_container(&self, container: &Container) -> Result<()>
pub fn status(&self) -> Result<GroupStatus>
Sourcepub fn set_keep_alive(&self, device_id: &str) -> Result<()>
pub fn set_keep_alive(&self, device_id: &str) -> Result<()>
Skip VFIO device reset when kernel is reloaded during servicing. This feature is non-upstream version of our kernel and will be eventually replaced with iommufd.
Auto Trait Implementations§
impl Freeze for Group
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnwindSafe for Group
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more