arch-specific hooks for domain_soft_reset()
authorVitaly Kuznetsov <vkuznets@redhat.com>
Thu, 10 Sep 2015 14:57:40 +0000 (16:57 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 10 Sep 2015 14:57:40 +0000 (16:57 +0200)
commit3235cbfe803048f9c0b513b362ecda47771c33d1
tree7b63e2f9df58ad9cac1f373e6d13854ab6e57720
parent8cc7f2727591d5525870031f28ecbdf0c1890772
arch-specific hooks for domain_soft_reset()

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 <vkuznets@redhat.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/arm/domain.c
xen/arch/x86/domain.c
xen/arch/x86/hvm/hvm.c
xen/common/domain.c
xen/include/asm-x86/hvm/hvm.h
xen/include/xen/domain.h