diff options
author | Michal Novotny <minovotn@redhat.com> | 2010-09-15 15:35:53 +0200 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2010-09-15 15:35:53 +0200 |
commit | 9a7c4878427dba2fbbd080fb21ba66d5daf21b8e (patch) | |
tree | 08c676397f51de89527875ce176d65aa3245a8a7 /hw/serial.c | |
parent | 46411f863c26ff85c48b97939502007610c95398 (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.c | 1 |
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; } |