summary refs log tree commit diff stats
path: root/python/qemu/utils/accel.py
diff options
context:
space:
mode:
authorEugenio Pérez <eperezma@redhat.com>2022-07-20 08:59:40 +0200
committerJason Wang <jasowang@redhat.com>2022-07-20 16:58:08 +0800
commit463ba1e3b8cf080812895c5f26d95d8d7db2e692 (patch)
tree1c3ff4cbb4f335f9ff5c7f3256f134bb85b6a06b /python/qemu/utils/accel.py
parente966c0b781aebabd2c0f5eef91678f08ce1d068c (diff)
downloadfocaccia-qemu-463ba1e3b8cf080812895c5f26d95d8d7db2e692.tar.gz
focaccia-qemu-463ba1e3b8cf080812895c5f26d95d8d7db2e692.zip
vdpa: Export vhost_vdpa_dma_map and unmap calls
Shadow CVQ will copy buffers on qemu VA, so we avoid TOCTOU attacks from
the guest that could set a different state in qemu device model and vdpa
device.

To do so, it needs to be able to map these new buffers to the device.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'python/qemu/utils/accel.py')
0 files changed, 0 insertions, 0 deletions