]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit419585a41ea03557f49c48e2c61e5f9eae1a73b7
tree2b2891addc1821bfd7614660b319da152c1fcc76
parent9f0836847dc4974115a1bad07a7d4d05a62f3373
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