Re: user VM Management from SOS VM


yogesh@...
 

Hi Fuzhong,
    I have added below line to my launcher script, but not resulting into serial console login 
 
acrn-dm -A -m $mem_size -s 0:0,hostbridge -U d2795438-25d6-11e8-864e-cb7a18b34643 \
   --mac_seed $mac_seed \
   $logger_setting \
   -s 3,virtio-blk,./uos_new.img \
   -s 6,virtio-net,tap_WaaG \
   -s 2,passthru,0/2/0,gpu  \
   --ovmf /usr/share/acrn/bios/OVMF.fd \
   $intr_storm_monitor \
   -s 5,virtio-console,@stdio:stdio \
   -s 1:0,lpc \
   -l com1,stdio \
   -s 4,passthru,03/00/1 \
   $vm_name
}

pfa launcher script. 
yogesh@mcl-acrn-test3:~/launcher$ sudo bash ./launch_uos_id1.sh
[sudo] password for yogesh:
cpu3 online=0
tap device existed, reuse tap_WaaG
logger: name=console, level=4
logger: name=kmsg, level=3
logger: name=disk, level=5
SW_LOAD: get ovmf path /usr/share/acrn/bios/OVMF.fd, size 0x200000
vm_create: post_vm_id1
VHM api version 1.0
vm_setup_memory: size=0x100000000
open hugetlbfs file /run/hugepage/acrn/huge_lv1/post_vm_id1/D279543825D611E8864ECB7A18B34643
open hugetlbfs file /run/hugepage/acrn/huge_lv2/post_vm_id1/D279543825D611E8864ECB7A18B34643
level 0 free/need pages:1/1 page size:0x200000
level 1 free/need pages:12/4 page size:0x40000000
 
try to setup hugepage with:
        level 0 - lowmem 0x0, biosmem 0x200000, highmem 0x0
        level 1 - lowmem 0x80000000, biosmem 0x0, highmem 0x80000000
total_size 0x200000000
 
mmap ptr 0x0x7f136519a000 -> baseaddr 0x0x7f1380000000
mmap 0x80000000@0x7f1380000000
touch 2 pages with pagesz 0x40000000
mmap 0x80000000@0x7f14c0000000
touch 2 pages with pagesz 0x40000000
mmap 0x200000@0x7f147fe00000
touch 1 pages with pagesz 0x200000
 
really setup hugepage with:
        level 0 - lowmem 0x0, biosmem 0x200000, highmem 0x0
        level 1 - lowmem 0x80000000, biosmem 0x0, highmem 0x80000000
vm_init_vdevs
No pm notify channel given
Listening 0...
polling 37...
start monitor interrupt data...
pci init hostbridge
pci init lpc
pci init passthru
pci init virtio-blk
pci init passthru
pci init virtio-console
vtcon: stdio is used by other device
 pci virtio-console init failed
 vm_reset_ptdev_intx:0x10-10, ioapic virpin=0.
 vm_reset_ptdev_intx:0x20-301, ioapic virpin=0.
mngr_client_new: Failed to accept from fd 37, err: Invalid argument
Stop listening 37...
Stop polling 37...
No correct pm notify channel given
Unable to init vdev (2)
 

Join acrn-users@lists.projectacrn.org to automatically receive all group messages.