]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: Fix inherited permissions for emulated guest pte updates
authorAvi Kivity <avi@qumranet.com>
Sun, 9 Dec 2007 15:00:02 +0000 (17:00 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:20 +0000 (17:53 +0200)
commit944dc52c8dc4621227edff4acf8a8df0f9f8321d
tree1e07a3d17d718d61bbb45e427c7e7980f2b7ad2e
parent8498f89f6218bc937c42fb960a704c5168b5729e
KVM: MMU: Fix inherited permissions for emulated guest pte updates

When we emulate a guest pte write, we fail to apply the correct inherited
permissions from the parent ptes.  Now that we store inherited permissions
in the shadow page, we can use that to update the pte permissions correctly.

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm.h
drivers/kvm/mmu.c
drivers/kvm/paging_tmpl.h