diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-06-14 14:35:20 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-06-29 14:03:47 +0200 |
commit | a1df76da57aa8772a75e7c49f8e3829d07b4c46c (patch) | |
tree | aedceb590073b6a1a6edeaa1c3c1ae9928a19c84 /include | |
parent | 6f1de6b70d857d5e316ae6fd908f52818b827b08 (diff) | |
download | qemu-a1df76da57aa8772a75e7c49f8e3829d07b4c46c.zip qemu-a1df76da57aa8772a75e7c49f8e3829d07b4c46c.tar.gz qemu-a1df76da57aa8772a75e7c49f8e3829d07b4c46c.tar.bz2 |
serial: remove watch on reset
Otherwise, this can cause serial_xmit to be entered with LSR.TEMT=0,
which is invalid and causes an assertion failure.
Reported-by: Bret Ketchum <bcketchum@gmail.com>
Tested-by: Bret Ketchum <bcketchum@gmail.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/char/serial.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/char/serial.h b/include/hw/char/serial.h index 6a322eb..9feddc6 100644 --- a/include/hw/char/serial.h +++ b/include/hw/char/serial.h @@ -56,6 +56,7 @@ struct SerialState { int it_shift; int baudbase; uint32_t tsr_retry; + guint watch_tag; uint32_t wakeup; /* Time when the last byte was successfully sent out of the tsr */ |