WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] Documentation for adding a config file platform paramete

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Documentation for adding a config file platform parameter
From: "Langsdorf, Mark" <mark.langsdorf@xxxxxxx>
Date: Thu, 18 Sep 2008 13:26:22 -0500
Cc:
Delivery-date: Thu, 18 Sep 2008 11:27:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C4F85B00.1D56A%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <6453C3CB8E2B3646B0D020C112613273C5AD01@xxxxxxxxxxxxxxxxx> <C4F85B00.1D56A%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckZudI3YVdWm4xKTRG4gcrVIXN36QAAbZ+LAAAA24A=
Thread-topic: [Xen-devel] Documentation for adding a config file platform parameter
> It's done ad hoc. Do you actually want a new
> HVM_PARAM_foo at the hypervisor level?

Thanks for the quick response.

We're adding a feature that needs a user defined
parameter to be placed in the VMCB for each guest.
This parameter can be different for each guest.
It looked to me like that was a platform parameter,
but maybe it should be something else.

At any rate, if I add a new key to the config
file (call it 'svm_new_feat'), how do I get the
value of svm_new_feat assigned to the integer
value of SVM_PARAM_new_feat inside of Xen?

-Mark Langsdorf
Operating System Research Center
AMD


> On 18/9/08 19:10, "Langsdorf, Mark" <mark.langsdorf@xxxxxxx> wrote:
> 
> > Is there any documentation on how to add a new
> > platform parameter to a guest config file?  I
> > looked around on xensource.com a bit and searched
> > through the email lists, but nothing obvious came
> > up.
> > 
> > I did figure out how to add one to the python
> > files for xend, but I can't figure out how the
> > python files take the parsed data and passes it
> > into the hypervisor.
> > 
> > Any pointers would be appreciated.  Thank you.
> > 
> > -Mark Langsdorf
> > Operating System Research Center
> > AMD
> > 
> > 
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-devel
> 
> 
> 
> 


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel