Method
restore_vaia
(
&mut self,
state: Option<AiaState>,
_saved_vcpu_states: &[CpuState],
)
Source from the content-addressed store, hash-verified
| 65 | } |
| 66 | |
| 67 | pub fn restore_vaia( |
| 68 | &mut self, |
| 69 | state: Option<AiaState>, |
| 70 | _saved_vcpu_states: &[CpuState], |
| 71 | ) -> Result<()> { |
| 72 | self.vaia |
| 73 | .clone() |
| 74 | .lock() |
| 75 | .unwrap() |
| 76 | .set_state(&state.unwrap()) |
| 77 | .map_err(Error::RestoreAia) |
| 78 | } |
| 79 | |
| 80 | fn enable(&self) -> Result<()> { |
| 81 | // Set irqfd for legacy interrupts |
Callers
nothing calls this directly
Tested by
no test coverage detected