aboutsummaryrefslogtreecommitdiff
path: root/hw/serial.c
diff options
context:
space:
mode:
authorMichal Novotny <minovotn@redhat.com>2010-09-15 15:35:53 +0200
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2010-09-15 15:35:53 +0200
commit9a7c4878427dba2fbbd080fb21ba66d5daf21b8e (patch)
tree08c676397f51de89527875ce176d65aa3245a8a7 /hw/serial.c
parent46411f863c26ff85c48b97939502007610c95398 (diff)
serial: Update parameters after load
This is the patch to update serial port parameters after guest is already loaded. Signed-off-by: Michal Novotny <minovotn@redhat.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'hw/serial.c')
-rw-r--r--hw/serial.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/serial.c b/hw/serial.c
index f09ce0ac01..9ebc452aea 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;
}