On 6/25/25 21:30, John Levon wrote:
From: John Levon <le...@movementarian.org>

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.john...@oracle.com>
Signed-off-by: Jagannathan Raman <jag.ra...@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimts...@oracle.com>
Signed-off-by: John Levon <john.le...@nutanix.com>
---
  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 <c...@redhat.com>

Thanks,

C.




Reply via email to