Lines Matching defs:msr_index
1160 * Reads an msr value (of 'msr_index') into 'pdata'.
1164 static int vmx_get_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 *pdata)
1174 switch (msr_index) {
1188 return kvm_get_msr_common(vcpu, msr_index, pdata);
1207 msr = find_msr_entry(to_vmx(vcpu), msr_index);
1213 return kvm_get_msr_common(vcpu, msr_index, pdata);
1225 static int vmx_set_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 data)
1232 switch (msr_index) {
1235 ret = kvm_set_msr_common(vcpu, msr_index, data);
1268 ret = kvm_set_msr_common(vcpu, msr_index, data);
1278 msr = find_msr_entry(vmx, msr_index);
1284 ret = kvm_set_msr_common(vcpu, msr_index, data);