[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH v2 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 slightly-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-v2

Andrew Cooper (5):
  xen/domain: Introduce a new sanitise_domain_config() helper
  xen/domain: Introduce a new arch_sanitise_domain_config() helper
  xen/domain: Stricter configuration checking
  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         | 70 +++++++++++++++++++++++++-----------
 xen/arch/arm/vgic-v2.c        |  1 -
 xen/arch/arm/vgic-v3.c        | 34 ++----------------
 xen/arch/arm/vgic.c           | 22 ++++++++++--
 xen/arch/arm/vgic/vgic-init.c |  3 --
 xen/arch/arm/vgic/vgic.c      |  7 ++--
 xen/arch/x86/domain.c         | 55 ++++++++++++++++++++++++++++
 xen/common/domain.c           | 83 +++++++++++++++++++++----------------------
 xen/common/domctl.c           |  9 -----
 xen/include/asm-arm/domain.h  |  6 ----
 xen/include/asm-arm/vgic.h    |  5 ++-
 xen/include/asm-x86/domain.h  |  2 --
 xen/include/xen/sched.h       |  6 ++++
 13 files changed, 179 insertions(+), 124 deletions(-)

-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.