aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-10-13 15:14:41 +0400
committerPeter Maydell <peter.maydell@linaro.org>2016-10-13 13:56:31 +0100
commit692d88b4085559f1254d0e04d64a849ce8ab5932 (patch)
treea3534b89be7fe2b9be9849b5e180a7734c868837 /include
parentc9662023ab97cd163bb5525bf5007422fdff7983 (diff)
Revert "char: use a fixed idx for child muxed chr"
That commit mis-used mux char: the frontend are multiplexed, not the backend. Fix the regression preventing "c-a c" to switch the focus. The following patches will fix the crash (when leaving or removing frontend) by tracking frontends with handler tags. This reverts commit 949055a2549afc4cde06b7972072c7288bb43722. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/sysemu/char.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sysemu/char.h b/include/sysemu/char.h
index 0d121756ef..19dad3fb9c 100644
--- a/include/sysemu/char.h
+++ b/include/sysemu/char.h
@@ -107,7 +107,6 @@ struct CharDriverState {
int explicit_be_open;
int avail_connections;
int is_mux;
- int mux_idx;
guint fd_in_tag;
bool replay;
DECLARE_BITMAP(features, QEMU_CHAR_FEATURE_LAST);