From: Keir Fraser Subject: Re: How to save and restore new domain config options Date: Mon, 11 May 2009 18:13:42 +0100 Message-ID: References: <200905111048.43994.dcm@mccr.org> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200905111048.43994.dcm@mccr.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dave McCracken , Xen Developers List-Id: xen-devel@lists.xenproject.org On 11/05/2009 16:48, "Dave McCracken" 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