Multiple ttySx consoles for qemu
For some testing it could be useful to have a possibility to create some more ttyS devices.
Would it be useful to have another variable, say MSERIALDEV, where test writer could specify how many ttyS devices he or she needs?
Or would it be better to play with SERIALDEV, so it could do the job of starting more than one ttyS devices?
Updated by okurz almost 6 years ago
- Category set to Feature requests
The variable "SERIALDEV" is used only to note how the device is called within the sut so I think MSERIALDEV is a misleading name. I suggest to have a variable NUMSERIALS (equivalent to NUMDISKS) as integer value to note down how many serial devices you want to have. Btw, backend/qemu.pm line 568 is most likely the line you want to take a look into.