WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] domain destory path is not correct on c/s 18117

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] domain destory path is not correct on c/s 18117
From: Christoph Egger <Christoph.Egger@xxxxxxx>
Date: Thu, 24 Jul 2008 13:23:51 +0200
Cc: "Han, Weidong" <weidong.han@xxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Thu, 24 Jul 2008 04:24:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C4AE1612.2484C%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C4AE1612.2484C%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.7
On Thursday 24 July 2008 12:20:50 Keir Fraser wrote:
> On 24/7/08 11:13, "Christoph Egger" <Christoph.Egger@xxxxxxx> wrote:
> > I just figured out, the call to arch_domain_destroy() is delayed until
> > Dom0 shutdown/reboot.
> > Changing "pages" back to int doesn't fix this.
> >
> > Keir: I suppose, c/s 18117 exposes a long standing hidden bug.
> > Reverting c/s 18117 just hides it again.
>
> Or you removed the munmap() from the tail of loadelfimage(). Putting it
> back fixes the bug. Changeset 18118.

Ah, right. I didn't notice that munmap() was called in both failure and
_succuss_ case of xc_map_foreign_ranges().
Thanks for fixing this.

Christoph


-- 
AMD Saxony, Dresden, Germany
Operating System Research Center

Legal Information:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
   Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Registergericht Dresden: HRA 4896
vertretungsberechtigter Komplementär:
   AMD Saxony LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der AMD Saxony LLC:
   Dr. Hans-R. Deppe, Thomas McCoy


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel