[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [Patch] common/kexec: Identify which cpu the kexec image is being executed on.



>>> On 06.01.14 at 12:59, Andrew Cooper <andrew.cooper3@xxxxxxxxxx> 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.

Jan

> @@ -340,8 +342,6 @@ void kexec_crash(void)
>      if ( !test_bit(KEXEC_IMAGE_CRASH_BASE + pos, &kexec_flags) )
>          return;
>  
> -    printk("Executing crash image\n");
> -
>      kexecing = TRUE;
>  
>      if ( kexec_common_shutdown() != 0 )
> -- 
> 1.7.10.4




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.