Am Mon, 21 Jan 2019 15:46:25 -0800 schrieb <[email protected]>:
> So here's what happened: I increased the memory from 1 GB to 4 GB in > the QEMU command (from `-m 1G` to `-m 4G`). The Jailhouse-images's > qemu-x86.cell root cell didn't like that. > > So I guess if I want to increase the memory to 4 GB, I'll need to > update configs/x86/qemu-x86.c accordingly. Yes, and maybe all you other cells configs as well as the kernel command line. > How can I do this? Do I just need to change the RAM mem regions? I'm > not sure how to determine how big each mem region should be. Are > there resources that explain how to create a valid cell configuration > (for x86, at least)? The config is derived from /proc/iomem. Just look how this file changes when you assign more RAM, and apply a similar change to the root cells config. The memory available to all other cells and the hypervisor is mentioned on the kernel command line. If you want to assign more memory to those cells or the hypervisor you will need to change the configs and the command line reservation. There is "jailhouse config create" (tools/jailhouse-config-create), i think it does not work on qemu but should give you an idea on how to create a config for an x86. Henning > Any help is appreciated. > > Thanks, > Michael > -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
