From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUtxY-0008QL-7p for qemu-devel@nongnu.org; Fri, 19 Sep 2014 04:54:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XUtxP-0003zd-7F for qemu-devel@nongnu.org; Fri, 19 Sep 2014 04:54:32 -0400 Received: from mail-we0-x231.google.com ([2a00:1450:400c:c03::231]:49463) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUtxP-0003yc-0U for qemu-devel@nongnu.org; Fri, 19 Sep 2014 04:54:23 -0400 Received: by mail-we0-f177.google.com with SMTP id u57so2125042wes.8 for ; Fri, 19 Sep 2014 01:54:17 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Fri, 19 Sep 2014 10:54:07 +0200 Message-Id: <1411116849-18157-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] serial: cleanups for physical serial port passthrough List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: armbru@redhat.com, pavel.dovgaluk@ispras.ru, batuzovk@ispras.ru Patch 1 ensures that the serial port state is the same at VM startup and after reset. Patch 2 ensures that the poll_msl field is computed at reset time (rather than arbitrarily later), so that it becomes -1 for serial ports backed by PTYs, sockets, etc. Please review! Paolo Paolo Bonzini (2): serial: reset state at startup serial: check if backed by a physical serial port at realize time hw/char/serial.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 2.1.0