vhost-scsi: support inflight io track
authorLi Feng <fengli@smartx.com>
Wed, 9 Sep 2020 12:20:21 +0000 (20:20 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 30 Sep 2020 17:09:20 +0000 (19:09 +0200)
commitb82526c7ee484f2ba03944f804ab895aa75d89d3
treea14176df8e7f058b6efa2e4941a8ebb4d5cada96
parentffb716f05015524cc97da18b34748961c743e827
vhost-scsi: support inflight io track

Qemu will send GET_INFLIGHT_FD and SET_INFLIGH_FD to backend, and
the backend setup the inflight memory to track the io.

Change-Id: I805d6189996f7a1b44c65f0b12ef7473b1789510
Signed-off-by: Li Feng <fengli@smartx.com>
Message-Id: <20200909122021.1055174-1-fengli@smartx.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/vhost-scsi-common.c
include/hw/virtio/vhost-scsi-common.h