]> Git Repo - qemu.git/commitdiff
serial: Update parameters after load
authorMichal Novotny <[email protected]>
Wed, 15 Sep 2010 13:35:53 +0000 (15:35 +0200)
committerEdgar E. Iglesias <[email protected]>
Wed, 15 Sep 2010 13:35:53 +0000 (15:35 +0200)
This is the patch to update serial port parameters after guest is
already loaded.

Signed-off-by: Michal Novotny <[email protected]>
Signed-off-by: Edgar E. Iglesias <[email protected]>
hw/serial.c

index f09ce0ac01c399ff439deb821f0d16c8b2d32d3c..9ebc452aeade324b22aff373eeddc323eaabf882 100644 (file)
@@ -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;
 }
 
This page took 0.027414 seconds and 4 git commands to generate.