pub struct VcpuState { /* private fields */ }
Expand description
The Vcpu state of NoEptVmState.
Trait Implementations§
source§impl VCpuState for VcpuState
impl VCpuState for VcpuState
source§fn pinbase_ctls(&self) -> VmcsPinBasedVmexecCtl
fn pinbase_ctls(&self) -> VmcsPinBasedVmexecCtl
Get enabled pin-based control fields.
source§fn procbase_ctls(&self) -> VmcsProcBasedVmexecCtl
fn procbase_ctls(&self) -> VmcsProcBasedVmexecCtl
Get enabled proc-based control fields.
source§fn procbase_ctls2(&self) -> VmcsProcBasedSecondaryVmexecCtl
fn procbase_ctls2(&self) -> VmcsProcBasedSecondaryVmexecCtl
Get enabled proc-based secondary control fields.
source§fn entry_ctls(&self) -> VmcsEntryCtl
fn entry_ctls(&self) -> VmcsEntryCtl
Get enabled entry control fields.
source§fn exit_ctls(&self) -> VmcsExitCtl
fn exit_ctls(&self) -> VmcsExitCtl
Get enabled exit control fields.
source§fn init_guest_state(&self, vmcs: &ActiveVmcs) -> Result<(), VmError>
fn init_guest_state(&self, vmcs: &ActiveVmcs) -> Result<(), VmError>
Initialize the guest state.
source§fn handle_vmexit(
&mut self,
generic_vcpu_state: &mut GenericVCpuState<'_>
) -> Result<VmexitResult, VmError>
fn handle_vmexit( &mut self, generic_vcpu_state: &mut GenericVCpuState<'_> ) -> Result<VmexitResult, VmError>
Handle the vmexit on this vcpu.
Auto Trait Implementations§
impl !RefUnwindSafe for VcpuState
impl Send for VcpuState
impl Sync for VcpuState
impl Unpin for VcpuState
impl !UnwindSafe for VcpuState
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
const: unstable§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more