From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=58216 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ov9Lj-0001W9-8h for qemu-devel@nongnu.org; Mon, 13 Sep 2010 09:45:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ov9Li-0005HK-2Q for qemu-devel@nongnu.org; Mon, 13 Sep 2010 09:45:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58314) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ov9Lh-0005HD-SE for qemu-devel@nongnu.org; Mon, 13 Sep 2010 09:45:34 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o8DDjWpB018821 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 13 Sep 2010 09:45:33 -0400 Received: from mig-laptop.brq.redhat.com (mig-laptop.brq.redhat.com [10.34.26.9]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o8DDjVA4003358 for ; Mon, 13 Sep 2010 09:45:32 -0400 Message-ID: <4C8E2B60.1010909@redhat.com> Date: Mon, 13 Sep 2010 15:47:12 +0200 From: Michal Novotny MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH] serial: Update parameters after load List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "qemu-devel@nongnu.org" Hi, this is the patch to update serial port parameters after guest is already loaded. Signed-off-by: Michal Novotny --- hw/serial.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/serial.c b/hw/serial.c index 49431b2..bf74876 100644 --- a/hw/serial.c +++ b/hw/serial.c @@ -674,6 +674,7 @@ static int serial_post_load(void *opaque, int version_id) } /* Initialize fcr via setter to perform essential side-effects */ serial_ioport_write(s, 0x02, s->fcr_vmstate); + serial_update_parameters(s); return 0; } -- 1.7.2.3