Method
write_mem
(
&self,
guest_memory: &GuestMemoryAtomic<GuestMemoryMmap>,
cpu_id: usize,
vaddr: &GuestAddress,
data: &[u8],
)
Source from the content-addressed store, hash-verified
| 3538 | } |
| 3539 | |
| 3540 | fn write_mem( |
| 3541 | &self, |
| 3542 | guest_memory: &GuestMemoryAtomic<GuestMemoryMmap>, |
| 3543 | cpu_id: usize, |
| 3544 | vaddr: &GuestAddress, |
| 3545 | data: &[u8], |
| 3546 | ) -> std::result::Result<(), DebuggableError> { |
| 3547 | self.cpu_manager |
| 3548 | .lock() |
| 3549 | .unwrap() |
| 3550 | .write_mem(guest_memory, cpu_id, vaddr, data) |
| 3551 | } |
| 3552 | |
| 3553 | fn active_vcpus(&self) -> usize { |
| 3554 | let active_vcpus = self.cpu_manager.lock().unwrap().active_vcpus(); |
Tested by
no test coverage detected