summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-09-29 13:20:15 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2022-11-09 12:31:20 -0500
commitba97bb07e0b28c962015aaf219005928774b886c (patch)
tree23cbe368d0eb321831f2389521e706c65d690cb7 /arch/x86/kvm/x86.c
parent31e83e21cf00fe5b669eb352ff3ed70e74b40fad (diff)
downloadlinux-ba97bb07e0b28c962015aaf219005928774b886c.tar.bz2
KVM: x86: remove SMRAM address space if SMM is not supported
If CONFIG_KVM_SMM is not defined HF_SMM_MASK will always be zero, and we can spare userspace the hassle of setting up the SMRAM address space simply by reporting that only one address space is supported. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com> Message-Id: <20220929172016.319443-8-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
0 files changed, 0 insertions, 0 deletions