On Tuesday, 19.05.2015 at 15:28, Antti Kantee wrote: > Should we want to support the same method on the xen PV platform, > one would have to figure out how to create a bootable Xen PV ISO and > also adapt the json config scheme to the xen platform (which in > practical terms means unifying the config code between baremetal and > xen, so it good also in that sense).
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. 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. -mato
