lkml.org 
[lkml]   [2020]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] KVM: nSVM: do not access MSR permission bitmap before KVM_RUN
Date
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

\
 
 \ /
  Last update: 2020-09-28 13:52    [W:0.031 / U:1.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site