|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-devel
Re: [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
 | 
 |  | 
  
    |  |  |