From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF0CN-00080C-DH for qemu-devel@nongnu.org; Mon, 20 Jun 2016 10:29:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bF0CK-0003Ab-Me for qemu-devel@nongnu.org; Mon, 20 Jun 2016 10:29:11 -0400 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:37129) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF0CK-0003AX-Ex for qemu-devel@nongnu.org; Mon, 20 Jun 2016 10:29:08 -0400 Received: by mail-wm0-x22e.google.com with SMTP id a66so81528346wme.0 for ; Mon, 20 Jun 2016 07:29:08 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Mon, 20 Jun 2016 16:28:59 +0200 Message-Id: <1466432945-28682-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 0/6] serial: flow control fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: dgilbert@redhat.com, bcketchum@gmail.com The main fixes here are in patch 2 and patch 6: watches are lost after migration, and not removed on reset. The rest are cleanups; patch 5 fixes the qemu_chr_fe_add_watch API, which botches its return value pretty badly. Paolo Paolo Bonzini (6): serial: make tsr_retry unsigned serial: reinstate watch after migration serial: separate serial_xmit and serial_watch_cb serial: simplify tsr_retry reset char: change qemu_chr_fe_add_watch to return unsigned serial: remove watch on reset hw/char/cadence_uart.c | 5 +++- hw/char/serial.c | 59 +++++++++++++++++++++++++++++++++++------------- include/hw/char/serial.h | 3 ++- include/sysemu/char.h | 16 +++++++++++-- qemu-char.c | 8 +++---- 5 files changed, 67 insertions(+), 24 deletions(-) -- 2.5.5