Re: [PATCH 2/4] KVM: VMX: Setup MSR bitmap only when has msr_bitmap capability

2019-10-15 Thread Xiaoyao Li
On 10/16/2019 8:40 AM, Krish Sadhukhan wrote: On 10/15/2019 09:40 AM, Xiaoyao Li wrote: Move the MSR bitmap setup codes to vmx_vmcs_setup() and only setup them when hardware has msr_bitmap capability. Signed-off-by: Xiaoyao Li ---   arch/x86/kvm/vmx/vmx.c | 39

Re: [PATCH 2/4] KVM: VMX: Setup MSR bitmap only when has msr_bitmap capability

2019-10-15 Thread Krish Sadhukhan
On 10/15/2019 09:40 AM, Xiaoyao Li wrote: Move the MSR bitmap setup codes to vmx_vmcs_setup() and only setup them when hardware has msr_bitmap capability. Signed-off-by: Xiaoyao Li --- arch/x86/kvm/vmx/vmx.c | 39 --- 1 file changed, 20 insertions(+),

[PATCH 2/4] KVM: VMX: Setup MSR bitmap only when has msr_bitmap capability

2019-10-15 Thread Xiaoyao Li
Move the MSR bitmap setup codes to vmx_vmcs_setup() and only setup them when hardware has msr_bitmap capability. Signed-off-by: Xiaoyao Li --- arch/x86/kvm/vmx/vmx.c | 39 --- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git