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

Re: [Xen-devel] How to save and restore new domain config options


  • To: Dave McCracken <dcm@xxxxxxxx>, Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • Date: Mon, 11 May 2009 18:13:42 +0100
  • Cc:
  • Delivery-date: Mon, 11 May 2009 10:14:10 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcnSUDL8col0fg/IQbWABxfVPsxq1gAC6Jeo
  • Thread-topic: [Xen-devel] How to save and restore new domain config options

On 11/05/2009 16:48, "Dave McCracken" <dcm@xxxxxxxx> wrote:

> I am adding a new option to the domain config.  I need to be able to save and
> restore this option when a domain is saved and restored.  However, I
> discovered that XendConfig.to_sxp() is called with legacy_only set, which does
> not save any options that are not part of the legacy api.  I assume I should
> not be adding new options to the legacy api list, so how do I save new options
> in the save image?

I'd look at how some other option that gets saved/restored and is moderately
recent (e.g., the cpuid feature masks) and copy how that works in this
respect.

 -- Keir



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


 


Rackspace

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