Open Daparrag opened 1 year ago
Dears.
About my previous message: I seams there is not bug at all.
It is just a typo in the documentation:
https://unikraft.org/community/hackathons/sessions/debugging/
https://unikraft.org/docs/develop/debugging/
there is something like: $ qemu-guest -P -g 1234 -k build/app-helloworld_kvm-x86_64.dbg but it should be: $ qemu-guest -P -g 1234 -k build/app-helloworld_kvm-x86_64
Should I fix the documentation and push a commit?
Best.
Describe the bug After compiling the helloworld project . I noticed the files _helloworld_kvm-x8664.dbg , _helloworld_kvm-x8664 have different formats. I don't know the exact reason but this miss-mach affect the execution of _helloworld_kvm-x8664.dbg in qemu/kvm environments.
I believe this is highly related with the flags used for compilation. In order to solve this issue I would need some input form your side.
Environment
To Reproduce a. follow the get-started guide: https://unikraft.org/docs/getting-started to build the helloworld example for KVM. b. Identify the miss match between the files by tipping the following command.
$ file helloworld_kvm-x86_64.dbg
$ file helloworld_kvm-x86_64
c. follow the guide for debuging: https://unikraft.org/community/hackathons/sessions/debugging
d. after executing helloworld_kvm-x86_64.dbg as KVM partition for debuging you will notice that QEMU cannot execute the binary because there is an incompatibility
Expected behavior expect the qemu launch the kvm partition for debugging
Desktop (please complete the following information):