Struct hypervisor::vCPU [] [src]

pub struct vCPU {
    pub id: u32,
}

Virtual CPU

Fields

Virtual CPU ID

Methods

impl vCPU
[src]

Creates a vCPU instance for the current thread

Destroys the vCPU instance associated with the current thread

Executes the vCPU

Forces an immediate VMEXIT of the vCPU

Returns the cumulative execution time of the vCPU in nanoseconds

Forces flushing of cached vCPU state

Invalidates the translation lookaside buffer (TLB) of the vCPU

Enables an MSR to be used natively by the VM

Returns the current value of an MSR of the vCPU

Set the value of an MSR of the vCPU

Returns the current value of an architectural x86 register of the vCPU

Sets the value of an architectural x86 register of the vCPU

Returns the current value of a VMCS field of the vCPU

Sets the value of a VMCS field of the vCPU

Sets the address of the guest APIC for the vCPU in the guest physical address space of the VM

Reads the current architectural x86 floating point and SIMD state of the vCPU

Sets the architectural x86 floating point and SIMD state of the vCPU

Trait Implementations

impl Debug for vCPU
[src]

Formats the value using the given formatter.