diff options
author | Xie Yongji <[email protected]> | 2021-08-31 18:36:30 +0800 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2021-09-06 07:20:57 -0400 |
commit | 22af48cf91aae5f2fd32fe811d9be1c52d7a801b (patch) | |
tree | a6073f9bcdd78790114bf3b4be8aaf35acd46106 /tools/perf/util/trace-event-scripting.c | |
parent | c10fb9454adc80c062151c6a436047e1fa59e99f (diff) |
vdpa: factor out vhost_vdpa_pa_map() and vhost_vdpa_pa_unmap()
The upcoming patch is going to support VA mapping/unmapping.
So let's factor out the logic of PA mapping/unmapping firstly
to make the code more readable.
Suggested-by: Jason Wang <[email protected]>
Signed-off-by: Xie Yongji <[email protected]>
Acked-by: Jason Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions