diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-05-18 13:02:15 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-06-01 04:26:03 -0400 |
commit | ca46d739e3caf44dcd3db9eb8da30d0ff3aa9180 (patch) | |
tree | e6c9bd92b758d9da8cdbd944984444f0fbbddcea /arch/x86/kvm/svm/svm.h | |
parent | 08245e6d2e589f2b6e9e275ddb343e2ec9ce94ec (diff) |
KVM: nSVM: split nested_vmcb_check_controls
The authoritative state does not come from the VMCB once in guest mode,
but KVM_SET_NESTED_STATE can still perform checks on L1's provided SVM
controls because we get them from userspace.
Therefore, split out a function to do them.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm/svm.h')
0 files changed, 0 insertions, 0 deletions