aboutsummaryrefslogtreecommitdiffstats
path: root/tools/include
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-06-18 10:14:16 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-06-18 10:14:16 +0100
commitfb442e217186a5bc3ed7ec84f0b683b708609eac (patch)
treeb8f199e985285357b03ca679c4eb352c7000bb19 /tools/include
parenta5c98899b234c23f43dae0f7dd58649a666d070e (diff)
downloadxen-fb442e217186a5bc3ed7ec84f0b683b708609eac.tar.gz
xen-fb442e217186a5bc3ed7ec84f0b683b708609eac.tar.bz2
xen-fb442e217186a5bc3ed7ec84f0b683b708609eac.zip
x86_64: allow more vCPU-s per guest
Since the shared info layout is fixed, guests are required to use VCPUOP_register_vcpu_info prior to booting any vCPU beyond the traditional limit of 32. MAX_VIRT_CPUS, being an implemetation detail of the hypervisor, is no longer being exposed in the public headers. The tools changes are clearly incomplete (and done only so things would build again), and the current state of the tools (using scalar variables all over the place to represent vCPU bitmaps) very likely doesn't permit booting DomU-s with more than the traditional number of vCPU-s. Testing of the extended functionality was done with Dom0 (96 vCPU-s, as well as 128 vCPU-s out of which the kernel elected - by way of a simple kernel side patch - to use only some, resulting in a sparse bitmap). ia64 changes only to make things build, and build-tested only (and the tools part only as far as the build would go without encountering unrelated problems in the blktap code). Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'tools/include')
-rw-r--r--tools/include/xen-foreign/structs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/include/xen-foreign/structs.py b/tools/include/xen-foreign/structs.py
index 7d51ca8b79..a1bc055a19 100644
--- a/tools/include/xen-foreign/structs.py
+++ b/tools/include/xen-foreign/structs.py
@@ -53,6 +53,6 @@ defines = [ "__i386__",
# all archs
"xen_pfn_to_cr3",
- "MAX_VIRT_CPUS",
+ "XEN_LEGACY_MAX_VCPUS",
"MAX_GUEST_CMDLINE" ];