Avi Kivity <avi@xxxxxxxxxx> writes: > > With EPT or NPT you cannot detect if a page is read only. Why not? You can always walk the page tables manually again. > Furthermore, at least Linux (without highmem) maps all of memory with > a read/write mapping in addition to the per-process mapping, so no > page is read-only. Even with 32bit highmem most memory will be eventually mapped writable by kmap when. There's currently no concept of a ro-kmap. However I suspect it wouldn't be too hard to add one. -Andi -- ak@xxxxxxxxxxxxxxx -- Speaking for myself only -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html