]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio-user: support posted writes
authorJohn Levon <john.levon@nutanix.com>
Wed, 25 Jun 2025 19:30:08 +0000 (20:30 +0100)
committerCédric Le Goater <clg@redhat.com>
Thu, 26 Jun 2025 06:55:38 +0000 (08:55 +0200)
commit98a906d9e5827b18c51d7d7485be2f21f8900cc7
treef3492e6d684d46b2c5bc7897b7a05ae6d56cf8a5
parent3358d926addda99e9f29f57b40d6fd22d2c29472
vfio-user: support posted writes

Support an asynchronous send of a vfio-user socket message (no wait for
a reply) when the write is posted. This is only safe when no regions are
mappable by the VM. Add an option to explicitly disable this as well.

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-17-john.levon@nutanix.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio-user/device.c
hw/vfio-user/pci.c
hw/vfio-user/proxy.c
hw/vfio-user/proxy.h