diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2010-09-10 17:30:59 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-10-24 10:52:42 +0200 |
commit | 651dd37a9ce6fdacdcd75da86619c62111efcbc2 (patch) | |
tree | 62b8c506c076b4c66e1c144d6e831db551c61749 /usr | |
parent | d41d1895eb856b5d1c82f3be106b7a3e75e4216b (diff) | |
download | op-kernel-dev-651dd37a9ce6fdacdcd75da86619c62111efcbc2.zip op-kernel-dev-651dd37a9ce6fdacdcd75da86619c62111efcbc2.tar.gz |
KVM: MMU: Refactor mmu_alloc_roots function
This patch factors out the direct-mapping paths of the
mmu_alloc_roots function into a seperate function. This
makes it a lot easier to avoid all the unnecessary checks
done in the shadow path which may break when running direct.
In fact, this patch already fixes a problem when running PAE
guests on a PAE shadow page table.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions