KVM: MMU: handle large host sptes on invlpg/resync
authorMarcelo Tosatti <mtosatti@redhat.com>
Mon, 22 Dec 2008 20:49:30 +0000 (18:49 -0200)
committerAvi Kivity <avi@redhat.com>
Wed, 31 Dec 2008 14:55:49 +0000 (16:55 +0200)
The invlpg and sync walkers lack knowledge of large host sptes,
descending to non-existant pagetable level.

Stop at directory level in such case.

Fixes SMP Windows XP with hugepages.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found