diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2023-04-04 15:13:19 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-04-21 03:02:33 -0400 |
commit | 9067de4725a299bc1baf11de9f5040fdd0bd05c3 (patch) | |
tree | a58ccfd4e3772d7bd2fa517b3bd1de076299b483 /drivers/virt | |
parent | c618c84d4ccc6268c3da7609c7388b6cb305c639 (diff) |
vhost-vdpa: use bind_mm/unbind_mm device callbacks
When the user call VHOST_SET_OWNER ioctl and the vDPA device
has `use_va` set to true, let's call the bind_mm callback.
In this way we can bind the device to the user address space
and directly use the user VA.
The unbind_mm callback is called during the release after
stopping the device.
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20230404131326.44403-3-sgarzare@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/virt')
0 files changed, 0 insertions, 0 deletions