System Management

An engineer runs a KVM guest on an Intel host and installs libvirt inside it to host test VMs. Inside the guest, /dev/kvm does not exist and virt-host-validate reports that hardware virtualization is unavailable. Which host-side change is needed?

Show the answer

Correct answerC. Set the kvm_intel module's nested parameter to 1 and expose the vmx CPU flag to the guest, such as with host-passthrough.

Nested virtualization requires the host's KVM module to allow nesting and the guest CPU to expose the hardware virtualization flag (vmx on Intel). VirtIO drivers improve guest I/O performance but do not provide virtualization extensions, and kvm_amd does not apply to an Intel host.