diff options
author | Maxim Levitsky <[email protected]> | 2020-08-27 20:11:44 +0300 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2020-09-12 12:22:55 -0400 |
commit | 37f66bbef0920429b8cb5eddba849ec4308a9f8e (patch) | |
tree | 67f132e53a670820276243ba7238aba555ae8484 /scripts | |
parent | 3ebb5d2617fbf45567975f878232178c5b292d58 (diff) |
KVM: emulator: more strict rsm checks.
Don't ignore return values in rsm_load_state_64/32 to avoid
loading invalid state from SMM state area if it was tampered with
by the guest.
This is primarly intended to avoid letting guest set bits in EFER
(like EFER.SVME when nesting is disabled) by manipulating SMM save area.
Signed-off-by: Maxim Levitsky <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions