From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NXJJa-0001UU-Tu for qemu-devel@nongnu.org; Tue, 19 Jan 2010 14:00:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NXJJV-0001Pt-FC for qemu-devel@nongnu.org; Tue, 19 Jan 2010 14:00:33 -0500 Received: from [199.232.76.173] (port=43296 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NXJJV-0001Pl-Ak for qemu-devel@nongnu.org; Tue, 19 Jan 2010 14:00:29 -0500 Received: from mx1.redhat.com ([209.132.183.28]:12105) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NXJJU-0004od-PL for qemu-devel@nongnu.org; Tue, 19 Jan 2010 14:00:29 -0500 Date: Wed, 20 Jan 2010 00:29:21 +0530 From: Amit Shah Subject: Re: [Qemu-devel] [PATCH 0/8] virtio-console: Move to qdev, multiple devices, generic ports Message-ID: <20100119185921.GF27165@amit-x200.redhat.com> References: <1263475063-15238-1-git-send-email-amit.shah@redhat.com> <4B4F2B82.9000800@codemonkey.ws> <20100119175933.GF1323@shareable.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100119175933.GF1323@shareable.org> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jamie Lokier Cc: qemu-devel@nongnu.org On (Tue) Jan 19 2010 [17:59:33], Jamie Lokier wrote: > > What happens if the guest crashes, kexecs or whatever when it's half > way through sending a cut buffer? A stream protocol will not have a > nice way to recover from that unless there is an additional "out of > band" way to say "I'm starting again". Does virtio-serial have an > "I'm starting again" which is passed to the host side application? That's what I meant when I was talking about the START and END delimiters. I've removed those for now though. Something like what you suggest can be added later on. Amit