diff options
author | Daniel De Graaf <[email protected]> | 2011-12-14 15:12:10 -0500 |
---|---|---|
committer | Konrad Rzeszutek Wilk <[email protected]> | 2011-12-20 17:05:25 -0500 |
commit | 2946a52ac7d57c9d02db477e3684259d86446ea7 (patch) | |
tree | 4524ae73f7aeafb4f2128001ca3e043d74a89c31 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 2c5d37d30fbd27d424a18abc16786cb152a37017 (diff) |
xenbus: Use grant-table wrapper functions
For xenbus_{map,unmap}_ring to work on HVM, the grant table operations
must be set up using the gnttab_set_{map,unmap}_op functions instead of
directly populating the fields of gnttab_map_grant_ref. These functions
simply populate the structure on paravirtualized Xen; however, on HVM
they must call __pa() on vaddr when populating op->host_addr because the
hypervisor cannot directly interpret guest-virtual addresses.
Signed-off-by: Daniel De Graaf <[email protected]>
[v1: Fixed cleanpatch error]
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions