aboutsummaryrefslogtreecommitdiff
path: root/blockjob.c
diff options
context:
space:
mode:
authorTom Lonergan <tom.lonergan@nutanix.com>2023-06-28 16:39:26 +0000
committerMichael S. Tsirkin <mst@redhat.com>2023-07-10 16:17:08 -0400
commit0dcb4172f2cecdfae113239ff931718eefdeb2d2 (patch)
treea4dcb109dbe4612d7d623c08b885e916c03d0028 /blockjob.c
parent196ea60a734c346d7d75f1d89aa37703d4d854e7 (diff)
downloadqemu-0dcb4172f2cecdfae113239ff931718eefdeb2d2.zip
qemu-0dcb4172f2cecdfae113239ff931718eefdeb2d2.tar.gz
qemu-0dcb4172f2cecdfae113239ff931718eefdeb2d2.tar.bz2
vhost-user: Change one_time to per_device request
Some devices, like virtio-scsi, consist of one vhost_dev, while others, like virtio-net, contain multiple vhost_devs. The QEMU vhost-user code has a concept of one-time messages which is misleading. One-time messages are sent once per operation on the device, not once for the lifetime of the device. Therefore, as discussed in [1], vhost_user_one_time_request should be renamed to vhost_user_per_device_request and the relevant comments updated to match the real functionality. [1] https://lore.kernel.org/qemu-devel/20230127083027-mutt-send-email-mst@kernel.org/ Signed-off-by: Tom Lonergan <tom.lonergan@nutanix.com> Message-Id: <20230628163927.108171-2-tom.lonergan@nutanix.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Raphael Norwitz <raphael.norwitz@nutanix.com>
Diffstat (limited to 'blockjob.c')
0 files changed, 0 insertions, 0 deletions