diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2026-03-09 12:40:52 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2026-03-11 18:41:11 +0100 |
| commit | be5fa8737d42c5ba16d2ea72c23681f8abbb07e8 (patch) | |
| tree | 7a8d313a4480b9eb9f5f091292dc045eaaa03b36 /tools/scripts/Makefile.arch | |
| parent | 5a30e8aea079b3e4e79d6ce7a878f5f42efe9d0b (diff) | |
KVM: SVM: check validity of VMCB controls when returning from SMM
The VMCB12 is stored in guest memory and can be mangled while in SMM; it
is then reloaded by svm_leave_smm(), but it is not checked again for
validity.
Move the cached vmcb12 control and save consistency checks out of
svm_set_nested_state() and into a helper, and reuse it in
svm_leave_smm().
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/scripts/Makefile.arch')
0 files changed, 0 insertions, 0 deletions
