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

Need support pm_channel&pm_by_vuart setting for Board:nuc7i7dnb+WaaG&RTVM #4212

Closed
Mingyuan18 opened this issue Dec 9, 2019 · 1 comment
Closed
Assignees
Labels
priority: P2-High type: bug Something isn't working

Comments

@Mingyuan18
Copy link

Environment
git clone https://github.com/projectacrn/acrn-hypervisor.git
hv commit: b6a8052'167b66e5eb426
HW/Board
D0 MRB, APLNUC, KBLNUC, UP2
Steps
1, cd acrn-hypervisor/misc/acrn-config/config_app
2, python3 app.py ->open WebUI
3, click "ImportBoardInfo" to select nuc7i7dnb.xml
4, select Scenario Setting: industry
5, select Launch Setting: industry_launch*_
6, Need support pm_channel&pm_by_vuart setting for Board:nuc7i7dnb+WaaG&RTVM
[For RT-Linux, refer devicemodel/samples/nuc/launch_hard_rt_vm.sh]
for pm setting*
pm_channel="--pm_notify_channel uart "
pm_by_vuart="--pm_by_vuart tty,/dev/ttyS1"
$pm_channel $pm_by_vuart $pm_vuart_node *
for RT-Linux, the vUART is emulated in hypervisor, expose the node as /dev/ttySn)
[For LaaG or WaaG, launch script for acrn-dm, like devicemodel/samples/nuc/launch_uos.sh]
following configure works for S5:
for pm by vuart setting
pm_channel="--pm_notify_channel uart "
pm_by_vuart="--pm_by_vuart pty,/run/acrn/life_mngr_"$vm_name
pm_vuart_node=" -s 1:0,lpc -l com2,/run/acrn/life_mngr_"$vm_name
$pm_channel $pm_by_vuart $pm_vuart_node *
Expected result
step7, can support pm_channel&pm_by_vuart setting for Board:nuc7i7dnb+WaaG&RTVM

@Mingyuan18
Copy link
Author

[External_System_ID] ACRN-5524

@Mingyuan18 Mingyuan18 added priority: P2-High type: bug Something isn't working labels Dec 9, 2019
liuwei987 pushed a commit to liuwei987/acrn-hypervisor that referenced this issue Dec 11, 2019
Some vm need power off method, so modify 'poweroff_channel'
item in the launch config files that user could select them from webUI.

Tracked-On: projectacrn#4212
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
liuwei987 pushed a commit to liuwei987/acrn-hypervisor that referenced this issue Dec 11, 2019
Add pm_channel support to parse and get 'poweroff_channel' item value
from launch config files, these values are selectable by user.

Tracked-On: projectacrn#4212
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
liuwei987 pushed a commit to liuwei987/acrn-hypervisor that referenced this issue Dec 11, 2019
Some vm need power off method, so modify 'poweroff_channel'
item in the launch config files that user could select them from webUI.

Tracked-On: projectacrn#4212
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
liuwei987 pushed a commit to liuwei987/acrn-hypervisor that referenced this issue Dec 11, 2019
Add pm_channel support to parse and get 'poweroff_channel' item value
from launch config files, these values are selectable by user.

Tracked-On: projectacrn#4212
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
wenlingz pushed a commit that referenced this issue Dec 12, 2019
Some vm need power off method, so modify 'poweroff_channel'
item in the launch config files that user could select them from webUI.

Tracked-On: #4212
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
wenlingz pushed a commit that referenced this issue Dec 12, 2019
Add pm_channel support to parse and get 'poweroff_channel' item value
from launch config files, these values are selectable by user.

Tracked-On: #4212
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: P2-High type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants