Skip to content
Commit ca46d739 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

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: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 08245e6d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment