script: set virtio-console BE to stdio for LaaG
Set virtio-console BE to stdio for LaaG. Remove 'com1' but still keep 'console=ttyS0' in Laag kernel cmdline. 'console=ttyS0' means LaaG will use ttyS0 (0x3F8) as a console port, and during bringup, it will access port ttyS0. When the same port is added to hypervisor configuration file as a console port, the output will be captured by hypervisor console, and can switch by "vm_console <vm_id>". Tracked-On: #3370 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Reviewed-by: Binbin Wu <binbin.wu@intel.com>
This commit is contained in:
parent
d90fee9fd8
commit
b592404f48
|
@ -95,9 +95,9 @@ logger_setting="--logger_setting console,level=4;kmsg,level=3;disk,level=5"
|
|||
#for memsize setting
|
||||
mem_size=2048M
|
||||
|
||||
acrn-dm -A -m $mem_size -c $2 -s 0:0,hostbridge -s 1:0,lpc -l com1,stdio \
|
||||
acrn-dm -A -m $mem_size -c $2 -s 0:0,hostbridge \
|
||||
-s 2,pci-gvt -G "$3" \
|
||||
-s 5,virtio-console,@pty:pty_port \
|
||||
-s 5,virtio-console,@stdio:stdio_port \
|
||||
-s 6,virtio-hyper_dmabuf \
|
||||
-s 3,virtio-blk,/home/clear/uos/uos.img \
|
||||
-s 4,virtio-net,tap0 \
|
||||
|
|
Loading…
Reference in New Issue