Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXlYZ-0007pu-UB for mharc-grub-devel@gnu.org; Mon, 22 Feb 2016 03:09:23 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXlYV-0007iM-Ue for grub-devel@gnu.org; Mon, 22 Feb 2016 03:09:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXlYQ-0000XN-VL for grub-devel@gnu.org; Mon, 22 Feb 2016 03:09:19 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:46293) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXlYQ-0000X0-PE for grub-devel@gnu.org; Mon, 22 Feb 2016 03:09:14 -0500 Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u1M89BSM013746 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 Feb 2016 08:09:12 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.13.8) with ESMTP id u1M89AjN016626 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 22 Feb 2016 08:09:11 GMT Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id u1M897vE010417; Mon, 22 Feb 2016 08:09:10 GMT Received: from olila.local.net-space.pl (/10.175.203.154) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 22 Feb 2016 00:09:06 -0800 Date: Mon, 22 Feb 2016 09:09:02 +0100 From: Daniel Kiper To: Juergen Gross Subject: Re: [PATCH v4 01/11] xen: make xen loader callable multiple times Message-ID: <20160222080902.GL3482@olila.local.net-space.pl> References: <1456120999-5639-1-git-send-email-jgross@suse.com> <1456120999-5639-2-git-send-email-jgross@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1456120999-5639-2-git-send-email-jgross@suse.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Source-IP: userv0022.oracle.com [156.151.31.74] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 Cc: grub-devel@gnu.org, phcoder@gmail.com, mchang@suse.com, xen-devel@lists.xen.org X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 08:09:21 -0000 On Mon, Feb 22, 2016 at 07:03:09AM +0100, Juergen Gross wrote: > The loader for xen paravirtualized environment isn't callable multiple > times as it won't free any memory in case of failure. > > Call grub_relocator_unload() as other modules do it before allocating > a new relocator or when unloading the module. > > Signed-off-by: Juergen Gross Reviewed-by: Daniel Kiper Daniel