diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2022-09-29 13:20:09 -0400 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-11-09 12:31:16 -0500 |
| commit | b0b42197b5c6f0d9447e5b710d64c671be8deec1 (patch) | |
| tree | a65a6ba2b209546c465e0d4e63e5b65aa58f0317 /arch/x86/kvm/vmx/nested.c | |
| parent | d08b48585309247d4d28051dd7a315eef5d1db26 (diff) | |
| download | linux-b0b42197b5c6f0d9447e5b710d64c671be8deec1.tar.gz linux-b0b42197b5c6f0d9447e5b710d64c671be8deec1.tar.bz2 linux-b0b42197b5c6f0d9447e5b710d64c671be8deec1.zip | |
KVM: x86: start moving SMM-related functions to new files
Create a new header and source with code related to system management
mode emulation. Entry and exit will move there too; for now,
opportunistically rename put_smstate to PUT_SMSTATE while moving
it to smm.h, and adjust the SMM state saving code.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20220929172016.319443-2-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx/nested.c')
| -rw-r--r-- | arch/x86/kvm/vmx/nested.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/vmx/nested.c b/arch/x86/kvm/vmx/nested.c index 0c62352dda6a..61a2e551640a 100644 --- a/arch/x86/kvm/vmx/nested.c +++ b/arch/x86/kvm/vmx/nested.c @@ -16,6 +16,7 @@ #include "trace.h" #include "vmx.h" #include "x86.h" +#include "smm.h" static bool __read_mostly enable_shadow_vmcs = 1; module_param_named(enable_shadow_vmcs, enable_shadow_vmcs, bool, S_IRUGO); |
