Struct vfio_bindings::bindings::vfio::vfio_pci_dependent_device [−][src]
#[repr(C)]pub struct vfio_pci_dependent_device {
pub group_id: __u32,
pub segment: __u16,
pub bus: __u8,
pub devfn: __u8,
}
Expand description
VFIO_DEVICE_GET_PCI_HOT_RESET_INFO - _IORW(VFIO_TYPE, VFIO_BASE + 12, struct vfio_pci_hot_reset_info)
Return: 0 on success, -errno on failure: -enospc = insufficient buffer, -enodev = unsupported for device.
Fields
group_id: __u32
segment: __u16
bus: __u8
devfn: __u8
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for vfio_pci_dependent_device
impl Send for vfio_pci_dependent_device
impl Sync for vfio_pci_dependent_device
impl Unpin for vfio_pci_dependent_device
impl UnwindSafe for vfio_pci_dependent_device
Blanket Implementations
Mutably borrows from an owned value. Read more