summary refs log tree commit diff stats
path: root/tcg/optimize.c
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2020-10-27 15:04:55 +0000
committerGerd Hoffmann <kraxel@redhat.com>2020-11-04 07:22:37 +0100
commita79f86cdbe9ccd5c3be76a9c6288d07a7716cb12 (patch)
treeb41a495fd92c98794d31772a2e9ba248fcda59b3 /tcg/optimize.c
parent66007a95674d4b8e616245541faad6cdf5e9f70d (diff)
downloadfocaccia-qemu-a79f86cdbe9ccd5c3be76a9c6288d07a7716cb12.tar.gz
focaccia-qemu-a79f86cdbe9ccd5c3be76a9c6288d07a7716cb12.zip
dev-serial: add support for setting data_bits in QEMUSerialSetParams
Also implement the behaviour reported in Linux's ftdi_sio.c whereby if an invalid
data_bits value is provided then the hardware defaults to using 8.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20201027150456.24606-8-mark.cave-ayland@ilande.co.uk
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'tcg/optimize.c')
0 files changed, 0 insertions, 0 deletions