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

2015-07-16 Thread Julien Grall
Hi Vitaly, On 16/07/2015 13:36, Vitaly Kuznetsov wrote: Julien Grall writes: 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

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

2015-07-16 Thread Vitaly Kuznetsov
Julien Grall 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 d

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

2015-07-15 Thread Julien Grall
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_

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

2015-07-14 Thread Vitaly Kuznetsov
Konrad Rzeszutek Wilk writes: > On Tue, Jul 14, 2015 at 05:52:44PM +0200, Vitaly Kuznetsov wrote: >> Konrad Rzeszutek Wilk writes: >> >> > On Tue, Jun 23, 2015 at 06:11:50PM +0200, Vitaly Kuznetsov wrote: >> >> ... >> >> >> >> +int arch_domain_soft_reset(struct domain *d) >> >> +{ >> >> +

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

2015-07-14 Thread Konrad Rzeszutek Wilk
On Tue, Jul 14, 2015 at 05:52:44PM +0200, Vitaly Kuznetsov wrote: > Konrad Rzeszutek Wilk writes: > > > On Tue, Jun 23, 2015 at 06:11:50PM +0200, Vitaly Kuznetsov wrote: > >> ... > >> > >> +int arch_domain_soft_reset(struct domain *d) > >> +{ > >> +struct page_info *page = virt_to_page(d->s

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

2015-07-14 Thread Vitaly Kuznetsov
Konrad Rzeszutek Wilk writes: > On Tue, Jun 23, 2015 at 06:11:50PM +0200, Vitaly Kuznetsov wrote: >> ... >> >> +int arch_domain_soft_reset(struct domain *d) >> +{ >> +struct page_info *page = virt_to_page(d->shared_info), *new_page; >> +int ret = 0; >> +struct domain *owner; >> +

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

2015-07-10 Thread Konrad Rzeszutek Wilk
On Tue, Jun 23, 2015 at 06:11:50PM +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 a noop for

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

2015-06-23 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 a noop for now. Signed-off-by: Vitaly Kuznetsov --- Changes since 'PATCH RFC' of the