]> git.proxmox.com Git - qemu.git/commit
monitor: fix muxing
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 10 Sep 2009 08:58:54 +0000 (10:58 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 11 Sep 2009 15:19:49 +0000 (10:19 -0500)
commita7aec5da4d3d20e9c505f59487da56fce0a08f3c
treeb84e4583842db8f8902a6f50717b4773b8f362fe
parent06113719be29c6f8e3f93f98c4ebe3318e889c0c
monitor: fix muxing

make the mux driver send mux_in and mux_out events when switching
focus while hooking up more handlers.

stop using CharDriverState->focus in monitor.c, track state using
the mux events instead.  This also removes the implicit assumtion
that a muxed monitor allways has mux channel 0.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
monitor.c
qemu-char.c