From: Ian Jackson Subject: Re: [PATCH] reserve vtd_mem on guest restore Date: Thu, 2 Sep 2010 17:06:15 +0100 Message-ID: <19583.52087.656855.948659@mariner.uk.xensource.com> References: <422803751.1899281283416347272.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <422803751.1899281283416347272.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Miroslav Rezanina Cc: xen-devel List-Id: xen-devel@lists.xenproject.org Miroslav Rezanina writes ("[Xen-devel] [PATCH] reserve vtd_mem on guest restore"): > There's need for free vtd_mem more memory for guest with > xen-unstable c/s 17529. This memory is freed when guest is created, > but is not freed when guest is restored. So restore guest fails due > to not enough of memory for guest. > > Following patch uses same calculation of memory to free in guest > restore as is in guest creation. This patch has a syntax error: File "tools/python/xen/xend/XendCheckpoint.py", line 280 vtd_mem = 0 ^ IndentationError: unexpected indent Ian.