VMASST_TYPE_writable_pagetables on translated domains?
Isn't the writeable page table support intended only for non-translated domains? If so, shouldn't fixup_page_fault() check for this, or the setting of the assist bit and the PG_translate be respectively validated? If not, aren't there bits missing in ptwr_do_page_fault()?
Jan
Quoted 7 lines · Jan Beulich
Isn't the writeable page table support intended only for non-translated domains?
If so, shouldn'tfixup_page_fault()check for this, or the setting of the assist bit
and thePG_translatebe respectively validated? If not, aren't there bits missing
inptwr_do_page_fault()?
I think we've been here before. :-)
Current shadow code supports translated domains only in shadow-mode-refcount configuration (which also implies shadow-mode-external, and hence hvm too, as it happens).
In light of this there is quite some scope for simplification and rationalisation in arch/x86/mm.c.
-- Keir