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: "Langsdorf, Mark" <mark.langsdorf@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Documentation for adding a config file platform parameter
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 18 Sep 2008 19:34:01 +0100
Cc:
Delivery-date: Thu, 18 Sep 2008 11:34:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <6453C3CB8E2B3646B0D020C112613273C5AD02@xxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckZudI3YVdWm4xKTRG4gcrVIXN36QAAbZ+LAAAA24AAAGSfAg==
Thread-topic: [Xen-devel] Documentation for adding a config file platform parameter
User-agent: Microsoft-Entourage/11.4.0.080122
On 18/9/08 19:26, "Langsdorf, Mark" <mark.langsdorf@xxxxxxx> wrote:

>> 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.

mmm.... how mysterious. Am I going to like it? ;-)

> 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?

See use of xc.hvm_set_param() in xen/xend/image.py.

 -- Keir



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

<Prev in Thread] Current Thread [Next in Thread>