Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config-tools: Remove the restriction that SERIAL_CONSOLE needs to be ttys0, ttys1, ttys2 or ttys3. #6610

Closed
yuchuyang opened this issue Sep 23, 2021 · 2 comments

Comments

@yuchuyang
Copy link
Contributor

yuchuyang commented Sep 23, 2021

Remove the restriction that SERIAL_CONSOLE needs to be ttys0, ttys1, ttys2 or ttys3.
1. Loosen the restriction in xsd.
2. Rewrite the document.
3. Refine the intx.py. Refine the logic which take effect if the
is specified in "SOS_COM#_IRQ" for SOS VM's legacy vuart 0.

@yuchuyang
Copy link
Contributor Author

[External_System_ID] ACRN-7356

yuchuyang added a commit to yuchuyang/acrn-hypervisor that referenced this issue Sep 23, 2021
Remove the restriction that SERIAL_CONSOLE needs to be ttys0, ttys1,
ttys2 or ttys3.

1. Remove the hardcoded vuart tty list from intx.py and pio.py.
2. Refine the SerialConsoleType schema check.
3. Improve the error handling when tyring to use unavailable ttyS#.

Tracked-On: projectacrn#6610
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
yuchuyang added a commit to yuchuyang/acrn-hypervisor that referenced this issue Sep 24, 2021
Remove the restriction that SERIAL_CONSOLE needs to be ttys0, ttys1,
ttys2 or ttys3.

1. Remove the hardcoded vuart tty list from intx.py and pio.py.
2. Refine the SerialConsoleType schema check.
3. Improve the error handling when tyring to use unavailable ttyS#.

Tracked-On: projectacrn#6610
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
@yuchuyang yuchuyang changed the title config-tools: config-tools: Remove the restriction that SERIAL_CONSOLE needs to be ttys0, ttys1, ttys2 or ttys3. Sep 24, 2021
yuchuyang added a commit to yuchuyang/acrn-hypervisor that referenced this issue Sep 24, 2021
Remove the restriction that SERIAL_CONSOLE needs to be ttys0, ttys1,
ttys2 or ttys3.

1. Remove the hardcoded vuart tty list from intx.py and pio.py.
2. Refine the SerialConsoleType schema check.
3. Improve the error handling when tyring to use unavailable ttyS#.

Tracked-On: projectacrn#6610
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
yuchuyang added a commit to yuchuyang/acrn-hypervisor that referenced this issue Sep 27, 2021
Remove the restriction that SERIAL_CONSOLE needs to be ttys0, ttys1,
ttys2 or ttys3.

1. Remove the hardcoded vuart tty list from intx.py and pio.py.
2. Refine the SerialConsoleType schema check.
3. Improve the error handling when tyring to use unavailable ttyS#.

Tracked-On: projectacrn#6610
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
yuchuyang added a commit to yuchuyang/acrn-hypervisor that referenced this issue Oct 22, 2021
Remove the restriction that SERIAL_CONSOLE needs to be ttys0, ttys1,
ttys2 or ttys3.

1. Lossen the restriction in xsd.
2. Rewrite the document.

Tracked-On: projectacrn#6610
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
yuchuyang added a commit to yuchuyang/acrn-hypervisor that referenced this issue Oct 22, 2021
Remove the restriction that SERIAL_CONSOLE needs to be ttys0, ttys1,
ttys2 or ttys3.

1. Lossen the restriction in xsd.
2. Rewrite the document.
3. Refine the intx.py. Refine the logic which take effect if the <irq>
is specified in "SOS_COM#_IRQ" for SOS VM's legacy vuart 0.

Tracked-On: projectacrn#6610
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
wenlingz pushed a commit that referenced this issue Oct 23, 2021
Remove the restriction that SERIAL_CONSOLE needs to be ttys0, ttys1,
ttys2 or ttys3.

1. Lossen the restriction in xsd.
2. Rewrite the document.
3. Refine the intx.py. Refine the logic which take effect if the <irq>
is specified in "SOS_COM#_IRQ" for SOS VM's legacy vuart 0.

Tracked-On: #6610
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
@yuchuyang
Copy link
Contributor Author

[External_System_ID] ACRN-7440

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant