Hello All,
I am on an Intel NUC 13 NHNE (x64) running Ubuntu 23.10 and am working my way through the basic Qemu Demos after following the build instructions
https://github.com/kernkonzept/manifest/wiki/BUILDING
From there I am in the "~/l4re/build-amd64$" and have added "/l4re/l4/conf/examples" to the "l4/conf/Makeconf.boot"
Now I do a "make qemu" and get the list:
===============================================
│ │ │ 0 hello │ │ 1 hello-cfg │ │ 2 hello-2 │ │ 3 hello-shared │ │ 4 framebuffer-example │ │ 5 L4Linux-basic │ │ 6 L4Linux-mag │ │ 7 VM-basic │ │ 8 VM-multi │ │ 9 VM-multi-p2p │ │ 10 VM-basic-pci
===============================================
For which I have been able to run items 0 - 3, but when I run (4) "framebuffer-example", I get an error about a missing "x86-lagacy.devs" file and I cannot find it anywhere in the sources or builds.
===============================================
Could not find 'x86-legacy.devs'
within paths /home/lonnie/l4re/build-amd64/assets /home/lonnie/l4re/build-amd64/bin/amd64_gen/l4f /home/lonnie/l4re/build-amd64/bin/amd64_gen/plain /home/lonnie/l4re/build-amd64/lib/amd64_gen/std/l4f /home/lonnie/l4re/build-amd64/lib/amd64_gen/std/plain /home/lonnie/l4re/build-fiasco-amd64 /home/lonnie/l4re/l4/conf/examples make[1]: *** [Makefile:693: qemu] Error 1 make[1]: Leaving directory '/home/lonnie/l4re/l4' make: *** [Makefile:6: do-all-make-goals] Error 2
===============================================
I then restarted "make qemu" and tried (7) VM-basic, but it seems to abort with the messages:
=============================================== MOE: Starting: rom/ned rom/vm-basic.cfg MOE: loading 'rom/ned' Ned says: Hi World! Ned: loading file: 'rom/vm-basic.cfg' VMM[]: Created VCPU 0 @ 18000 VMM[]: >>> CAUTION: Support for AMD SVM is experimental, use at your own risk! <<< terminate called after throwing an instance of 'N2L413Runtime_errorE' what: Invalid request: SVM does not support next_rip save. Aborting!
===============================================
In trying to run the other VM-????? choices, I also get similar messages:
===============================================
vm-1 | VMM[]: Created VCPU 0 @ 18000 vm-1 | VMM[]: >>> CAUTION: Support for AMD SVM is experimental, use at your own risk! <<< vm-1 | terminate called after throwing an instance of 'N2L413Runtime_errorE' vm-2 | VMM[]: Created VCPU 0 @ 18000 vm-2 | VMM[]: >>> CAUTION: Support for AMD SVM is experimental, use at your own risk! <<< vm-3 | VMM[]: Created VCPU 0 @ 18000 vm-3 | VMM[]: >>> CAUTION: Support for AMD SVM is experimental, use at your own risk! <<< vm-2 | terminate called after throwing an instance of 'N2L413Runtime_errorE' vm-1 | what: Invalid request: SVM does not support next_rip save. Aborting! vm-3 | terminate called after throwing an instance of 'N2L413Runtime_errorE' vm-1 | vm-2 | what: Invalid request: SVM does not support next_rip save. Aborting! vm-2 | vm-3 | what: Invalid request: SVM does not support next_rip save. Aborting! vm-3 |
=========================================================
Has anyone been able to get all of these to run?
I am still exploring but would like to get the be able to compile and run the VM-multi examples on the x64 hardware like in the video.
https://l4re.org/cast-multi-vm-qemu.html
Any thoughts on how to test out some of these?
Best and have a great weekend, Lonnie
_______________________________________________ l4-hackers mailing list -- l4-hackers@os.inf.tu-dresden.de To unsubscribe send an email to l4-hackers-leave@os.inf.tu-dresden.de
On Friday, 8 November 2024 22:41:39 CET Lonnie Cumberland wrote:
For which I have been able to run items 0 - 3, but when I run (4) "framebuffer-example", I get an error about a missing "x86-lagacy.devs" file and I cannot find it anywhere in the sources or builds.
This is found in the io package at the following location:
pkg/io/io/config/x86-legacy.devs
In your conf/Makeconf.boot file, you should have entries referencing the directory involved. For example:
MODULE_SEARCH_PATH += $(L4DIR_ABS)/pkg/io/io/config BOOTSTRAP_SEARCH_PATH += $(L4DIR_ABS)/pkg/io/io/config
I'm sure one of the developers can provide more substantial advice, however.
Paul
_______________________________________________ l4-hackers mailing list -- l4-hackers@os.inf.tu-dresden.de To unsubscribe send an email to l4-hackers-leave@os.inf.tu-dresden.de
Hi,
Am 08.11.24 um 23:55 schrieb Paul Boddie:
On Friday, 8 November 2024 22:41:39 CET Lonnie Cumberland wrote:
For which I have been able to run items 0 - 3, but when I run (4) "framebuffer-example", I get an error about a missing "x86-lagacy.devs" file and I cannot find it anywhere in the sources or builds.
This is found in the io package at the following location:
pkg/io/io/config/x86-legacy.devs
In your conf/Makeconf.boot file, you should have entries referencing the directory involved. For example:
MODULE_SEARCH_PATH += $(L4DIR_ABS)/pkg/io/io/config BOOTSTRAP_SEARCH_PATH += $(L4DIR_ABS)/pkg/io/io/config
I'm sure one of the developers can provide more substantial advice, however.
No need, this is what I would have recommended. Minus the BOOTSTRAP_SEARCH_PATH, that's not necessary.
With regard to the the SVM experimental error. I think your qemu is emulating an AMD CPU, please use an Intel one. Since you want to use VMs you need to use KVM and the host's CPU to allow for nested virtualization. Please add
-enable-kvm -cpu host
to your QEMU command line. You can modify it from the aforementioned conf/Makeconf.boot file for amd64 only with:
QEMU_OPTIONS-amd64 ?= -enable-kvm -cpu host -m 4G -smp 4
If you haven't set up conf/Makeconf.boot already, use conf/Makeconf.boot.example as starting point and have a look at lines 85f.
Cheers, Philipp
l4-hackers@os.inf.tu-dresden.de