Skip to content

Commit e38e026

Browse files
fyin1acrnsi
authored andcommitted
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>
1 parent b36d80e commit e38e026

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

devicemodel/samples/apl-mrb/launch_uos.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ acrn-dm -A -m $mem_size -c $2$boot_GVT_option"$GVT_args" -s 0:0,hostbridge -s 1:
204204
$boot_ipu_option \
205205
-i /run/acrn/ioc_$vm_name,0x20 \
206206
-l com2,/run/acrn/ioc_$vm_name \
207+
--pm_notify_channel ioc \
207208
-B "root=/dev/vda2 rw rootwait maxcpus=$2 nohpet console=hvc0 \
208209
snd_soc_skl_virtio_fe.domain_id=1 \
209210
snd_soc_skl_virtio_fe.domain_name="GuestOS" \
@@ -413,6 +414,7 @@ fi
413414
$boot_ipu_option \
414415
-i /run/acrn/ioc_$vm_name,0x20 \
415416
-l com2,/run/acrn/ioc_$vm_name \
417+
--pm_notify_channel ioc \
416418
$boot_image_option \
417419
--enable_trusty \
418420
-B "$kernel_cmdline" $vm_name

devicemodel/samples/apl-up2/launch_uos.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ acrn-dm -A -m $mem_size -c $2$boot_GVT_option"$GVT_args" -s 0:0,hostbridge -s 1:
187187
$logger_setting \
188188
$boot_ipu_option \
189189
--mac_seed $mac_seed \
190+
--pm_notify_channel power_button \
190191
-B "root=/dev/vda2 rw rootwait maxcpus=$2 nohpet console=hvc0 \
191192
console=ttyS0 no_timer_check ignore_loglevel log_buf_len=16M \
192193
consoleblank=0 tsc=reliable i915.avail_planes_per_pipe=$4 i915.enable_guc_loading=0 \
@@ -380,6 +381,7 @@ logger_setting="--logger_setting console,level=4;kmsg,level=3;disk,level=5"
380381
--mac_seed $mac_seed \
381382
$boot_image_option \
382383
--enable_trusty \
384+
--pm_notify_channel power_button \
383385
-B "$kernel_cmdline" $vm_name
384386
}
385387

devicemodel/samples/nuc/launch_uos.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ acrn-dm -A -m $mem_size -c $2 -s 0:0,hostbridge \
103103
-s 4,virtio-net,tap0 \
104104
-s 7,virtio-rnd \
105105
--ovmf ./OVMF.fd \
106+
--pm_notify_channel power_button \
106107
$logger_setting \
107108
--mac_seed $mac_seed \
108109
$vm_name

0 commit comments

Comments
 (0)