pub fn pause_vm(&mut self) -> Result<()> {
        self.broadcast_vcpu_event(VcpuEvent::Pause, VcpuResponse::Paused)
            .map_err(|_| Error::VcpuPause)?;
        self.instance_info.state = VmState::Paused;
        Ok(())
    }
/// Sends a pause command to the vCPUs.
Sends a pause command to the vCPUs.
Sends a pause command to the vCPUs .
pub fn pause_vm(&mut self) -> Result<()> {
        self.broadcast_vcpu_event(VcpuEvent::Pause, VcpuResponse::Paused)
            .map_err(|_| Error::VcpuPause)?;
        self.instance_info.state = VmState::Paused;
        Ok(())
    }
pub fn pause_vm ( & mut self ) -> Result < ( ) > { self . broadcast_vcpu_event ( VcpuEvent :: Pause , VcpuResponse :: Paused ) . map_err ( | _ | Error :: VcpuPause ) ? ; self . instance_info . state = VmState :: Paused ; Ok ( ( ) ) }
Sends a pause command to the vCPUs.
Sends a pause command to the vCPUs .
&mut self
&mut self