New memory_op subops which return the apparent or actual physical address map.
Review
Quoted 11 lines · * Xen patchbot-unstable ([email protected]) wrote:
# HG changeset patch
# User [email protected]
# Node ID810ad61870e8c61a4e9ed096c4f73ab62048183b
# Parentebfa1046a81f2243c9742ef0c5f99ccd255f99e5
Newmemory_opsubops which return the apparent or actual physical address map.(quoted diff) +4
-0+ case XENMEM_memory_map: + { + return -ENOSYS; + }
Is this meant to be a place holder? Did you plan to replace the hardcoded single entry map later?
thanks,
-chris
Quoted 7 lines · Chris Wright
Review
Quoted 4 lines
(quoted diff) +4
-0+ case XENMEM_memory_map: + { + return -ENOSYS; + }Is this meant to be a place holder? Did you plan to replace the hardcoded single entry map later?
It will be properly defined for mini-xen, where it will return the real physical memory map. It could also be properly defined for auto-translate guests (where Xen manages the pseudo-physical space and therefore it is reasonable for Xen to provide the pseuophys e820 map). It could also be properly defined for all guests if the guest loader could poke down e820 maps.
-- Keir