643caac077496bdaaeaf7c12101b43f62b34393 parent 97d64b788114be1c4dc4bfe7a8ba2bf9643fe6af author Avi Kivity 1347451929 +0300 committer Avi Kivity 1348135208 +0300 KVM: MMU: Simplify walk_addr_generic() loop The page table walk is coded as an infinite loop, with a special case on the last pte. Code it as an ordinary loop with a termination condition on the last pte (large page or walk length exhausted), and put the last pte handling code after the loop where it belongs. Reviewed-by: Xiao Guangrong Signed-off-by: Avi Kivity hÊÐ