From: Boris Derzhavets Subject: Re: HVM restart issue Date: Thu, 12 Mar 2009 08:10:50 -0700 (PDT) Message-ID: <846949.98541.qm@web56104.mail.re3.yahoo.com> References: Reply-To: bderzhavets@yahoo.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0841459352==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Yang, Xiaowei" , "xen-devel@lists.xensource.com" , Keir Fraser List-Id: xen-devel@lists.xenproject.org --===============0841459352== Content-Type: multipart/alternative; boundary="0-1536593181-1236870650=:98541" --0-1536593181-1236870650=:98541 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Thank you, Keir. --- On Thu, 3/12/09, Keir Fraser wrote: From: Keir Fraser Subject: Re: [Xen-devel] HVM restart issue To: "bderzhavets@yahoo.com" , "Yang, Xiaowei" , "xen-devel@lists.xensource.com" Date: Thursday, March 12, 2009, 11:03 AM hg pull =ADu K. On 12/03/2009 13:02, "Boris Derzhavets" wrote: > I've just made a fresh clone of "xen unstable" with 19317 changesets. > 19314 resolves the issue with hotplug scripts. > Please advise, how to add the most recent ,went in, without recreating > folder xen-unstable.hg and complete new clone. >=20 > Boris. >=20 > --- On Thu, 3/12/09, Keir Fraser wrote: >> From: Keir Fraser >> Subject: Re: [Xen-devel] HVM restart issue >> To: "bderzhavets@yahoo.com" , "Yang, Xiaowei" >> , "xen-devel@lists.xensource.com" >> >> Date: Thursday, March 12, 2009, 7:18 AM >>=20 >> That one is there already. >>=20 >> -- Keir >>=20 >> On 12/03/2009 10:56, "Boris >> Derzhavets" >> wrote: >>=20 >>> How long it takes to push changes to >>> http://xenbits.xensource.com/xen-unstable.hg >>>=20 >>> Boris >>>=20 >>> --- On Thu, 3/12/09, Keir Fraser wrote: >>>> From: Keir Fraser >>>> Subject: Re: [Xen-devel] HVM restart issue >>>> To: "Yang, Xiaowei" , >> "xen-devel@lists.xensource.com" >>>> >>>> Date: Thursday, March 12, 2009, 4:31 AM >>>>=20 >>>> On 12/03/2009 08:15, "Yang, Xiaowei" >> >>>> wrote: >>>>=20 >>>>> Recently I found HVM restart (destroy + start) is very slowly and >> the >>>>> reason is the change to xen-hotplug-cleanup (see below). >>>>>=20 >>>>> When HVM is destroyed, backend vbd/vnif drivers will not >> be >>>> notified >>>>> until /local/domain/hvm_id is removed in xenstore. udev event is >> then >>>>> generated and xen-hotplug-cleanup is called. So the first >> xenstore-read >>>>> will always fail and leave rest undone and xenstore unclean. >> Suggestion >>>>> is to move it after backend/frontend removal. >>>>=20 >>>> I think 19250 has been causing problems for lots of people. I will >> revert it >>>> until a better version is proposed. >>>>=20 >>>> -- Keir >>>>=20 >>>>=20 >>>>=20 >>>> _______________________________________________ >>>> Xen-devel mailing list >>>> Xen-devel@lists.xensource.com >>>> http://lists.xensource.com/xen-devel >>>=20 >>> =20 >>=20 >>=20 >>=20 >> _______________________________________________ >> Xen-devel mailing >> list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel >=20 > =20 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-1536593181-1236870650=:98541 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Thank you, Keir.

--- On Thu, 3/12/0= 9, Keir Fraser <keir.fraser@eu.citrix.com> wrote:
From: Keir Fraser <keir.fraser@eu.citrix.com>
= Subject: Re: [Xen-devel] HVM restart issue
To: "bderzhavets@yahoo.com" &= lt;bderzhavets@yahoo.com>, "Yang, Xiaowei" <xiaowei.yang@intel.com>= ;, "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>Date: Thursday, March 12, 2009, 11:03 AM

hg pull =ADu

= K.

On 12/03/2009 13:02, "Boris Derzhavets" <bderzhavets@yahoo.com= >
wrote:

> I've just made a fresh clone of "xen unstable" w= ith 19317
changesets.
> 19314 resolves the issue with hotplug scri= pts.
> Please advise, how to add the most recent ,went in, without recreating
> folder xen-unstable.hg and complete new clone.
> =
> Boris.
>
> --- On Thu, 3/12/09, Keir Fraser <keir.= fraser@eu.citrix.com> wrote:
>> From: Keir Fraser <keir.fras= er@eu.citrix.com>
>> Subject: Re: [Xen-devel] HVM restart issue=
>> To: "bderzhavets@yahoo.com" <bderzhavets@yahoo.com>,
= "Yang, Xiaowei"
>> <xiaowei.yang@intel.com>,
"xen-devel@l= ists.xensource.com"
>> <xen-devel@lists.xensource.com>
&g= t;> Date: Thursday, March 12, 2009, 7:18 AM
>>
>> Tha= t one is there already.
>>
>> -- Keir
>>
&= gt;> On 12/03/2009 10:56, "Boris
>> Derzhavets" <bderzhavet= s@yahoo.com>
>> wrote:
>>
>>> How long it= takes to push changes to
>>> http://xenbits.xensource.com/xen-= unstable.hg
>>>
>>> Boris
>>>
>>> --- On Thu, 3/12/09, Keir Fraser <keir.fraser@eu.citri= x.com>
wrote:
>>>> From: Keir Fraser <keir.fraser@e= u.citrix.com>
>>>> Subject: Re: [Xen-devel] HVM restart i= ssue
>>>> To: "Yang, Xiaowei" <xiaowei.yang@intel.com>= ,
>> "xen-devel@lists.xensource.com"
>>>> <xen-d= evel@lists.xensource.com>
>>>> Date: Thursday, March 12, = 2009, 4:31 AM
>>>>
>>>> On 12/03/2009 08:15,= "Yang, Xiaowei"
>> <xiaowei.yang@intel.com>
>>>= > wrote:
>>>>
>>>>> Recently I found H= VM restart (destroy + start) is very
slowly and
>> the
>&= gt;>>> reason is the change to xen-hotplug-cleanup (see below).>>>>>
>>>>> When HVM is destroyed, backe= nd vbd/vnif drivers will not
>> be
>>>>=20 notified
>>>>> until /local/domain/hvm_id is removed in = xenstore. udev
event is
>> then
>>>>> generat= ed and xen-hotplug-cleanup is called. So the first
>> xenstore-rea= d
>>>>> will always fail and leave rest undone and xensto= re
unclean.
>> Suggestion
>>>>> is to move it= after backend/frontend removal.
>>>>
>>>> I= think 19250 has been causing problems for lots of people. I
will
>= ;> revert it
>>>> until a better version is proposed.
= >>>>
>>>> -- Keir
>>>>
>= >>>
>>>>
>>>> ____________________= ___________________________
>>>> Xen-devel mailing list
&= gt;>>> Xen-devel@lists.xensource.com
>>>> http://li= sts.xensource.com/xen-devel
>>>
>>>=20
>>
>>
>>
>> ______________________= _________________________
>> Xen-devel mailing
>> list>> Xen-devel@lists.xensource.com
>> http://lists.xensource= .com/xen-devel
>
>



__________________________= _____________________
Xen-devel mailing list
Xen-devel@lists.xensourc= e.com
http://lists.xensource.com/xen-devel

=0A=0A --0-1536593181-1236870650=:98541-- --===============0841459352== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0841459352==--