Module arch

Module arch 

Source
Expand description

Implements platform specific functionality. Supported platforms: x86_64 and aarch64.

Re-exports§

pub use x86_64::kvm::Kvm;
pub use x86_64::kvm::KvmArchError;
pub use x86_64::vm::ArchVm;
pub use x86_64::vm::ArchVmError;
pub use x86_64::vm::VmState;
pub use crate::arch::x86_64::ConfigurationError;
pub use crate::arch::x86_64::arch_memory_regions;
pub use crate::arch::x86_64::configure_system_for_boot;
pub use crate::arch::x86_64::get_kernel_start;
pub use crate::arch::x86_64::initrd_load_addr;
pub use crate::arch::x86_64::load_kernel;
pub use x86_64::vcpu::*;
pub use crate::arch::x86_64::layout::*;

Modules§

x86_64
Module for x86_64 related functionality.

Structs§

EntryPoint
Specifies the entry point address where the guest must start executing code, as well as which boot protocol is to be used to configure the guest initial state.

Enums§

BootProtocol
Supported boot protocols for
DeviceType
Types of devices that can get attached to this platform.

Constants§

GUEST_PAGE_SIZE
Default page size for the guest OS.

Functions§

host_page_size
Get the size of the host page size.