Lines Matching defs:gpa
711 if (ghc->gpa != vmcs12->vmcs_link_pointer &&
730 if (ghc->gpa != vmcs12->vmcs_link_pointer &&
938 static u32 nested_vmx_load_msr(struct kvm_vcpu *vcpu, u64 gpa, u32 count)
948 if (kvm_vcpu_read_guest(vcpu, gpa + i * sizeof(e),
952 __func__, i, gpa + i * sizeof(e));
1005 static bool read_and_check_msr_entry(struct kvm_vcpu *vcpu, u64 gpa, int i,
1009 gpa + i * sizeof(*e),
1013 __func__, i, gpa + i * sizeof(*e));
1025 static int nested_vmx_store_msr(struct kvm_vcpu *vcpu, u64 gpa, u32 count)
1036 if (!read_and_check_msr_entry(vcpu, gpa, i, &e))
1043 gpa + i * sizeof(e) +
1059 u64 gpa = vmcs12->vm_exit_msr_store_addr;
1064 if (!read_and_check_msr_entry(vcpu, gpa, i, &e))
3028 if (ghc->gpa != vmcs12->vmcs_link_pointer &&
3347 static int nested_vmx_write_pml_buffer(struct kvm_vcpu *vcpu, gpa_t gpa)
3372 gpa &= ~0xFFFull;
3375 if (kvm_write_guest_page(vcpu->kvm, gpa_to_gfn(dst), &gpa,
3376 offset_in_page(dst), sizeof(gpa)))
3530 * need to perform gpa to hpa translation). Request a call
4662 gpa_t gpa;
4719 gpa = vmcs12->vm_entry_msr_load_addr + (i * sizeof(g));
4720 if (kvm_vcpu_read_guest(vcpu, gpa, &g, sizeof(g))) {
4723 __func__, i, gpa);
4728 gpa = vmcs12->vm_exit_msr_load_addr + (j * sizeof(h));
4729 if (kvm_vcpu_read_guest(vcpu, gpa, &h, sizeof(h))) {
4732 __func__, j, gpa);
5152 vmx->nested.shadow_vmcs12_cache.gpa = INVALID_GPA;
5711 u64 eptp, gpa;