From c80641ae418a782544304adf64260487ca581c19 Mon Sep 17 00:00:00 2001 From: guping Date: Wed, 6 Mar 2024 09:57:24 +0000 Subject: [PATCH] qemu-options.hx: Don't claim "-serial" has limit of 4 serial ports Before v2.12, the implementation of serial ports was limited to a value of MAX_SERIAL_PORTS = 4. We now dynamically allocate the data structures for serial ports, so this limit is no longer present, but the documentation for the -serial options still reads: "This option can be used several times to simulate up to 4 serial ports." Update to "This option can be used several times to simulate multiple serial ports." to avoid misleading. Signed-off-by: default avatarSteven Shen Message-id: 20240305013016.2268-1-steven.shen@jaguarmicro.com Reviewed-by: default avatarPeter Maydell [PMM: tweaked commit message] Signed-off-by: default avatarPeter Maydell Signed-off-by: guping --- qemu-options.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu-options.hx b/qemu-options.hx index e25b76771d..d940b4aea5 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -3783,7 +3783,7 @@ SRST default device is ``vc`` in graphical mode and ``stdio`` in non graphical mode. - This option can be used several times to simulate up to 4 serial + This option can be used several times to simulate multiple serial ports. Use ``-serial none`` to disable all serial ports. -- 2.27.0