[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [RFC] Shutdown event script for xl toolstack



On 2 April 2012 18:46, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> On Sun, 2012-04-01 at 00:13 +0100, Joseph Glanville wrote:
>> Domain configuration is stored in libxl_domain_config which is a part
>> of libxl but there isn't currently a structure for data that is
>> private to xl, that is xl daemon or utility specific configuration.
>> Is it considered bad form to add a configuration variable to
>> libxl_domain_config that only xl will benefit from? if so what is the
>> best course of action here?
>> I could create another structure for private data but I feel seeking
>> guidance on this as prudent.
>
> xl_cmdimpl.c defines struct domain_create to contain a bunch of this
> sort of thing, is that a convenient location?

That could work. domain_create isn't currently passed to parse_config_data or
handle_domain_death yet but it seems like a reasonable place to put this stuff

>
> Ian.
>

I will rehash this tonight once I work out how the xlu_cfg_get_list
stuff works and post a proper v1.

Joseph.

-- 
Founder | Director | VP Research
Orion Virtualisation Solutions | www.orionvm.com.au | Phone: 1300 56
99 52 | Mobile: 0428 754 846

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.