diff options
author | Alex Bennée | 2022-08-02 11:49:59 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2022-10-07 15:41:51 +0200 |
commit | b8f3e6a18de6ad5cb668c5430b4933f1e40783cf (patch) | |
tree | 5dae60d01c48a72924737b17221176a1020be804 /include/hw/virtio/virtio-crypto.h | |
parent | hw/virtio: move vm_running check to virtio_device_started (diff) | |
download | qemu-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