File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6836,7 +6836,6 @@ static void vmx_free_vcpu(struct kvm_vcpu *vcpu)
68366836static int vmx_create_vcpu (struct kvm_vcpu * vcpu )
68376837{
68386838 struct vcpu_vmx * vmx ;
6839- unsigned long * msr_bitmap ;
68406839 int i , cpu , err ;
68416840
68426841 BUILD_BUG_ON (offsetof(struct vcpu_vmx , vcpu ) != 0 );
@@ -6896,7 +6895,6 @@ static int vmx_create_vcpu(struct kvm_vcpu *vcpu)
68966895 bitmap_fill (vmx -> shadow_msr_intercept .read , MAX_POSSIBLE_PASSTHROUGH_MSRS );
68976896 bitmap_fill (vmx -> shadow_msr_intercept .write , MAX_POSSIBLE_PASSTHROUGH_MSRS );
68986897
6899- msr_bitmap = vmx -> vmcs01 .msr_bitmap ;
69006898 vmx_disable_intercept_for_msr (vcpu , MSR_IA32_TSC , MSR_TYPE_R );
69016899 vmx_disable_intercept_for_msr (vcpu , MSR_FS_BASE , MSR_TYPE_RW );
69026900 vmx_disable_intercept_for_msr (vcpu , MSR_GS_BASE , MSR_TYPE_RW );
You can’t perform that action at this time.
0 commit comments