From: Dave McCracken Subject: How to save and restore new domain config options Date: Mon, 11 May 2009 10:48:43 -0500 Message-ID: <200905111048.43994.dcm@mccr.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen Developers List-Id: xen-devel@lists.xenproject.org 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? Thanks, Dave McCracken