nanovms / ops

ops - build and run nanos unikernels
https://ops.city
MIT License
1.3k stars 132 forks source link

add extra arm qemu flags #753

Closed eyberg closed 3 years ago

eyberg commented 4 years ago

some flags need to be adjusted and others need to be added

eyberg commented 3 years ago

for example for now we are using the kernel flag, highmem, gic version ->

qemu-system-aarch64 -machine virt -machine gic-version=3 -machine highmem=off -m 1G -kernel /home/ubuntu/nanos/output/platform/virt/bin/kernel.elf -display none  -serial stdio -drive if=none,id=hd0,format=raw,file=/home/ubuntu/nanos/output/image/disk.raw -device virtio-blk-pci,drive=hd0 -no-reboot -semihosting -device virtio-net,netdev=n0 -netdev user,id=n0,hostfwd=tcp::8080-:8080,hostfwd=tcp::9090-:9090,hostfwd=udp::5309-:5309 -object filter-dump,id=filter0,netdev=n0,file=/tmp/nanos.pcap -cpu max