Open jonrob opened 3 years ago
Hi @jonrob!
I encountered the same issue and have not found a good way to solve it with kraft
yet, but using qemu-system-x86_64
seems to work. To execute the example, you can do the following:
cd
in the ~/.unikraft/apps
directorykraft
to initialize the python3
application: kraft init -t python3@staging python3
kraft menuconfig
to select: 1) KVM as the platform, 2) Python 3 in library configuration -> "also provide main function", 3) vfscore in library configuration -> with 9PFSfs0
and extract the contents of minrootfs.tgz
in this sub-directorykraft build
sudo qemu-system-x86_64 \
-fsdev local,id=myid,path=$(pwd)/fs0,security_model=none \
-device virtio-9p-pci,fsdev=myid,mount_tag=rootfs,disable-modern=on,disable-legacy=off \
-kernel build/python3_kvm-x86_64 \
-append "-- helloworld.py" \
-enable-kvm \
-m 1G \
-nographic
If you get some errors - try to set the unikraft version to usoc21
and the library versions to staging
.
When running
kraft up -p kvm -m x86_64 -t python3 --memory 1024 demo
it fails to boot with the following error:Any suggestions on debugging? Thanks.