diff options
author | Xie Yongji <[email protected]> | 2022-08-03 12:55:21 +0800 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2022-08-11 04:26:08 -0400 |
commit | 6c77ed22880d3e8ae91b1d2cce26dbd6c69f38b7 (patch) | |
tree | d0342af57794fca63459d51b78c274e81ef06748 /lib/mpi/mpi-sub-ui.c | |
parent | 82eb46f94ae5faa87ace248d950292c87384a097 (diff) |
vduse: Support using userspace pages as bounce buffer
Introduce two APIs: vduse_domain_add_user_bounce_pages()
and vduse_domain_remove_user_bounce_pages() to support
adding and removing userspace pages for bounce buffers.
During adding and removing, the DMA data would be copied
from the kernel bounce pages to the userspace bounce pages
and back.
Signed-off-by: Xie Yongji <[email protected]>
Acked-by: Jason Wang <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions