diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2026-03-09 14:40:52 +0300 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2026-03-11 20:41:11 +0300 |
| commit | be5fa8737d42c5ba16d2ea72c23681f8abbb07e8 (patch) | |
| tree | 7a8d313a4480b9eb9f5f091292dc045eaaa03b36 /tools | |
| parent | 5a30e8aea079b3e4e79d6ce7a878f5f42efe9d0b (diff) | |
| download | linux-be5fa8737d42c5ba16d2ea72c23681f8abbb07e8.tar.xz | |
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')
0 files changed, 0 insertions, 0 deletions
