
VirtualizationGuide
The Complete Guide to the Linux KVM API
A practical tour of the Linux KVM ioctl interface: system, VM and vCPU descriptors, memory slots, kvm_run exits, interrupts, CPUID, debugging and threads, in C.
29 min read
Tag
14 posts

A practical tour of the Linux KVM ioctl interface: system, VM and vCPU descriptors, memory slots, kvm_run exits, interrupts, CPUID, debugging and threads, in C.

How virtual machines really work, from CPU privilege rings and VM exits to EPT, virtio, containers and confidential VMs, with C code you can read line by line.