summaryrefslogtreecommitdiffstats
path: root/vl.c
diff options
context:
space:
mode:
authorEd Swierk2017-01-31 14:45:29 +0100
committerPaolo Bonzini2017-02-16 14:06:55 +0100
commit1c64fdbc8177058802df205f5d7cd65edafa59a8 (patch)
treeb610a6e7772694f175220badcc98ae55f9520199 /vl.c
parentapic: reset apic_delivered global variable on machine reset (diff)
downloadqemu-1c64fdbc8177058802df205f5d7cd65edafa59a8.tar.gz
qemu-1c64fdbc8177058802df205f5d7cd65edafa59a8.tar.xz
qemu-1c64fdbc8177058802df205f5d7cd65edafa59a8.zip
char: drop data written to a disconnected pty
When a serial port writes data to a pty that's disconnected, drop the data and return the length dropped. This avoids triggering pointless retries in callers like the 16550A serial_xmit(), and causes qemu_chr_fe_write() to write all data to the log file, rather than logging only while a pty client like virsh console happens to be connected. Signed-off-by: Ed Swierk <eswierk@skyportsystems.com> Message-Id: <1485870329-79428-1-git-send-email-eswierk@skyportsystems.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'vl.c')
0 files changed, 0 insertions, 0 deletions