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] [PATCH 01/11] kexec: add kexec_is_loaded function

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 01/11] kexec: add kexec_is_loaded function
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Mon, 1 Aug 2011 14:59:23 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Delivery-date: Mon, 01 Aug 2011 06:04:40 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1312203627; l=478; s=domk; d=aepfle.de; h=In-Reply-To:Content-Type:MIME-Version:References:Subject:Cc:To:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=8se3Kq86r9Hgkr+O3du9bN3c4Bk=; b=QwncUK0AwnAR0cR0TubG4RVo4ctn6g7YotmJuIieb64QSNB9AGR8KqE4DHyXyQf2ery rEt7P4l3TPz7mhviyl4uDs6gKWGxkHAyjdoKbSY0knwSRXbvR90o7Gd6AR4Jc09uQCjDB +gx5aZ+J2ozDCmEMn6wwsm7uAbLvsIdorUM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110729173434.GA7745@xxxxxxxxxxxx>
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: <20110728132300.248098023@xxxxxxxxx> <20110728132300.620721927@xxxxxxxxx> <alpine.DEB.2.00.1107291535010.12963@kaball-desktop> <20110729173434.GA7745@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21.rev5535 (2011-07-01)
On Fri, Jul 29, Konrad Rzeszutek Wilk wrote:

> > > +int kexec_is_loaded(void)
> > > +{
> > > + return !!kexec_image;
> > > +}
> > > +EXPORT_SYMBOL_GPL(kexec_is_loaded);
> > 
> > Wouldn't this return true just if a kexec_image is loaded no matter if
> > this is a normal shutdown or if it is an actually kexec reboot?

This patch is not needed if every cleanup is done right during bootup.
See the 3rd version of my kexec/kdump patch which I sent out today.

Olaf

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

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-devel] [PATCH 01/11] kexec: add kexec_is_loaded function, Olaf Hering <=