summaryrefslogtreecommitdiffstats
path: root/HACKING
diff options
context:
space:
mode:
authorXie Yongji2019-02-28 09:53:49 +0100
committerMichael S. Tsirkin2019-03-13 03:31:21 +0100
commit5ad204bf2a06bf29234df9e6f1ef6c566771b40c (patch)
tree14ae9d6c8aeb387104d49e015e98e777dcab3e38 /HACKING
parentnvdimm: use NVDIMM_ACPI_IO_LEN for the proper IO size (diff)
downloadqemu-5ad204bf2a06bf29234df9e6f1ef6c566771b40c.tar.gz
qemu-5ad204bf2a06bf29234df9e6f1ef6c566771b40c.tar.xz
qemu-5ad204bf2a06bf29234df9e6f1ef6c566771b40c.zip
vhost-user: Support transferring inflight buffer between qemu and backend
This patch introduces two new messages VHOST_USER_GET_INFLIGHT_FD and VHOST_USER_SET_INFLIGHT_FD to support transferring a shared buffer between qemu and backend. Firstly, qemu uses VHOST_USER_GET_INFLIGHT_FD to get the shared buffer from backend. Then qemu should send it back through VHOST_USER_SET_INFLIGHT_FD each time we start vhost-user. This shared buffer is used to track inflight I/O by backend. Qemu should retrieve a new one when vm reset. Signed-off-by: Xie Yongji <xieyongji@baidu.com> Signed-off-by: Chai Wen <chaiwen@baidu.com> Signed-off-by: Zhang Yu <zhangyu31@baidu.com> Message-Id: <20190228085355.9614-2-xieyongji@baidu.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions