script: launch_uos: Give right pm notify channel

We seperate the guest power event notify channel out. And now
it's required to give the guest power event notify channel
explicitly. Update the sample launch script to have correct
parameters.

Tracked-On: #3564
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
This commit is contained in:
Yin Fengwei
2019-09-09 14:25:09 +08:00
committed by ACRN System Integration
parent b36d80ea0c
commit e38e026332
3 changed files with 5 additions and 0 deletions

View File

@@ -204,6 +204,7 @@ acrn-dm -A -m $mem_size -c $2$boot_GVT_option"$GVT_args" -s 0:0,hostbridge -s 1:
$boot_ipu_option \
-i /run/acrn/ioc_$vm_name,0x20 \
-l com2,/run/acrn/ioc_$vm_name \
--pm_notify_channel ioc \
-B "root=/dev/vda2 rw rootwait maxcpus=$2 nohpet console=hvc0 \
snd_soc_skl_virtio_fe.domain_id=1 \
snd_soc_skl_virtio_fe.domain_name="GuestOS" \
@@ -413,6 +414,7 @@ fi
$boot_ipu_option \
-i /run/acrn/ioc_$vm_name,0x20 \
-l com2,/run/acrn/ioc_$vm_name \
--pm_notify_channel ioc \
$boot_image_option \
--enable_trusty \
-B "$kernel_cmdline" $vm_name