commit | 957446afce22df9a42b9482fcd55985f4037fe66 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Fri Sep 10 17:30:38 2010 +0200 |
committer | Avi Kivity <avi@redhat.com> | Sun Oct 24 10:52:27 2010 +0200 |
tree | 13b3965a5cb6096397ec2ed4cdd5a5a4e2ec7fe6 | |
parent | 7b91409822ed37f2a58974e49498bdbe92ddd93c [diff] |
KVM: MMU: Check for root_level instead of long mode 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>