summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorEmanuele Giuseppe Esposito <eesposit@redhat.com>2021-11-03 17:05:24 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2021-12-08 12:24:39 +0300
commitb7a3d8b6f433d293e9033b9d63651b6d17bf5654 (patch)
tree325c3bea7072955e04a9e298aab87ce2b42b662e /scripts/const_structs.checkpatch
parent7907160dbf1a1063b19201c79566069ec0da054c (diff)
downloadlinux-b7a3d8b6f433d293e9033b9d63651b6d17bf5654.tar.xz
KVM: nSVM: use vmcb_save_area_cached in nested_vmcb_valid_sregs()
Now that struct vmcb_save_area_cached contains the required vmcb fields values (done in nested_load_save_from_vmcb12()), check them to see if they are correct in nested_vmcb_valid_sregs(). While at it, rename nested_vmcb_valid_sregs in nested_vmcb_check_save. __nested_vmcb_check_save takes the additional @save parameter, so it is helpful when we want to check a non-svm save state, like in svm_set_nested_state. The reason for that is that save is the L1 state, not L2, so we check it without moving it to svm->nested.save. Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com> Message-Id: <20211103140527.752797-5-eesposit@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions