On Tue, Nov 16, 2010 at 03:30:48PM +0000, Cutter 409 wrote:
> Thanks, but I'm actually referring to per VM configuration data. I'm trying
> to get some custom configuration strings passed to the hypervisor when a VM
> starts.
>
> I was hoping that somehow I could read the other_config section from the
> hypervisor, but maybe it's only possible to pass data after starting the
> guest with an event channel?
I don't quite understand what you are asking about, unless by "hypervisor" you
actually mean Xapi :-)
Maybe it would be easier for me to understand if you tell us what you would
like to do more specifically?
Cheers,
M
> On Tue, Nov 16, 2010 at 3:00 AM, Magnus Therning
> <magnus.therning@xxxxxxxxxx<mailto:magnus.therning@xxxxxxxxxx>> wrote:
> On Mon, Nov 15, 2010 at 09:33:26PM +0000, Cutter 409 wrote:
> > Hello,
> >
> > I'm trying to pass configuration options to the hypervisor.
> >
> > It seems like each VM has an "other_config" section that I should be able to
> > add options to, but I can't seem to figure out how to read them from the
> > hypervisor.
> > In userland I can set the options using " session.xenapi.VM.add_to_
> > other_config( ) " (In Python) but is there any way to retreive it from the
> > hypervisor?
> >
> > If not, is there another mechanism where I can store additional
> > configuration data?
>
> Arguments for the hypervisor are passed by the boot loader. Take a look at
> /boot/extlinux.conf.
>
> Cheers,
> M
>
> --
> Magnus Therning
> magnus.therning@xxxxxxxxxxxxx<mailto:magnus.therning@xxxxxxxxxxxxx>
> Jabber: magnusth@eng
>
> There does not now, nor will there ever, exist a programming language
> in which it is the least bit hard to write bad programs.
> -- Flon's Axiom
>
>
> Perl is another example of filling a tiny, short-term need, and then
> being a real problem in the longer term.
> -- Alan Kay
>
> _______________________________________________
> xen-api mailing list
> xen-api@xxxxxxxxxxxxxxxxxxx<mailto:xen-api@xxxxxxxxxxxxxxxxxxx>
> http://lists.xensource.com/mailman/listinfo/xen-api
>
> _______________________________________________
> xen-api mailing list
> xen-api@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/mailman/listinfo/xen-api
--
Magnus Therning
magnus.therning@xxxxxxxxxxxxx Jabber: magnusth@eng
There does not now, nor will there ever, exist a programming language
in which it is the least bit hard to write bad programs.
-- Flon's Axiom
Perl is another example of filling a tiny, short-term need, and then
being a real problem in the longer term.
-- Alan Kay
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
|