On 18/05/15 10:51, Andrew Stuart wrote:
What sort of "top level" image do you need?
I’d be very happy with ISO9660. If there was NFS that would be super amazing
but my most pressing need is really anything at all that makes it happen quick
which is I assume something read only like ISO9660.
NFS won't be too difficult to add if you really need it (NFSv3 at any
rate). However, since mount_nfs(8) is a non-trivial piece of userspace
code, we need either 1) a general solution to the hard problem of how to
run many programs within one rumprun image or 2) a mount_nfs(8) hacked
up for this special purpose. I'd rather wait for "1" to get solved than
do "2".
I also assume that you can't use xenstore on EC2, so you probably need to bring
the json-based baremetal config over to the Xen platform. I think it's better
to use json config everywhere and just transport it from the host to the guest
with xenstore on xl and as part of the root image on EC2.
I assume you are atalking about the output of the rumprun script? Right now I
disable the line that deletes the Xen files from the temp directory and use
them. Actually I haven’t used them yet but I’m assuming that leads me to a
working config.
Yes, a bit about the rumprun script, but more about
platform/xen/rumpconfig.c, which reads the config data from xenstore as
part of the guest bootstrap process. If that works on EC2, ignore my
problem speculation, I had some impression that xenstore wouldn't be
available.