commit | ebae6477dc43cf32b91564e07a776d9bff3b052f | [log] [tgz] |
---|---|---|
author | Marc-André Lureau <marcandre.lureau@redhat.com> | Thu Feb 04 14:52:31 2021 +0400 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Thu Feb 04 15:58:54 2021 +0100 |
tree | 51f2cda12d0587ace52ed5a29c0ebf427007f869 | |
parent | 3cddb8b9e0b58eea04e6eb908fc6a12d5af3d3cb [diff] |
chardev: check if the chardev is registered for yanking Not all chardevs are created via qmp_chardev_open_socket(), and those should not call the yank function registration, as this will eventually assert() not being registered. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20210204105232.834642-20-marcandre.lureau@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>