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

2015-07-24 Thread Jan Beulich
>>> On 24.07.15 at 14:41, wrote: > "Jan Beulich" writes: > > On 16.07.15 at 18:27, wrote: >>> --- a/xen/arch/x86/domain.c >>> +++ b/xen/arch/x86/domain.c >>> @@ -704,6 +704,90 @@ void arch_domain_unpause(struct domain *d) >>> viridian_time_ref_count_thaw(d); >>> } >>> >>> +int a

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

2015-07-24 Thread Vitaly Kuznetsov
"Jan Beulich" writes: On 16.07.15 at 18:27, wrote: >> --- a/xen/arch/x86/domain.c >> +++ b/xen/arch/x86/domain.c >> @@ -704,6 +704,90 @@ void arch_domain_unpause(struct domain *d) >> viridian_time_ref_count_thaw(d); >> } >> >> +int arch_domain_soft_reset(struct domain *d) >> +{

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

2015-07-24 Thread Jan Beulich
>>> On 16.07.15 at 18:27, wrote: > --- a/xen/arch/x86/domain.c > +++ b/xen/arch/x86/domain.c > @@ -704,6 +704,90 @@ void arch_domain_unpause(struct domain *d) > viridian_time_ref_count_thaw(d); > } > > +int arch_domain_soft_reset(struct domain *d) > +{ > +struct page_info *page = v

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

2015-07-16 Thread Konrad Rzeszutek Wilk
On Thu, Jul 16, 2015 at 06:27:23PM +0200, Vitaly Kuznetsov wrote: > x86-specific hook cleans up the pirq-emuirq mappings, destroys all ioreq > servers and and replaces the shared_info frame with an empty page to support > subsequent XENMAPSPACE_shared_info call. > > ARM-specific hook is -ENOSYS fo

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

2015-07-16 Thread Vitaly Kuznetsov
x86-specific hook cleans up the pirq-emuirq mappings, destroys all ioreq servers and and replaces the shared_info frame with an empty page to support subsequent XENMAPSPACE_shared_info call. ARM-specific hook is -ENOSYS for now. Signed-off-by: Vitaly Kuznetsov --- Changes since v8: - Comments fi