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

KVM: nSVM: delay MSR permission processing to first nested VM run



Allow userspace to set up the memory map after KVM_SET_NESTED_STATE;
to do so, move the call to nested_svm_vmrun_msrpm inside the
KVM_REQ_GET_NESTED_STATE_PAGES handler (which is currently
not used by nSVM).  This is similar to what VMX does already.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 729c15c2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment