From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59472) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ulv5M-0003KQ-4Z for qemu-devel@nongnu.org; Mon, 10 Jun 2013 01:56:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ulv5L-0008Ho-9z for qemu-devel@nongnu.org; Mon, 10 Jun 2013 01:56:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:8575) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ulv5L-0008Hi-20 for qemu-devel@nongnu.org; Mon, 10 Jun 2013 01:56:07 -0400 Message-ID: <51B56A71.406@redhat.com> Date: Mon, 10 Jun 2013 07:56:01 +0200 From: Gerd Hoffmann MIME-Version: 1.0 References: <4543955.Y102znvq4W@al> In-Reply-To: <4543955.Y102znvq4W@al> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] chardev: add baud parameter for serial host device List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Wu Cc: Anthony Liguori , qemu-devel@nongnu.org On 06/08/13 23:49, Peter Wu wrote: > When QEMU starts, it always changes the serial port parameters including baud > rate. This confused my guest which thought it was outputting at 9600 baud while > it was in fact changed to 115200. > > After this patch, I can use `-serial /dev/ttyS0,baud=9600` to override the > default baud rate of 115200. I think we should just flip the default to 9600. IIRC this is the power-on default baud rate of the 8250 uart family, so this should be the qemu default too. If a guest wants to use a higher baudrate it has to reprogram the uart anyway (and qemu will apply the guest changes to the host uart). cheers, Gerd