On 20/05/15 08:51, Martin Lucina wrote:
A bootable Xen PV ISO will probably require mucking with
pygrub/pvgrub/whatever it's called, which is a bunch of work and another
dependency for not a whole lot of gain.
What I would do as a first step for AWS is ignore the problem of block
devices for now and figure out if we can create an AKI (Amazon Kernel
Image) from a rumprun unikernel, and try and boot that.
Once that works the next step has been discussed here before, baking a root
filesystem into the unikernel image, in the style of Linux initrd.
Andrew: If you have some time, could you try and make the first step work?
It should be fairly straightforward assuming there's a tool that turns an
ELF kernel image into the AKI.
Thank you for sharing that knowledge.
Regarding the Xenstore-based rumprun configuration, I'm not particularly
attached to it. I have some vague ideas about it being useful in scenarios
where multiple unikernels are cooperating on a single dom0 but that can
probably be (re-)done in other ways when it comes up.
Unless your vague ideas are still at a stage where they're too difficult
to put into writing, can you be more specific on what that cooperation
would look like? Maybe it will "just work" if we go in the right
direction now instead of ending up having to fix it later.