From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: Re: [Patch] common/kexec: Identify which cpu the kexec image is being executed on. Date: Wed, 8 Jan 2014 13:20:05 +0000 Message-ID: <52CD5085.1050903@citrix.com> References: <1389009547-12886-1-git-send-email-andrew.cooper3@citrix.com> <52CC1D5702000078001112C5@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <52CC1D5702000078001112C5@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: Andrew Cooper , Keir Fraser , Xen-devel List-Id: xen-devel@lists.xenproject.org On 07/01/14 14:29, Jan Beulich wrote: >>>> On 06.01.14 at 12:59, Andrew Cooper wrote: >> --- a/xen/common/kexec.c >> +++ b/xen/common/kexec.c >> @@ -265,6 +265,8 @@ static int noinline one_cpu_only(void) >> } >> >> set_bit(KEXEC_FLAG_IN_PROGRESS, &kexec_flags); >> + printk("Executing crash image on cpu%u\n", cpu); >> + >> return 0; >> } >> > > With the calling function also being used from kexec_reboot(), > printing "crash image" here isn't really correct afaict. Good point. David