]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commit
x86: introduce alloc_vcpu_guest_context()
authorJan Beulich <jbeulich@novell.com>
Tue, 5 Apr 2011 12:03:29 +0000 (13:03 +0100)
committerJan Beulich <jbeulich@novell.com>
Tue, 5 Apr 2011 12:03:29 +0000 (13:03 +0100)
commit2037f2adbf04d7c6dd2b566045e90ccdd5034ee2
tree3e93b8a218f7ae79872a59829bc9baded30bab64
parent1dd3a56b4338962b953545ed16f4de1d1a394189
x86: introduce alloc_vcpu_guest_context()

This is necessary because on x86-64 struct vcpu_guest_context is
larger than PAGE_SIZE, and hence not suitable for a general purpose
runtime allocation. On x86-32, FIX_PAE_HIGHMEM_* fixmap entries are
being re-used, whiule on x86-64 new per-CPU fixmap entries get
introduced.  The implication of using per-CPU fixmaps is that these
allocations have to happen from non-preemptable hypercall context
(which they all do).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/domain.c
xen/common/domain.c
xen/common/domctl.c
xen/include/asm-ia64/domain.h
xen/include/asm-x86/fixmap.h
xen/include/xen/domain.h