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
..
2013-02-22 21:29:44 +01:00
2013-03-26 16:16:43 -05:00
2012-10-23 08:58:25 -05:00
2013-03-12 10:35:55 +01:00
2013-03-22 13:25:07 +01:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:31 +01:00
2012-10-23 08:58:25 -05:00
2013-01-07 12:57:24 +01:00
2013-03-26 13:30:49 +01:00
2012-10-23 08:58:25 -05:00
2013-03-18 19:40:34 +01:00
2012-10-23 08:58:25 -05:00
2013-03-25 11:13:10 +01:00
2012-11-12 16:42:56 +01:00
2012-12-19 08:31:31 +01:00
2012-11-10 13:49:20 +00:00
2013-03-18 10:21:56 +01:00
2013-03-28 12:59:23 -05:00
2013-03-15 16:41:58 +00:00
2012-12-04 13:52:43 +01:00
2013-01-15 04:09:13 +01:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:31 +01:00
2013-03-22 13:25:07 +01:00
2013-03-22 13:30:40 +01:00
2012-10-23 08:58:25 -05:00
2013-03-26 16:16:43 -05:00
2013-04-01 13:35:40 -06:00
2013-02-01 11:03:02 -06:00
2013-02-01 11:03:02 -06:00
2013-03-26 16:16:43 -05:00
2013-03-25 11:13:10 +01:00
2013-03-15 16:41:59 +00:00