projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46411f8
)
serial: Update parameters after load
author
Michal Novotny
<minovotn@redhat.com>
Wed, 15 Sep 2010 13:35:53 +0000
(15:35 +0200)
committer
Edgar E. Iglesias
<edgar.iglesias@gmail.com>
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 <minovotn@redhat.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
hw/serial.c
patch
|
blob
|
history
diff --git
a/hw/serial.c
b/hw/serial.c
index f09ce0ac01c399ff439deb821f0d16c8b2d32d3c..9ebc452aeade324b22aff373eeddc323eaabf882 100644
(file)
--- 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;
}