summary refs log tree commit diff stats
path: root/docs/devel/secure-coding-practices.rst
diff options
context:
space:
mode:
authorLi Feng <fengli@smartx.com>2023-10-09 12:46:57 +0800
committerMichael S. Tsirkin <mst@redhat.com>2023-10-22 05:18:17 -0400
commitf7bd1437ba877e6509fff2b5ffce82500bc79559 (patch)
treef87048f26f0daa8630d58f40aaa4c389d94b65b5 /docs/devel/secure-coding-practices.rst
parentaa0c9aec575f6dba4e6548ad9e5de1b1899d843e (diff)
downloadfocaccia-qemu-f7bd1437ba877e6509fff2b5ffce82500bc79559.tar.gz
focaccia-qemu-f7bd1437ba877e6509fff2b5ffce82500bc79559.zip
vhost-user-common: send get_inflight_fd once
Currently the get_inflight_fd will be sent every time the device is started, and
the backend will allocate shared memory to save the inflight state. If the
backend finds that it receives the second get_inflight_fd, it will release the
previous shared memory, which breaks inflight working logic.

This patch is a preparation for the following patches.

Signed-off-by: Li Feng <fengli@smartx.com>
Reviewed-by: Raphael Norwitz <raphael.norwitz@nutanix.com>
Message-Id: <20231009044735.941655-2-fengli@smartx.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'docs/devel/secure-coding-practices.rst')
0 files changed, 0 insertions, 0 deletions