Expand description
KVM-compatible virtualization API
Implements a KVM-like interface for creating and managing virtual machines, vCPUs, memory regions, and interrupt controllers. Provides VMLAUNCH/VMRESUME cycle with VM exit reason decoding.
Sprints W5-S1 (core API), W5-S2 (vCPU management), W5-S3 (PIT emulation).
Structs§
- KvmIo
Exit - Information about an I/O port VM exit
- KvmMemory
Region - A user memory region mapping guest physical to host virtual
- KvmMmio
Exit - Information about an MMIO VM exit
- KvmRegs
- x86_64 general-purpose register set
- KvmRun
Page - Shared run page between kernel and userspace
- KvmSegment
- x86 segment register descriptor
- KvmSregs
- x86_64 system register set (segment + control registers)
- KvmVcpu
- Virtual CPU state
- KvmVm
- Virtual Machine instance
- MsrEntry
- Model-Specific Register entry
- PitChannel
- State for a single PIT counter channel
- Virtual
Pit - 8254/8253-compatible Programmable Interval Timer
Enums§
- IoDirection
- Direction of I/O port access
- KvmCapability
- KVM capability identifiers
- KvmExit
Reason - VM exit reason from KVM run
- KvmRun
State - Run state for the shared KVM run page
- PitMode
- PIT counter operating mode
Constants§
- KVM_
API_ VERSION - KVM API version (matches Linux KVM_API_VERSION)