summaryrefslogtreecommitdiffstats
path: root/include/chardev/char-fe.h
diff options
context:
space:
mode:
authorMarc-André Lureau2018-07-11 20:00:19 +0200
committerMarc-André Lureau2018-10-03 12:45:04 +0200
commit425d8a4e70f3946ac649925c4e3211906371ca6d (patch)
tree13010b144fa54cc4a9eeb67d9420ff3ef89ecfdb /include/chardev/char-fe.h
parentchardev: remove qemu_chr_fe_read_all() counter (diff)
downloadqemu-425d8a4e70f3946ac649925c4e3211906371ca6d.tar.gz
qemu-425d8a4e70f3946ac649925c4e3211906371ca6d.tar.xz
qemu-425d8a4e70f3946ac649925c4e3211906371ca6d.zip
chardev: unref if underlying chardev has no parent
It's possible to write code creating a chardev backend that is not registered. When it is not user-created, it makes sense to keep it hidden. Let the associated frontend destroy it also in this case. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'include/chardev/char-fe.h')
0 files changed, 0 insertions, 0 deletions