Re: [Qemu-devel] [PATCH] serial: do not trigger THR interrupt after writing to IER

2014-12-11 Thread Paolo Bonzini
On 10/12/2014 17:34, Paolo Bonzini wrote: > This is responsible for failure of migration from 2.2 to 2.1, because > thr_ipending is always one in practice. Calling serial_update_irq is > the right thing to do indeed, because writing to IER could cause an > interrupt to appear. However, there is

[Qemu-devel] [PATCH] serial: do not trigger THR interrupt after writing to IER

2014-12-10 Thread Paolo Bonzini
This is responsible for failure of migration from 2.2 to 2.1, because thr_ipending is always one in practice. Calling serial_update_irq is the right thing to do indeed, because writing to IER could cause an interrupt to appear. However, there is no reason to set thr_ipending again. This was alre