qemu-e2k/backends
Hans de Goede 456d606923 qemu-char: Call fe_claim / fe_release when not using qdev chr properties
chardev-frontends need to explictly check, increase and decrement the
avail_connections "property" of the chardev when they are not using a
qdev-chardev-property for the chardev.

This fixes things like:
qemu-kvm -chardev stdio,id=foo -device isa-serial,chardev=foo \
  -mon chardev=foo

Working, where they should fail. Most of the changes here are due to
old hardware emulation code which is using serial_hds directly rather then
a qdev-chardev-property.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Message-id: 1364412581-3672-3-git-send-email-hdegoede@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-04-04 19:21:25 -05:00
..
baum.c qemu-char: Rename qemu_chr_generic_open to qemu_chr_be_generic_open 2013-03-27 10:26:49 -05:00
Makefile.objs QOM-ify the TPM support 2013-04-02 08:15:18 -05:00
msmouse.c
rng-egd.c qemu-char: Call fe_claim / fe_release when not using qdev chr properties 2013-04-04 19:21:25 -05:00
rng-random.c
rng.c
tpm.c QOM-ify the TPM support 2013-04-02 08:15:18 -05:00