commit | a7d5c7ce41ac1e2537d78ddb57ef0ac4f737aa19 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Tue Sep 22 07:43:14 2020 -0400 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Sep 28 07:59:30 2020 -0400 |
tree | d62bbdc7384af4458a9842d943cc85f96a7be0ed | |
parent | 729c15c20f1a7c9ad1d09a603ad1aa7fb60b1f88 [diff] |
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: Paolo Bonzini <pbonzini@redhat.com>