Skip to content

Commit 7126519

Browse files
dustymabeslp
authored andcommitted
config: enable KVM host support on x86_64
Enable CONFIG_KVM, CONFIG_KVM_INTEL, and CONFIG_KVM_AMD as built-in so the guest kernel can act as a KVM host. This is needed for nested virtualization: when libkrun exposes VMX/SVM CPUID bits to the guest (via krun_set_nested_virt), the guest kernel needs KVM support to create /dev/kvm and run VMs. Both Intel and AMD variants are enabled so the same kernel binary works on either vendor. Assisted-by: <anthropic/claude-opus-4.6> Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
1 parent 69fba43 commit 7126519

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

config-libkrunfw_x86_64

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,9 @@ CONFIG_HALTPOLL_CPUIDLE=y
485485

486486
CONFIG_HAVE_KVM=y
487487
CONFIG_VIRTUALIZATION=y
488-
# CONFIG_KVM is not set
488+
CONFIG_KVM=y
489+
CONFIG_KVM_INTEL=y
490+
CONFIG_KVM_AMD=y
489491
CONFIG_AS_AVX512=y
490492
CONFIG_AS_SHA1_NI=y
491493
CONFIG_AS_SHA256_NI=y

0 commit comments

Comments
 (0)