]> xenbits.xensource.com Git - xen.git/commit
x86_64: allow more vCPU-s per guest
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 18 Jun 2009 09:14:16 +0000 (10:14 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 18 Jun 2009 09:14:16 +0000 (10:14 +0100)
commitfb442e217186a5bc3ed7ec84f0b683b708609eac
treeb8f199e985285357b03ca679c4eb352c7000bb19
parenta5c98899b234c23f43dae0f7dd58649a666d070e
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>
52 files changed:
docs/src/interface.tex
tools/debugger/xenitp/xenitp.c
tools/include/xen-foreign/structs.py
tools/libxc/ia64/xc_ia64_linux_restore.c
tools/libxc/ia64/xc_ia64_linux_save.c
tools/libxc/xc_core.c
tools/libxc/xc_core_ia64.c
tools/libxc/xc_core_ia64.h
tools/libxc/xc_dom_ia64.c
tools/libxc/xc_dom_x86.c
tools/libxc/xc_domain_restore.c
tools/libxc/xc_private.h
tools/libxc/xc_ptrace.c
tools/libxc/xc_ptrace.h
tools/libxc/xc_ptrace_core.c
xen/arch/ia64/xen/dom_fw_common.c
xen/arch/ia64/xen/domain.c
xen/arch/ia64/xen/xensetup.c
xen/arch/x86/domain.c
xen/arch/x86/domain_build.c
xen/arch/x86/domctl.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/mtrr.c
xen/arch/x86/hvm/vioapic.c
xen/arch/x86/hvm/vlapic.c
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/hvm/vpic.c
xen/arch/x86/mm.c
xen/arch/x86/mm/paging.c
xen/arch/x86/mm/shadow/common.c
xen/arch/x86/nmi.c
xen/arch/x86/setup.c
xen/arch/x86/traps.c
xen/common/compat/domain.c
xen/common/domain.c
xen/common/domctl.c
xen/common/event_channel.c
xen/common/keyhandler.c
xen/common/sched_sedf.c
xen/common/xenoprof.c
xen/include/asm-ia64/config.h
xen/include/asm-x86/config.h
xen/include/asm-x86/paging.h
xen/include/asm-x86/shared.h
xen/include/public/arch-ia64.h
xen/include/public/arch-x86/xen.h
xen/include/public/xen.h
xen/include/xen/domain.h
xen/include/xen/numa.h
xen/include/xen/sched.h
xen/include/xen/shared.h
xen/include/xen/xenoprof.h