Skip to content

Commit 7832880

Browse files
committed
KVM: x86: add missing "depends on KVM"
Support for KVM software-protected VMs should not be configurable, if KVM is not available at all. Fixes: 89ea60c ("KVM: x86: Add support for "protected VMs" that can utilize private memory") Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent 3a373e0 commit 7832880

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/x86/kvm/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ config KVM_WERROR
7777
config KVM_SW_PROTECTED_VM
7878
bool "Enable support for KVM software-protected VMs"
7979
depends on EXPERT
80-
depends on X86_64
80+
depends on KVM && X86_64
8181
select KVM_GENERIC_PRIVATE_MEM
8282
help
8383
Enable support for KVM software-protected VMs. Currently "protected"

0 commit comments

Comments
 (0)