File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
src/virtualization/cloud-hypervisor Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -166,3 +166,25 @@ popd
166166
167167After kernel is properly installed, you may power it off and start it again with
168168AIA enabled.
169+
170+ #### Boot with AIA
171+
172+ The new kernel should be able to boot with AIA in place, change your start
173+ script like this:
174+
175+ ``` bash
176+ # Change memory and cores that fits in your host
177+ qemu-system-riscv64 \
178+ -machine virt,aia=aplic-imsic \
179+ -nographic \
180+ -m 96G \
181+ -smp 16 \
182+ -bios /usr/lib/riscv64-linux-gnu/opensbi/generic/fw_jump.bin \
183+ -kernel /usr/lib/u-boot/qemu-riscv64_smode/uboot.elf \
184+ -device virtio-net-device,netdev=eth0 \
185+ -netdev user,id=eth0,hostfwd=tcp::12055-:22 \
186+ -device virtio-rng-pci \
187+ -drive file=$1 ,format=raw,if=virtio \
188+ ```
189+
190+ Now the VM is ready for type II hypervisor development.
You can’t perform that action at this time.
0 commit comments