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

Re: [Xen-devel] [PATCH v8 08/11] xen: arch-specific hooks for domain_soft_reset()



Julien Grall <julien.grall@xxxxxxxxxx> writes:

> Hi Vitaly,
>
> On 23/06/2015 18:11, Vitaly Kuznetsov wrote:
>> diff --git a/xen/arch/arm/domain.c b/xen/arch/arm/domain.c
>> index 24b8938..c112afa 100644
>> --- a/xen/arch/arm/domain.c
>> +++ b/xen/arch/arm/domain.c
>> @@ -653,6 +653,11 @@ void arch_domain_unpause(struct domain *d)
>>   {
>>   }
>>
>> +int arch_domain_soft_reset(struct domain *d)
>> +{
>> +    return 0;
>
> I suspect that it would needs some code in this function in order to
> support soft reset on ARM. If so, should not you return -ENOSYS until
> someone take care of the ARM support?
>

I was hoping kexec for ARM will magically work without any arch-specific
bits here :-)

Sure, let's make it -ENOSYS.

>> +}
>> +
>
> Regards,

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