diff options
author | Paul Durrant <[email protected]> | 2018-05-09 14:16:12 +0100 |
---|---|---|
committer | Juergen Gross <[email protected]> | 2018-05-14 15:25:37 +0200 |
commit | 3ad0876554cafa368f574d4d408468510543e9ff (patch) | |
tree | 7fade80924630151265270e68355d3f68b029bad /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 4bf2cc9645599382e34b7d0cbe5a13d0de98194e (diff) |
xen/privcmd: add IOCTL_PRIVCMD_MMAP_RESOURCE
My recent Xen patch series introduces a new HYPERVISOR_memory_op to
support direct priv-mapping of certain guest resources (such as ioreq
pages, used by emulators) by a tools domain, rather than having to access
such resources via the guest P2M.
This patch adds the necessary infrastructure to the privcmd driver and
Xen MMU code to support direct resource mapping.
NOTE: The adjustment in the MMU code is partially cosmetic. Xen will now
allow a PV tools domain to map guest pages either by GFN or MFN, thus
the term 'mfn' has been swapped for 'pfn' in the lower layers of the
remap code.
Signed-off-by: Paul Durrant <[email protected]>
Reviewed-by: Boris Ostrovsky <[email protected]>
Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions