From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH QEMU-XEN v3 5/8] xen: Switch uses of xc_map_foreign_bulk to use libxenforeignmemory API. Date: Wed, 14 Oct 2015 17:06:53 +0100 Message-ID: <1444838813.23192.229.camel@citrix.com> References: <1444226543.1410.53.camel@citrix.com> <1444227366-1015-5-git-send-email-ian.campbell@citrix.com> <1444833094.23192.217.camel@citrix.com> <1444838399.23192.228.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1444838399.23192.228.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: wei.liu2@citrix.com, ian.jackson@eu.citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, 2015-10-14 at 16:59 +0100, Ian Campbell wrote: > I came up with the following patch[...] > if (!xendev->dev) { > + if (con->string) { I've fixed the obvious typo in my actual tree... > + munmap(con->sring, XC_PAGE_SIZE); > + con->sring = NULL; > + } > return;