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§
- Configuration
Error - 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.