The main fixes here are in patch 2 and patch 6: watches are lost after migration, and not removed on reset.
The rest are cleanups; patch 5 fixes the qemu_chr_fe_add_watch API, which botches its return value pretty badly. Paolo Paolo Bonzini (6): serial: make tsr_retry unsigned serial: reinstate watch after migration serial: separate serial_xmit and serial_watch_cb serial: simplify tsr_retry reset char: change qemu_chr_fe_add_watch to return unsigned serial: remove watch on reset hw/char/cadence_uart.c | 5 +++- hw/char/serial.c | 59 +++++++++++++++++++++++++++++++++++------------- include/hw/char/serial.h | 3 ++- include/sysemu/char.h | 16 +++++++++++-- qemu-char.c | 8 +++---- 5 files changed, 67 insertions(+), 24 deletions(-) -- 2.5.5