This is the start of the work to make the vcpu_destroy() code idempotent, so vcpu construction can be moved into domain_create() and successfully unwound on error.
Andrew Cooper (3): xen/vcpu: Rename the common interfaces for consistency xen/vcpu: Introduce vcpu_destroy() xen/vcpu: Rework sanity checks in vcpu_create() xen/arch/arm/domain.c | 6 ++-- xen/arch/arm/domain_build.c | 4 +-- xen/arch/arm/setup.c | 1 - xen/arch/x86/dom0_build.c | 2 +- xen/arch/x86/domain.c | 4 +-- xen/arch/x86/setup.c | 1 - xen/common/domain.c | 80 ++++++++++++++++++++++++++++++--------------- xen/common/domctl.c | 2 +- xen/common/schedule.c | 4 +-- xen/include/xen/domain.h | 10 +++--- 10 files changed, 69 insertions(+), 45 deletions(-) -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel