From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JxRHL-0003Vu-Lp for qemu-devel@nongnu.org; Sat, 17 May 2008 14:37:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JxRHJ-0003U0-Si for qemu-devel@nongnu.org; Sat, 17 May 2008 14:37:11 -0400 Received: from [199.232.76.173] (port=45575 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JxRHJ-0003TZ-HN for qemu-devel@nongnu.org; Sat, 17 May 2008 14:37:09 -0400 Received: from ug-out-1314.google.com ([66.249.92.173]:45932) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JxRHJ-0000J8-6m for qemu-devel@nongnu.org; Sat, 17 May 2008 14:37:09 -0400 Received: by ug-out-1314.google.com with SMTP id j40so141437ugd.4 for ; Sat, 17 May 2008 11:37:08 -0700 (PDT) Message-ID: Date: Sat, 17 May 2008 20:37:08 +0200 From: "andrzej zaborowski" Subject: Re: [Qemu-devel] [PATCH] serial save load fix In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <482C6C78.6050708@virtualiron.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ben Guthro Cc: Robert Phillips , qemu-devel@nongnu.org On 17/05/2008, andrzej zaborowski wrote: > On 15/05/2008, Ben Guthro wrote: > > This patch fixes several bugs in serial.c > > (1) No support provided in serial_load() for version_id == 1 (should > > unmarshal > > a 1 byte s->divider and should provide a default value for s->fcr > > (2) Call serial_ioport_write() to initialize s->fcr. It is not sufficient > > to load its value; other hidden values (such as s->recv_fifo.itl) must be > > re-initialized. > > > The patch does apply (other than it has to be de-HTML-ised) but > version 2 of serial_load doesn't save the FCR, at least in the SVN Err, of serial_save.