Plumb it into domain_teardown(). Provide arch_val in the teardown
continuation information for use by arch_domain_teardown().
No practical change.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
return rc;
}
+int arch_domain_teardown(struct domain *d)
+{
+ return 0;
+}
+
void arch_domain_destroy(struct domain *d)
{
/* IOMMU page table is shared with P2M, always call
return rc;
}
+int arch_domain_teardown(struct domain *d)
+{
+ return 0;
+}
+
void arch_domain_destroy(struct domain *d)
{
if ( is_hvm_domain(d) )
PROG_none,
PROG_gnttab_mappings,
PROG_vcpu_teardown,
+ PROG_arch_teardown,
PROG_done,
};
return rc;
}
+ PROGRESS(arch_teardown):
+ rc = arch_domain_teardown(d);
+ if ( rc )
+ return rc;
+
PROGRESS(done):
break;
struct xen_domctl_createdomain *config,
unsigned int flags);
+int arch_domain_teardown(struct domain *d);
void arch_domain_destroy(struct domain *d);
void arch_domain_shutdown(struct domain *d);
*/
struct {
unsigned int val;
+ unsigned int arch_val;
struct vcpu *vcpu;
} teardown;