Searched refs:msr_index (Results 1 – 3 of 3) sorted by relevance
/arch/x86/include/asm/ |
D | kvm_host.h | 451 int (*get_msr)(struct kvm_vcpu *vcpu, u32 msr_index, u64 *pdata); 452 int (*set_msr)(struct kvm_vcpu *vcpu, u32 msr_index, u64 data); 545 int kvm_get_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 *data); 546 int kvm_set_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 data);
|
/arch/x86/kvm/ |
D | vmx.c | 872 static int vmx_get_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 *pdata) in vmx_get_msr() argument 882 switch (msr_index) { in vmx_get_msr() 891 return kvm_get_msr_common(vcpu, msr_index, pdata); in vmx_get_msr() 907 msr = find_msr_entry(to_vmx(vcpu), msr_index); in vmx_get_msr() 912 return kvm_get_msr_common(vcpu, msr_index, pdata); in vmx_get_msr() 924 static int vmx_set_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 data) in vmx_set_msr() argument 930 switch (msr_index) { in vmx_set_msr() 934 ret = kvm_set_msr_common(vcpu, msr_index, data); in vmx_set_msr() 964 pr_unimpl(vcpu, "unimplemented perfctr wrmsr: 0x%x data 0x%llx\n", msr_index, data); in vmx_set_msr() 976 msr = find_msr_entry(vmx, msr_index); in vmx_set_msr() [all …]
|
D | x86.c | 504 int kvm_set_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 data) in kvm_set_msr() argument 506 return kvm_x86_ops->set_msr(vcpu, msr_index, data); in kvm_set_msr() 778 int kvm_get_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 *pdata) in kvm_get_msr() argument 780 return kvm_x86_ops->get_msr(vcpu, msr_index, pdata); in kvm_get_msr()
|