-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Description
步骤:
make PLATFORM=riscv64-qemu-virt SMP=1 A=examples/helloworld
使用的是上面make build出来的helloworld_riscv64-qemu-virt.bin文件
修改配置./configs/vms/arceos-riscv64.toml 中的 kernel_path = "helloworld_riscv64-qemu-virt.bin" 没有其它修改
启动risc-v的arceos (使用的是当前最新的主分支)
make ACCEL=n ARCH=riscv64 LOG=info VM_CONFIGS=configs/vms/arceos-riscv64.toml APP_FEATURES=fs run
输出如下:
_ __ ___
/ \ __ _\ \ / (_)___ ___ _ __
/ _ \ \ \/ /\ \ / /| / __|/ _ \| '__|
/ ___ \ > < \ V / | \__ \ (_) | |
/_/ \_\/_/\_\ \_/ |_|___/\___/|_|
by AxVisor Team
[ 0.184800 0:2 axvisor:20] Starting virtualization...
[ 0.185147 0:2 axvisor:21] Hardware support: true
[ 0.185973 0:4 axvisor::vmm::timer:101] Initing HV Timer...
[ 0.186243 0:4 axvisor::hal:117] Hardware virtualization support enabled on core 0
[ 0.198929 0:2 axvisor::vmm::config:33] Creating VM[1] "arceos"
[ 0.199446 0:2 axvm::vm:114] Setting up memory region: [0x80000000~0x84000000] READ | WRITE | EXECUTE | USER
[ 0.205202 0:2 axvm::vm:157] Setting up passthrough device memory region: [0xc000000~0xc210000] -> [0xc000000~0xc210000]
[ 0.205813 0:2 axvm::vm:157] Setting up passthrough device memory region: [0x10000000~0x10001000] -> [0x10000000~0x10001000]
[ 0.206304 0:2 axvm::vm:193] VM[1] created
[ 0.206604 0:2 axvm::vm:208] VM[1] vcpus set up
[ 0.206844 0:2 axvisor::vmm::config:40] VM[1] created success, loading images...
[ 0.207105 0:2 axvisor::vmm::images::fs:102] Loading VM images from filesystem
[ 0.216543 0:2 axvisor::vmm:35] Setting up vcpus...
[ 0.217084 0:2 axvisor::vmm::vcpus:219] Initializing VM[1]'s 1 vcpus
[ 0.217376 0:2 axvisor::vmm::vcpus:250] Spawning task for VM[1] VCpu[0]
[ 0.217825 0:2 axvisor::vmm::vcpus:262] VCpu task Task(5, "VM[1]-VCpu[0]") created cpumask: [0, ]
[ 0.218260 0:2 axvisor::vmm:43] VMM starting, booting VMs...
[ 0.218537 0:2 axvm::vm:275] Booting VM[1]
[ 0.218758 0:2 axvisor::vmm:49] VM[1] boot success
[ 0.219020 0:2 axvisor::vmm:60] a VM exited, current running VM count: 1
[ 0.219516 0:5 axvisor::vmm::vcpus:283] VM[1] VCpu[0] waiting for running
[ 0.219808 0:5 axvisor::vmm::vcpus:286] VM[1] VCpu[0] running...
p�FMp#�f#<�"# �$#�$�k.����E8����� �E�
%���0�%M%&�%#��0%�%#��2#��2�%:#��2��N�-�P�`i#�0#�$1#�T1#�D1"e#��0E�h�E�h#�0F�h���0#��0%
"#��5�u#��4�g#��4Je#��4fu���4#��6#��7�46������/5F�P��Yu#��6"u#��6&u#��6be#��6���6Be#��6��65
�E/5�c��@N5
*��
�3
���%
Metadata
Metadata
Assignees
Labels
No labels