From: Keir Fraser Subject: Re: [PATCH] For detecting resume operation in hotplug scripts Date: Fri, 3 Feb 2006 10:50:11 +0000 Message-ID: References: <1138916091.761.8.camel@jlfb-2.watson.ibm.com> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1138916091.761.8.camel@jlfb-2.watson.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefan Berger Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 2 Feb 2006, at 21:34, Stefan Berger wrote: > I have previously posted a patch with changes to the xenbus for being > able to detect the reason why a frontend is created, which can be > either > due to domain creation or a restore. The attached patch now puts this > functionality into XenD and allows driver implementations in Xend to > read the state and see whether a domain is currently being resumed or > created and write this value into the xenstore for hotplug scripts to > read it. The state of a domain being resumed is set when a > XendDomainInfo object is created and reset at the end of the restore > function. > > Please let me know about comments. This looks much more palatable than the previous patch, thanks! -- Keir