Re: Qemu Demos

Philipp Eppelt <[email protected]> Mon, 11 Nov 2024 10:10:18 +0100
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
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

-- 
[email protected] - Tel. 0351-41 883 221
http://www.kernkonzept.com

Kernkonzept GmbH.  Sitz: Dresden.  Amtsgericht Dresden, HRB 31129.
Geschäftsführer: Dr.-Ing. Michael Hohmuth

_______________________________________________
l4-hackers mailing list -- [email protected]
To unsubscribe send an email to [email protected]
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEO7T7Jq7ah1WoVcqMg8udkTKw7CEFAmcxyfoFAwAAAAAACgkQg8udkTKw7CGz
hA/+IIt1TOFtdwatwZC/lbmrQN++ivKFIh+SAj+gifdLURjCCyZO6ly7EQ5RhDvjwsZci/8HtnG2
lpj/FE2YvNAbF54hED2tBBGCEFFrROaAC4U0gvax/M7eZGuDDWgTC3BsqS1H0yIAtKhiOLrEGRni
noegk/I3LyGOcsRFCefEaq3tMlBRRraTg9WTRNr/1uTFJ0wcTtuloLGBVbU14/tbcvbV9QOp+sP/
nIWW/I1sIdzTddfwG16lybc+J/dOAnin3+8c/eDZTQxaE8MGyj2gZe5LhtJOJf4n7vq5/Ez6Oofa
jdKGwCP+YU5Q6TImpM5h2Cj5MxvtKr4IuU411/md86MtzQ6cP8Uq8Iredd/hgN2dw/eNibL5frQV
6sYhAixTJxGTzUmOkeGxOHhV/h0q8EC/msSE9IyIJTEt4wInsd3kDqqS7s86v5M+1AHap12kNYoH
5P6+cDNLadqge595eEEYyJ3V6YAVLJgNmqQ/zH7+3mmUgWwy2uxD+HHa/aBwcI9/YesodAiQUga4
I0AZ1QxmuWS4XMhPP1FxzdbHUZ0S2lcsyS6TF0BFATMfc35e2d4Xg5NEoeuXkX8Qzju6apyDXXOg
222X5tCqxwIcw9FlF2UZipI35Ev0hA+MrxuMkMda1amy52owX9Giul3MWddAys4eKIPeHgqFbSfD
Hao=
=J6MU
-----END PGP SIGNATURE-----