KVM: MMU: Disable write access on clean large pages
authorAvi Kivity <avi@qumranet.com>
Thu, 11 Oct 2007 13:12:24 +0000 (15:12 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:52:52 +0000 (17:52 +0200)
By forcing clean huge pages to be read-only, we have separate roles
for the shadow of a clean large page and the shadow of a dirty large
page.  This is necessary because different ptes will be instantiated
for the two cases, even for read faults.

Signed-off-by: Avi Kivity <avi@qumranet.com>

No differences found