Module vcpu

Module vcpu 

Source
Expand description

Module with Vcpu implementation.

Re-exports§

pub use crate::arch::KvmVcpu;
pub use crate::arch::KvmVcpuConfigureError;
pub use crate::arch::KvmVcpuError;
pub use crate::arch::Peripherals;
pub use crate::arch::VcpuState;

Structs§

DebugExitInfo
Minimal debug information from a KVM debug exit.
Vcpu
A wrapper around creating and using a vcpu.
VcpuConfig
Encapsulates configuration parameters for the guest vCPUS.
VcpuHandle
Wrapper over Vcpu that hides the underlying interactions with the Vcpu thread.
VcpuSendEventError
Error type for VcpuHandle::send_event.

Enums§

CopyKvmFdError
Error type for Vcpu::copy_kvm_vcpu_fd.
StartThreadedError
Error type for Vcpu::start_threaded.
VcpuEmulation
Vcpu emulation state.
VcpuError
Errors associated with the wrappers over KVM ioctls.
VcpuEvent
List of events that the Vcpu can receive.
VcpuResponse
List of responses that the Vcpu reports.

Constants§

VCPU_RTSIG_OFFSET
Signal number (SIGRTMIN) used to kick Vcpus.