All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Marc-André Lureau" <marcandre.lureau@redhat.com>
To: qemu-devel@nongnu.org
Cc: pbonzini@redhat.com,
	"Marc-André Lureau" <marcandre.lureau@redhat.com>,
	qemu-stable@nongnu.org
Subject: [Qemu-devel] [PATCH] mux: fix ctrl-a b again
Date: Mon, 16 Apr 2018 20:18:44 +0200	[thread overview]
Message-ID: <20180416181844.7851-1-marcandre.lureau@redhat.com> (raw)

Commit fb5e19d2e1472e96d72d5e4d89c20033f8ab345c originally fixed the
regression, but was inadvertently broken again in merge commit
2d6752d38d8acda.

Fixes:
https://bugs.launchpad.net/qemu/+bug/1654137

Cc: qemu-stable@nongnu.org
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 chardev/char-mux.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/chardev/char-mux.c b/chardev/char-mux.c
index 1b925c8dec..6055e76293 100644
--- a/chardev/char-mux.c
+++ b/chardev/char-mux.c
@@ -304,6 +304,7 @@ void mux_set_focus(Chardev *chr, int focus)
     }
 
     d->focus = focus;
+    chr->be = d->backends[focus];
     mux_chr_send_event(d, d->focus, CHR_EVENT_MUX_IN);
 }
 
-- 
2.17.0.rc1.36.gcedb63ea2f

             reply	other threads:[~2018-04-16 18:18 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-16 18:18 Marc-André Lureau [this message]
2018-04-16 18:28 ` [Qemu-devel] [PATCH] mux: fix ctrl-a b again Peter Maydell
2018-04-16 18:44   ` Daniel P. Berrangé
2018-04-17 12:51     ` Peter Maydell
2018-04-17 18:36       ` Philippe Mathieu-Daudé
2018-04-17 20:07         ` Peter Maydell
2018-04-17 21:19         ` Peter Maydell
2018-04-17 21:33           ` Marc-André Lureau
2018-04-18 10:36         ` Marc-André Lureau
2018-04-18 10:55           ` Paolo Bonzini
2018-04-18 11:35             ` Marc-André Lureau
2018-04-18 11:55               ` Paolo Bonzini
2018-04-18 12:22                 ` Marc-André Lureau
2018-04-18 13:47                   ` Paolo Bonzini
2018-04-18 14:01                     ` Marc-André Lureau
2018-04-18 12:06           ` Peter Maydell
2018-04-18 13:49             ` Paolo Bonzini
2018-04-18 14:32           ` Philippe Mathieu-Daudé
2018-04-18 14:38             ` Philippe Mathieu-Daudé

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180416181844.7851-1-marcandre.lureau@redhat.com \
    --to=marcandre.lureau@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-stable@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.