KVM: x86: move SMM entry to a new file
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 29 Sep 2022 17:20:10 +0000 (13:20 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 9 Nov 2022 17:31:17 +0000 (12:31 -0500)
commitc53da4f3af6e613e82f88abc6eb988e44c5dadd7
treed9093bdc9c9f779180b01c58936f1133a5d58eae
parentb0b42197b5c6f0d9447e5b710d64c671be8deec1
KVM: x86: move SMM entry to a new file

Some users of KVM implement the UEFI variable store through a paravirtual
device that does not require the "SMM lockbox" component of edk2, and
would like to compile out system management mode.  In preparation for
that, move the SMM entry code out of x86.c and into a new file.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20220929172016.319443-3-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/smm.c
arch/x86/kvm/smm.h
arch/x86/kvm/x86.c