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 12:13:37 +0200
Cc: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, "Han, Weidong" <weidong.han@xxxxxxxxx>
Delivery-date: Thu, 24 Jul 2008 03:15:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200807241156.44808.Christoph.Egger@xxxxxxx>
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: <0122C7C995D32147B66BF4F440D30163016B6CDC@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <200807241156.44808.Christoph.Egger@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.7
On Thursday 24 July 2008 11:56:44 Christoph Egger wrote:
> On Thursday 24 July 2008 11:22:43 Han, Weidong wrote:
> > When poweroff a domain, even arch_domain_destroy() is not called. I
> > located this is introduced by c/s 18117. This bug results in a device
> > cannot be assigned twice.
>
> That works for PV domains.
>
> I think, "pages" in tools/libxc/xc_hvm_build.c  is not calculated
> correctly. Using an unsigned type for "pages" is the only functional
> change for Linux and Solaris in c/s 18117.

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.

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