(&mut self, offset: u64, data: &[u8])
| 432 | } |
| 433 | |
| 434 | fn write_config(&mut self, offset: u64, data: &[u8]) { |
| 435 | assert!(self.vhost.is_some()); |
| 436 | if let Err(e) = self.vhost.as_ref().unwrap().set_config(offset as u32, data) { |
| 437 | error!("Failed writing virtio config: {e}"); |
| 438 | } |
| 439 | } |
| 440 | |
| 441 | fn activate(&mut self, context: crate::device::ActivationContext) -> ActivateResult { |
| 442 | let crate::device::ActivationContext { |
nothing calls this directly
no test coverage detected