(
&mut self,
region: &GuestRegionMmap<AtomicBitmap>,
)
| 251 | } |
| 252 | |
| 253 | pub fn dma_unmap( |
| 254 | &mut self, |
| 255 | region: &GuestRegionMmap<AtomicBitmap>, |
| 256 | ) -> Result<(), VfioUserPciDeviceError> { |
| 257 | self.client |
| 258 | .lock() |
| 259 | .unwrap() |
| 260 | .dma_unmap(region.start_addr().raw_value(), region.len()) |
| 261 | .map_err(VfioUserPciDeviceError::DmaUnmap) |
| 262 | } |
| 263 | } |
| 264 | |
| 265 | impl BusDevice for VfioUserPciDevice { |
no test coverage detected