diff options
author | Peter Wu <lekensteyn@gmail.com> | 2013-06-08 23:25:08 +0200 |
---|---|---|
committer | Peter Wu <lekensteyn@gmail.com> | 2013-06-08 23:34:14 +0200 |
commit | b8f9d44cfd94c2ae4a810f3469d08da120424ffc (patch) | |
tree | 5e636b69812b5b28a4d4d9641b89cd5dc31389c9 /hw/ppc4xx_devs.c | |
parent | 7387de16d0e4d2988df350926537cd12a8e34206 (diff) | |
download | qemu-serial-baud.tar.gz |
chardev: add baud parameter for serial host deviceserial-baud
When QEMU starts, it always changes the serial port parameters including baud
rate. This confused my guest which thought it was outputting at 9600 baud while
it was in fact changed to 115200.
After this patch, I can use `-serial /dev/ttyS0,baud=9600` to override the
default baud rate of 115200. Documentation is updated as well, so that users
know about the new `baud` parameter for `-serial` and `-chardev serial` (and its
alias `-chardev tty`).
Note that the baud option is not implemented for Windows. QEMU does not change
the default baud rate on Windows anyway. If somebody is going to implement it,
do not forget to update the documentation on "COM" devices which is also of
backend serial.
Signed-off-by: Peter Wu <lekensteyn@gmail.com>
Diffstat (limited to 'hw/ppc4xx_devs.c')
0 files changed, 0 insertions, 0 deletions