diff options
| author | Li Feng | 2020-09-09 14:20:21 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2020-09-30 19:09:20 +0200 |
| commit | b82526c7ee484f2ba03944f804ab895aa75d89d3 (patch) | |
| tree | a14176df8e7f058b6efa2e4941a8ebb4d5cada96 /include/hw/virtio | |
| parent | memory: Convert IOMMUMemoryRegionClass doc comment to kernel-doc (diff) | |
| download | qemu-b82526c7ee484f2ba03944f804ab895aa75d89d3.tar.gz qemu-b82526c7ee484f2ba03944f804ab895aa75d89d3.tar.xz qemu-b82526c7ee484f2ba03944f804ab895aa75d89d3.zip | |
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>
Diffstat (limited to 'include/hw/virtio')
| -rw-r--r-- | include/hw/virtio/vhost-scsi-common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/virtio/vhost-scsi-common.h b/include/hw/virtio/vhost-scsi-common.h index 0c8909d12a..18f115527c 100644 --- a/include/hw/virtio/vhost-scsi-common.h +++ b/include/hw/virtio/vhost-scsi-common.h @@ -35,6 +35,8 @@ struct VHostSCSICommon { int lun; uint64_t host_features; bool migratable; + + struct vhost_inflight *inflight; }; int vhost_scsi_common_start(VHostSCSICommon *vsc); |
