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

Re: [Xen-devel] [PATCH] xen: use 'Hardware domain' instead of 'Domain 0' in hwdom_shutdown()



"Jan Beulich" <JBeulich@xxxxxxxx> writes:

>>>> On 23.04.15 at 12:39, <vkuznets@xxxxxxxxxx> wrote:
>> --- a/xen/common/shutdown.c
>> +++ b/xen/common/shutdown.c
>> @@ -37,46 +37,36 @@ void hwdom_shutdown(u8 reason)
>>      switch ( reason )
>>      {
>>      case SHUTDOWN_poweroff:
>> -    {
>> -        printk("Domain 0 halted: halting machine.\n");
>> +        printk("Hardware domain halted: halting machine.\n");
>>          machine_halt();
>>          break; /* not reached */
>
> Would it perhaps make sense (for the avoidance of ambiguity/
> confusion) to also print the hardware domain's domain ID?

Sure, why not. Did I get it right that we need to print
hardware_domain->domain_id and not hardware_domid here to support hwdom
kexec case? 

-- 
  Vitaly

_______________________________________________
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®.