Mark Cave-Ayland a79f86cdbe 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>
2020-11-04 07:22:37 +01:00
..
2020-10-21 11:36:19 +02:00
2020-08-21 06:30:32 -04:00
2020-09-09 09:27:09 -04:00
2020-11-02 17:17:29 +00:00
2020-10-27 11:10:44 +00:00
2020-11-02 17:17:29 +00:00
2020-11-01 14:02:19 +00:00
2020-11-02 11:56:55 +00:00
2020-08-21 06:30:33 -04:00
2020-08-27 14:04:55 -04:00
2020-09-09 09:27:09 -04:00
2020-10-29 11:40:04 +00:00
2020-08-21 06:30:33 -04:00
2020-08-21 06:30:33 -04:00
2020-11-01 12:30:52 -07:00
2020-08-21 06:30:33 -04:00
2020-08-21 06:30:33 -04:00