Re: Qemu Demos

2024-11-11 Thread Philipp Eppelt

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


OpenPGP_signature.asc
Description: OpenPGP digital signature
___
l4-hackers mailing list -- [email protected]
To unsubscribe send an email to [email protected]


Re: Qemu Demos

2024-11-08 Thread 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.

Paul


___
l4-hackers mailing list -- [email protected]
To unsubscribe send an email to [email protected]