containers / libkrun

A dynamic library providing Virtualization-based process isolation capabilities
Apache License 2.0
808 stars 67 forks source link

Example error InvalidHostAddress #145

Open MonsieurRz opened 11 months ago

MonsieurRz commented 11 months ago

So far so good I successfully build libkrunfw and libkrun (Asahi fedora remix 38).

It is certainly a host configuration problem on my side but I cannot put my finger on it. But when I try the example I run into this error:

thread '' panicked at 'called 'Result::unwrap()' on an 'Err' value: InvalidHostAddress', src/libkrun/src/lib.rs:228:50 stack backtrace: 0: 0xffff53d83804 - 1: 0xffff53c842c0 - 2: 0xffff53d5bfa4 - 3: 0xffff53d84a50 - 4: 0xffff53d84648 - 5: 0xffff53d855b8 - 6: 0xffff53d850bc - 7: 0xffff53d85030 - 8: 0xffff53d85024 - 9: 0xffff53c52234 - 10: 0xffff53c524fc - 11: 0xffff53c629b4 - krun_create_ctx 12: 0x41022c - main at /home/bertrand/repo/libkrun/examples/chroot_vm.c:62:14 13: 0xffff53a90598 - __libc_start_call_main 14: 0xffff53a90670 - __libc_start_main_impl 15: 0x410570 - _start 16: 0x0 - fatal runtime error: failed to initiate panic, error 630731648 Abandon (core dumped)