This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-API] Configuration options from the hypervisor?

To: <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-API] Configuration options from the hypervisor?
From: Magnus Therning <magnus.therning@xxxxxxxxxx>
Date: Tue, 16 Nov 2010 08:00:04 +0000
Delivery-date: Tue, 16 Nov 2010 00:00:28 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimvxGHMji3KLoQBiH+FEqJahwCG9a06_iKV5UKs@xxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTimvxGHMji3KLoQBiH+FEqJahwCG9a06_iKV5UKs@xxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21 (2010-09-15)
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


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