summaryrefslogtreecommitdiff
path: root/include/linux/kvm_host.h
diff options
context:
space:
mode:
authorHou Wenlong <houwenlong.hwl@antgroup.com>2022-07-01 12:24:13 +0300
committerSean Christopherson <seanjc@google.com>2022-07-13 01:31:12 +0300
commit6e1d2a3f25d518cc3d9703115c6fbec704a6c5bb (patch)
tree71e4b4a4c0046d3e42b1484711a1dc506b084fb3 /include/linux/kvm_host.h
parent156b9d76e8822f2956c15029acf2d4b171502f3a (diff)
downloadlinux-6e1d2a3f25d518cc3d9703115c6fbec704a6c5bb.tar.xz
KVM: x86/mmu: Replace UNMAPPED_GVA with INVALID_GPA for gva_to_gpa()
The result of gva_to_gpa() is physical address not virtual address, it is odd that UNMAPPED_GVA macro is used as the result for physical address. Replace UNMAPPED_GVA with INVALID_GPA and drop UNMAPPED_GVA macro. No functional change intended. Signed-off-by: Hou Wenlong <houwenlong.hwl@antgroup.com> Reviewed-by: Sean Christopherson <seanjc@google.com> Link: https://lore.kernel.org/r/6104978956449467d3c68f1ad7f2c2f6d771d0ee.1656667239.git.houwenlong.hwl@antgroup.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'include/linux/kvm_host.h')
0 files changed, 0 insertions, 0 deletions