Question about vm memory initialization

Matthias Lange matthias.lange at kernkonzept.com
Wed Jan 10 09:37:44 CET 2018


Hi Nico,

On 2018-0110 at 09:11:09 +0800, nico.hacker wrote:
> <p>Yes, that's it. Do you have any good suggestions?</p><p><br /></p><span labeltype="reply">于  2018-01-10 06:36:25,Adam Lackorzynski<adam os="" inf="" tu-dresden="" de="">写道:</adam></span><blockquote style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid"><pre>Hi nico,
> 
> On Tue Jan 09, 2018 at 19:18:20 +0800, nico wrote:
> > I started uvmm and found that all ram space allocated to vm are cleared.
> 
> Yes, sure. We do not want to see any other data in there, possibly
> coming from another domain and leaking some information.
> 
> > But I do not need to do that, because uboot has loaded image file to ram, and vm linux would use that image file. Could you tell me where the uvmm did the cleanup? Regards, Nico

I am not sure if I have understood your use-case correctly but the steps you
are performing are like this?

1. Power up your board
2. u-boot loads a Linux kernel (and possibly ramdisk and device tree) into RAM
3. u-boot loads your L4Re image
4. L4Re is started with uvmm

Is my understanding correct?

Regards,
Matthias.

> 
> Describing this in my own words, you want to load a file via u-boot and
> use that in your VM?
> 
> Adam




More information about the l4-hackers mailing list