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/
Home Products Support Community News


Re: [Xen-devel] [PATCH] xend: avoid call to XendDomainInfo.recreate() wh

To: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] xend: avoid call to XendDomainInfo.recreate() while creating domain
From: Paolo Bonzini <pbonzini@xxxxxxxxxx>
Date: Thu, 31 Mar 2011 09:05:20 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 31 Mar 2011 00:06:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <19859.24700.96929.267984@xxxxxxxxxxxxxxxxxxxxxxxx>
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: <e1452f8088dc667ca57c.1300799589@xxxxxxxxxxxxxxxxxxxxxxx> <19859.24700.96929.267984@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7
On 03/30/2011 06:55 PM, Ian Jackson wrote:
Paolo Bonzini writes ("[Xen-devel] [PATCH] xend: avoid call to 
XendDomainInfo.recreate() while creating domain"):
avoid call to XendDomainInfo.recreate() while creating domain.

I'm not sure I'm convinced this is the right fix.  Without reading the
code, it seems to me that the problem is that the domain is added to
the list processed by XendDomain.instance().list() before it has been
properly created.

I thought the same, the problem is that this list comes straight from xc_domain_getinfo.

Note that use of xend is deprecated in xen-unstable and we will
probably remove it in this release cycle.  Bugfixes will still be
accepted into older trees.

I know, I'm still pushing out RH patches when they apply though.


Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>