OSDN Git Service

kvm: x86: fix comment about {mmu,nested_mmu}.gva_to_gpa
authorDavid Matlack <dmatlack@google.com>
Wed, 30 Dec 2015 16:26:17 +0000 (08:26 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 7 Jan 2016 10:03:47 +0000 (11:03 +0100)
commit0af2593b2ad125880a78d1bba966e450cc2330df
tree2b2891addc1821bfd7614660b319da152c1fcc76
parentdef840ede34ea1fa47494c62fba06479af2abbc1
kvm: x86: fix comment about {mmu,nested_mmu}.gva_to_gpa

The comment had the meaning of mmu.gva_to_gpa and nested_mmu.gva_to_gpa
swapped. Fix that, and also add some details describing how each translation
works.

Signed-off-by: David Matlack <dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c