aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-arm/config.h
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2012-06-26 16:23:54 +0100
committerIan Campbell <ian.campbell@citrix.com>2012-06-26 16:23:54 +0100
commitaa25a619d37b332446cb93828f9ac26160fa239d (patch)
treed694e592400968877ee832187f4b69ed8f185c5a /xen/include/asm-arm/config.h
parent400b3acd20cac38502bc2652630a40aacfe47a25 (diff)
downloadxen-aa25a619d37b332446cb93828f9ac26160fa239d.tar.gz
xen-aa25a619d37b332446cb93828f9ac26160fa239d.tar.bz2
xen-aa25a619d37b332446cb93828f9ac26160fa239d.zip
arm: do not set max_vcpus = 8 in arch_domain_create.
XEN_DOMCTL_max_vcpus cannot reduce max_vcpus and therefore we can't create a smaller guest. The limit of 8 (due to GIC limits) should be expressed in MAX_VIRT_CPUS. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'xen/include/asm-arm/config.h')
-rw-r--r--xen/include/asm-arm/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/asm-arm/config.h b/xen/include/asm-arm/config.h
index 91e87e1571..7d02cc7385 100644
--- a/xen/include/asm-arm/config.h
+++ b/xen/include/asm-arm/config.h
@@ -27,7 +27,7 @@
#define NR_CPUS 128
#endif
-#define MAX_VIRT_CPUS 128 /* XXX */
+#define MAX_VIRT_CPUS 8
#define MAX_HVM_VCPUS MAX_VIRT_CPUS
#define asmlinkage /* Nothing needed */