Returns the vcpu's current "multiprocessing state".
(&self)
| 2331 | /// Returns the vcpu's current "multiprocessing state". |
| 2332 | /// |
| 2333 | fn get_mp_state(&self) -> cpu::Result<MpState> { |
| 2334 | Ok(self |
| 2335 | .fd |
| 2336 | .get_mp_state() |
| 2337 | .map_err(|e| cpu::HypervisorCpuError::GetMpState(e.into()))? |
| 2338 | .into()) |
| 2339 | } |
| 2340 | |
| 2341 | /// |
| 2342 | /// Sets the vcpu's current "multiprocessing state". |
no outgoing calls