Module x86_64

Module x86_64 

Source
Expand description

Module for x86_64 related functionality.

Modules§

cpu_model
Logic for handling x86_64 CPU models.
generated
interrupts
Contains logic for setting up Advanced Programmable Interrupt Controller (local version).
kvm
Architecture specific KVM-related code
layout
Layout for the x86_64 system. Magic addresses externally used to lay out x86_64 VMs.
msr
Logic for configuring x86_64 model specific registers (MSRs).
regs
Logic for configuring x86_64 registers.
vcpu
Architecture specific vCPU code
vm
Architecture specific VM state code
xstate
Logic for configuring XSTATE features.

Enums§

ConfigurationError
Errors thrown while configuring x86_64 system.

Functions§

arch_memory_regions
Returns a Vec of the valid memory addresses. These should be used to configure the GuestMemoryMmap structure for the platform. For x86_64 all addresses are valid from the start of the kernel except an 1GB carve out at the end of 32bit address space and a second 256GB one at the 256GB limit.
configure_system_for_boot
Configures the system for booting Linux.
get_kernel_start
Returns the memory address where the kernel could be loaded.
initrd_load_addr
Returns the memory address where the initrd could be loaded.
load_kernel
Load linux kernel into guest memory.