From: Ian Jackson Subject: Re: [PATCH] tools: Handle failed xc_get_hvm_param in domain save Date: Fri, 25 Feb 2011 17:25:15 +0000 Message-ID: <19815.58875.95783.10613@mariner.uk.xensource.com> References: <9261ae7a9a9c0ea748e8.1298558254@elijah> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <9261ae7a9a9c0ea748e8.1298558254@elijah> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: George Dunlap Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org George Dunlap writes ("[Xen-devel] [PATCH] tools: Handle failed xc_get_hvm_param in domain save"): > The domain save code will read an HVM param, and if it's not zero, > make an entry for it. However, if the hypercall fails for any reason, > the data may not be written, and the value for the previous parameter > may be written in the save file as the parameter that failed. Thanks, I'm applying this. But: what an unpleasantly formulaic section of code! Ian.