diff options
author | John Levon <levon@movementarian.org> | 2025-06-25 20:30:05 +0100 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2025-06-26 08:55:38 +0200 |
commit | 18e899e63dd9d05e567c081023ad7fc5b2c5dc9a (patch) | |
tree | 3ae2f6b165b49a9669ed9f8d727255d1c2af5542 /hw/avr/arduino.c | |
parent | 019232358124e4f4b929e40fa23253de60eec73e (diff) | |
download | qemu-18e899e63dd9d05e567c081023ad7fc5b2c5dc9a.zip qemu-18e899e63dd9d05e567c081023ad7fc5b2c5dc9a.tar.gz qemu-18e899e63dd9d05e567c081023ad7fc5b2c5dc9a.tar.bz2 |
vfio-user: implement VFIO_USER_DMA_MAP/UNMAP
When the vfio-user container gets mapping updates, share them with the
vfio-user by sending a message; this can include the region fd, allowing
the server to directly mmap() the region as needed.
For performance, we only wait for the message responses when we're doing
with a series of updates via the listener_commit() callback.
Originally-by: John Johnson <john.g.johnson@oracle.com>
Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Signed-off-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250625193012.2316242-14-john.levon@nutanix.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions