[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH RFC 0/5] xen/domain: Allocate d->vcpu[] earlier during domain construction
To fix an order-of-construction issue with gic-v3 on ARM, arrange for d->max_vcpus to be auditied and set up prior to arch_domain_create() This is RFC because all of the interesting changes are in ARM, and therefore only compile tested by me at this point. This can be found in git tree from from: http://xenbits.xen.org/gitweb/?p=people/andrewcoop/xen.git;a=shortlog;h=refs/heads/xen-alloc-vcpus Andrew Cooper (5): xen/domain: Introduce a new check_domain_config() helper xen/domain: Introduce a new arch_check_domain_config() helper xen/domain: Audit config->max_vcpus during {,arch_}check_domain_config() xen/domain: Allocate d->vcpu[] earlier during domain_create() Revert "xen/arm: vgic-v3: Delay the initialization of the domain information" xen/arch/arm/domain.c | 62 +++++++++++++++++++++++++++++-------------- xen/arch/arm/vgic-v2.c | 1 - xen/arch/arm/vgic-v3.c | 34 ++---------------------- xen/arch/arm/vgic.c | 5 ---- xen/arch/arm/vgic/vgic-init.c | 3 --- xen/arch/arm/vgic/vgic.c | 16 ----------- xen/arch/x86/domain.c | 11 ++++++++ xen/common/domain.c | 45 ++++++++++++++++++++++--------- xen/common/domctl.c | 9 ------- xen/include/asm-arm/domain.h | 6 ----- xen/include/asm-arm/vgic.h | 4 --- xen/include/asm-x86/domain.h | 2 -- xen/include/xen/sched.h | 6 +++++ 13 files changed, 93 insertions(+), 111 deletions(-) -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |