On Thu, Jan 22, 2015 at 4:20 PM, Martin Lucina <[email protected]> wrote:
>> > For rumprun-xen I'd implement this in a similar fashion to the other
>> > options, using Xenstore. For other platforms, ideas welcome :-)
>>
>> Hmm, was it so that rumprun-posix seeds the guest env with the host env
>> and that there was some reason for it?  Would be nice to have it work
>> the same way as on xen with rumprun (and hopefully on baremetal with
>> rumprun as well).
>
> You mean passing the full host environment as seen by rumprun to the
> xen/KVM guest?
>
> I agree that it would be good to have a common mechanism. However I don't
> know (haven't looked yet though) if eg. KVM has some equivalent of Xenstore
> to communicate between the host and guests. Also, for pure bare
> metal/embedded use cases the interface would likely be the bootloader or
> other ad-hoc mechanism.

AFAIK KVM has no mechanism, command line arguments to the kernel might work.

I am not sure passing the full env is a good idea in general, you can
always generate key value pairs from the host env if needed. It is
just very convenient for posix, especially where you are executing
binaries directly not via a rumprun script, ie for the remote rump
kernel support. I think anything where you run via a rumprun command
should just have explicit variables.

Justin

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
rumpkernel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rumpkernel-users

Reply via email to