summaryrefslogtreecommitdiffstats
path: root/include/hw/virtio/virtio-crypto.h
diff options
context:
space:
mode:
authorAlex Bennée2022-08-02 11:49:59 +0200
committerMichael S. Tsirkin2022-10-07 15:41:51 +0200
commitb8f3e6a18de6ad5cb668c5430b4933f1e40783cf (patch)
tree5dae60d01c48a72924737b17221176a1020be804 /include/hw/virtio/virtio-crypto.h
parenthw/virtio: move vm_running check to virtio_device_started (diff)
downloadqemu-b8f3e6a18de6ad5cb668c5430b4933f1e40783cf.tar.gz
qemu-b8f3e6a18de6ad5cb668c5430b4933f1e40783cf.tar.xz
qemu-b8f3e6a18de6ad5cb668c5430b4933f1e40783cf.zip
hw/virtio: move vhd->started check into helper and add FIXME
The `started` field is manipulated internally within the vhost code except for one place, vhost-user-blk via f5b22d06fb (vhost: recheck dev state in the vhost_migration_log routine). Mark that as a FIXME because it introduces a potential race. I think the referenced fix should be tracking its state locally. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20220802095010.3330793-12-alex.bennee@linaro.org> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Raphael Norwitz <raphael.norwittz@nutanix.com>
Diffstat (limited to 'include/hw/virtio/virtio-crypto.h')
0 files changed, 0 insertions, 0 deletions