Home
last modified time | relevance | path

Searched defs:VfioError (Results 1 – 1 of 1) sorted by relevance

/external/crosvm/devices/src/
Dvfio.rs28 pub enum VfioError { enum
51 impl fmt::Display for VfioError { implementation
131 unsafe fn vfio_dma_map(&self, iova: u64, size: u64, user_addr: u64) -> Result<(), VfioError> { in vfio_dma_map() argument
148 fn vfio_dma_unmap(&self, iova: u64, size: u64) -> Result<(), VfioError> { in vfio_dma_unmap() argument
166 fn init(&mut self, vm: &impl Vm, guest_mem: &GuestMemory) -> Result<(), VfioError> { in init() argument
195 ) -> Result<Arc<VfioGroup>, VfioError> { in get_group() argument
232 fn new(container: &VfioContainer, id: u32) -> Result<Self, VfioError> { in new() argument
275 fn kvm_device_add_group(&self, kvm_vfio_file: &SafeDescriptor) -> Result<(), VfioError> { in kvm_device_add_group() argument
300 fn get_device(&self, name: &str) -> Result<File, VfioError> { in get_device() argument
359 ) -> Result<Self, VfioError> { in new() argument
[all …]