]> git.proxmox.com Git - qemu.git/commit - qemu-char.c
chardev: Allow frontends to notify backends of guest open / close
authorHans de Goede <hdegoede@redhat.com>
Thu, 24 Mar 2011 10:12:02 +0000 (11:12 +0100)
committerAmit Shah <amit.shah@redhat.com>
Thu, 28 Apr 2011 05:32:21 +0000 (11:02 +0530)
commit7c32c4feebd962960fb160291a426b983e0ae668
tree1757d459bbb1202e0e2a377862805e49fb9c0437
parenta7d3970d0635ebce1412736e7aaf11d387919dc8
chardev: Allow frontends to notify backends of guest open / close

Some frontends know when the guest has opened the "channel" and is actively
listening to it, for example virtio-serial. This patch adds 2 new qemu-chardev
functions which can be used by frontends to signal guest open / close, and
allows interested backends to listen to this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
qemu-char.c
qemu-char.h