serial: fixing vmstate for save/restore

Enterprise / Virtualization / QEMU - Pavel Dovgalyuk [ispras.ru] - 11 September 2014 05:20 UTC

Some fields were added to VMState by this patch to preserve correct loading of the serial port controller state. Updating FCR value while loading was also modified to disable generating an interrupt by loadvm.

7385b27 serial: fixing vmstate for save/restore
hw/char/serial.c | 225 ++++++++++++++++++++++++++++++++++++++++++++++--------
1 file changed, 195 insertions(+), 30 deletions(-)

Upstream: git.qemu.org


  • Share