Patch 1 ensures that the serial port state is the same at VM startup
and after reset.

Patch 2 ensures that the poll_msl field is computed at reset time
(rather than arbitrarily later), so that it becomes -1 for serial ports
backed by PTYs, sockets, etc.

Please review!

Paolo

Paolo Bonzini (2):
  serial: reset state at startup
  serial: check if backed by a physical serial port at realize time

 hw/char/serial.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

-- 
2.1.0


Reply via email to