On 6/25/25 21:30, John Levon wrote:
From: John Levon <[email protected]>

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 <[email protected]>
Signed-off-by: Jagannathan Raman <[email protected]>
Signed-off-by: Elena Ufimtseva <[email protected]>
Signed-off-by: John Levon <[email protected]>
---
  hw/vfio-user/protocol.h   |  32 +++++++++
  hw/vfio-user/proxy.h      |   6 ++
  hw/vfio-user/container.c  | 135 +++++++++++++++++++++++++++++++++++++-
  hw/vfio-user/proxy.c      |  84 +++++++++++++++++++++++-
  hw/vfio-user/trace-events |   4 ++
  5 files changed, 257 insertions(+), 4 deletions(-)


Reviewed-by: Cédric Le Goater <[email protected]>

Thanks,

C.




Reply via email to