KVM: MMU: Allow more than PAGES_PER_HPAGE write protections per large page
authorAvi Kivity <avi@qumranet.com>
Fri, 2 May 2008 10:23:10 +0000 (13:23 +0300)
committerAvi Kivity <avi@qumranet.com>
Sun, 4 May 2008 11:44:49 +0000 (14:44 +0300)
commit93df766322ba1db2801e4b826985a4932dd75866
tree27e4dfcfa8e1ab54f42645d03b3c0a52aeddcfc9
parentbc1a34f1bf354fabc03e3f465620c80e510d0e8f
KVM: MMU: Allow more than PAGES_PER_HPAGE write protections per large page

nonpae guests can call rmap_write_protect twice per page (for page tables)
or four times per page (for page directories), triggering a bogus warning.

Remove the warning.

Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/mmu.c