Messages in this thread | | | From | Paolo Bonzini <> | Subject | [PATCH 0/2] KVM: nSVM: do not access MSR permission bitmap before KVM_RUN | Date | Mon, 28 Sep 2020 07:51:42 -0400 |
| |
Similar to what we need to do for VMX, the MSR permission bitmap should not be accessed until the first KVM_RUN. This is important because the memory map might not be up-to-date at the time of KVM_SET_NESTED_STATE.
Paolo Bonzini (2): KVM: x86: rename KVM_REQ_GET_VMCS12_PAGES KVM: nSVM: delay MSR permission processing to first nested VM run
arch/x86/include/asm/kvm_host.h | 4 ++-- arch/x86/kvm/svm/nested.c | 20 ++++++++++++++++++-- arch/x86/kvm/vmx/nested.c | 8 ++++---- arch/x86/kvm/x86.c | 4 ++-- 4 files changed, 26 insertions(+), 10 deletions(-)
-- 2.26.2
| |