Am 22.06.2011 um 10:58 schrieb Pavel Dovgaluk:
This patch fixes save/restore of serial interface's state.
It includes changing of fcr setter function (it now does not
invoke
an interrupt while loading vmstate), and saving/restoring all
fields that describe the state of serial interface (including
timers).
Signed-off-by: Pavel Dovgalyuk <pavel.dovga...@gmail.com>
If the port is disabled, the state will not be saved, isn't it?
See the ISA reconfigurability / PReP series for a counter-example [1].
Whether the state is saved depends on whether the isa-serial qdev
device is instantiated, not on whether the port is active. Therefore a
subsection will be even more useful here.
Andreas
[1] http://patchwork.ozlabs.org/patch/100274/