summaryrefslogtreecommitdiff
path: root/hw
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
commit1d6119f2d76403ceb157d8a323b32321784ebf0d (patch)
tree08c676397f51de89527875ce176d65aa3245a8a7 /hw
parent67ca68a13613b2833d1a202e22cf8473536ab4a8 (diff)
downloadqemu-1d6119f2d76403ceb157d8a323b32321784ebf0d.tar.gz
qemu-1d6119f2d76403ceb157d8a323b32321784ebf0d.tar.bz2
qemu-1d6119f2d76403ceb157d8a323b32321784ebf0d.zip
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')
-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;
}