action #32593

Multiple ttySx consoles for qemu

Added by sebchlad almost 2 years ago. Updated almost 2 years ago.

Status:RejectedStart date:01/03/2018
Priority:NormalDue date:
Assignee:sebchlad% Done:

0%

Category:Feature requests
Target version:Done
Difficulty:
Duration:

Description

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?


Related issues

Related to openQA Project - action #32968: [kernel][tools] Refactor QEMU backend - Create QEMU proce... Resolved 24/04/2018

History

#1 Updated by okurz almost 2 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.

#4 Updated by sebchlad almost 2 years ago

  • Status changed from Feedback to In Progress
  • Target version set to 448

#5 Updated by coolo almost 2 years ago

I wonder what these ttySx consoles are supposed to do. If you hard code qemu environment in your tests anyway, you can do fancy things within them.

#6 Updated by sebchlad almost 2 years ago

  • Related to action #32968: [kernel][tools] Refactor QEMU backend - Create QEMU process manager and save configuration state added

#7 Updated by sebchlad almost 2 years ago

Conman service is using ttyS so does openQA connecting to quemu vm, so Anton was blocked with his HPC test.

#9 Updated by sebchlad almost 2 years ago

@Anton: given Richie work and your changes to the conman test I would suggest closing this ticket (ufff I worked so hard on this ;) ).

#10 Updated by asmorodskyi almost 2 years ago

@Seba +1

#11 Updated by sebchlad almost 2 years ago

  • Status changed from In Progress to Rejected

#12 Updated by rpalethorpe almost 2 years ago

  • Target version changed from 448 to Done

Also available in: Atom PDF