diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-09-09 11:52:33 (GMT) |
---|---|---|
committer | Gleb Natapov <gleb@redhat.com> | 2013-09-17 09:52:31 (GMT) |
commit | ba6a3541545542721ce821d1e7e5ce35752e6fdf (patch) | |
tree | b53ff602454f383dc8148d38d7d870972d7866db /include/linux/i2c/apds990x.h | |
parent | 3261107ebfd8f6bba57cfcdb89385779fd149a00 (diff) | |
download | linux-fsl-qoriq-ba6a3541545542721ce821d1e7e5ce35752e6fdf.tar.xz |
KVM: mmu: allow page tables to be in read-only slots
Page tables in a read-only memory slot will currently cause a triple
fault because the page walker uses gfn_to_hva and it fails on such a slot.
OVMF uses such a page table; however, real hardware seems to be fine with
that as long as the accessed/dirty bits are set. Save whether the slot
is readonly, and later check it when updating the accessed and dirty bits.
Reviewed-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Reviewed-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/linux/i2c/apds990x.h')
0 files changed, 0 insertions, 0 deletions