hw/virtio: add started_vu status field to vhost-user-gpio
commit060f4a944072ecf37cece0f16a0609babfb679b8
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 30 Nov 2022 11:24:37 +0000 (30 11:24 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 1 Dec 2022 07:30:09 +0000 (1 02:30 -0500)
tree39a5a07ca019e2b4fc72f4033050e38887c15c1b
parent4daa5054c599c8aec70f1264a01341a15921c145
hw/virtio: add started_vu status field to vhost-user-gpio

As per the fix to vhost-user-blk in f5b22d06fb (vhost: recheck dev
state in the vhost_migration_log routine) we really should track the
connection and starting separately.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20221130112439.2527228-4-alex.bennee@linaro.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/vhost-user-gpio.c
include/hw/virtio/vhost-user-gpio.h