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>
This commit is contained in:
Michal Novotny 2010-09-15 15:35:53 +02:00 committed by Edgar E. Iglesias
parent 46411f863c
commit 9a7c487842

View 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;
}