v3 manages to separate the migration fix from subsequent semantic changes, to make the backport as safe as possible.
Paolo Bonzini (4): serial: reset thri_pending on IER writes with THRI=0 serial: clean up THRE/TEMT handling serial: update LSR on enabling/disabling FIFOs serial: only resample THR interrupt on rising edge of IER.THRI hw/char/serial.c | 58 ++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 40 insertions(+), 18 deletions(-) -- 1.8.3.1