summary refs log tree commit diff stats
path: root/hw/virtio/vhost-user.c
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2022-07-28 14:55:01 +0100
committerMichael S. Tsirkin <mst@redhat.com>2022-08-17 07:07:37 -0400
commitf20400ed0de62ba7682b864e270804ceb3df784a (patch)
tree63f7b9a7db5d2cffa47077499dc4e5bd66310879 /hw/virtio/vhost-user.c
parent9a4b6a63aee885931622549c85669dcca03bed39 (diff)
downloadfocaccia-qemu-f20400ed0de62ba7682b864e270804ceb3df784a.tar.gz
focaccia-qemu-f20400ed0de62ba7682b864e270804ceb3df784a.zip
hw/virtio: gracefully handle unset vhost_dev vdev
I've noticed asserts firing because we query the status of vdev after
a vhost connection is closed down. Rather than faulting on the NULL
indirect just quietly reply false.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220728135503.1060062-3-alex.bennee@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/virtio/vhost-user.c')
0 files changed, 0 insertions, 0 deletions