diff options
author | Xie Yongji <xieyongji@bytedance.com> | 2021-08-31 18:36:30 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-09-06 07:20:57 -0400 |
commit | 22af48cf91aae5f2fd32fe811d9be1c52d7a801b (patch) | |
tree | a6073f9bcdd78790114bf3b4be8aaf35acd46106 /include/asm-generic/msi.h | |
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 <jasowang@redhat.com>
Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20210831103634.33-10-xieyongji@bytedance.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/asm-generic/msi.h')
0 files changed, 0 insertions, 0 deletions