diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2022-07-28 14:55:02 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-08-17 07:07:37 -0400 |
commit | 5a9d5f09b1f61bc7072c2389ba5b11350ae76b0d (patch) | |
tree | aae04f6b062dc7b66d089257ce2aaf8461cea7b0 /qemu-io-cmds.c | |
parent | f20400ed0de62ba7682b864e270804ceb3df784a (diff) |
hw/virtio: handle un-configured shutdown in virtio-pci
The assert() protecting against leakage is a little aggressive and
causes needless crashes if a device is shutdown without having been
configured. In this case no descriptors are lost because none have
been assigned.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220728135503.1060062-4-alex.bennee@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions