The primary change here is patch 2, with the others being cleanup noticed to be worthwhile along the road.
1: don't ignore p2m_remove_page()'s return value 2: don't assert that the passed in MFN matches for a remove 3: make p2m_remove_page()'s parameters type-safe 4: drop pointless nested variable from guest_physmap_add_entry() 5: use available local variable in guest_physmap_add_entry() Jan