diff options
author | 2021-06-09 11:56:13 -0700 | |
---|---|---|
committer | 2021-06-17 13:09:34 -0400 | |
commit | edce46548b70b8637694d96122447662ff35af0c (patch) | |
tree | 461c1c6a8e26fb43fcbb9d99d113792551a470a6 /arch/x86/kvm/svm/nested.c | |
parent | KVM: x86: Emulate triple fault shutdown if RSM emulation fails (diff) | |
download | linux-dev-edce46548b70b8637694d96122447662ff35af0c.tar.xz linux-dev-edce46548b70b8637694d96122447662ff35af0c.zip |
KVM: x86: Replace .set_hflags() with dedicated .exiting_smm() helper
Replace the .set_hflags() emulator hook with a dedicated .exiting_smm(),
moving the SMM and SMM_INSIDE_NMI flag handling out of the emulator in
the process. This is a step towards consolidating much of the logic in
kvm_smm_changed(), including the SMM hflags updates.
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210609185619.992058-4-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm/nested.c')
0 files changed, 0 insertions, 0 deletions