qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] serial: Update parameters after load
@ 2010-09-13 13:47 Michal Novotny
  2010-09-15 13:53 ` Edgar E. Iglesias
  0 siblings, 1 reply; 5+ messages in thread
From: Michal Novotny @ 2010-09-13 13:47 UTC (permalink / raw)
  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<minovotn@redhat.com>
---
  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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-09-15 15:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-13 13:47 [Qemu-devel] [PATCH] serial: Update parameters after load Michal Novotny
2010-09-15 13:53 ` Edgar E. Iglesias
2010-09-15 14:39   ` Michal Novotny
2010-09-15 14:45     ` Edgar E. Iglesias
2010-09-15 15:04       ` Michal Novotny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).