Qemu Demos

Lonnie Cumberland <[email protected]> Fri, 8 Nov 2024 16:41:39 -0500
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
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 -- [email protected]
To unsubscribe send an email to [email protected]