diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2022-07-28 14:55:01 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-08-17 07:07:37 -0400 |
commit | f20400ed0de62ba7682b864e270804ceb3df784a (patch) | |
tree | 63f7b9a7db5d2cffa47077499dc4e5bd66310879 /qapi/qobject-output-visitor.c | |
parent | 9a4b6a63aee885931622549c85669dcca03bed39 (diff) | |
download | qemu-f20400ed0de62ba7682b864e270804ceb3df784a.zip qemu-f20400ed0de62ba7682b864e270804ceb3df784a.tar.gz qemu-f20400ed0de62ba7682b864e270804ceb3df784a.tar.bz2 |
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 'qapi/qobject-output-visitor.c')
0 files changed, 0 insertions, 0 deletions