3 ms·
Seems to me a unikernel app would have access to all the RAM in the system. It is, after all, the kernel itself.
by delinka 12y ago
Seems to me a unikernel app would have access to all the RAM in the system. It is, after all, the kernel itself.
- lbarrow 12y agoYea but the hypervisor has to know how much physical memory to give the unikernel.
- wtallis 12y agoThe way it usually works is that the guest OS gets a certain allocation of RAM and if it doesn't want to use it all it can inform the hypervisor of which ranges don't need physical backing at the moment. From the guest's perspective this is often implemented using a "balloon" process/driver that reserves a large chunk of guest memory in order to return it to the hypervisor. It can also be handled by the guest having a more general memory hotplug capability.