KVM: MMU: Check for root_level instead of long mode
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 10 Sep 2010 15:30:38 +0000 (17:30 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:27 +0000 (10:52 +0200)
The walk_addr function checks for !is_long_mode in its 64
bit version. But what is meant here is a check for pae
paging. Change the condition to really check for pae paging
so that it also works with nested nested paging.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found