diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2013-05-08 12:41:09 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-05-08 12:59:18 +0100 |
commit | 6ff9e4f743bf2ca4e46bee862dad734777b11b55 (patch) | |
tree | 50ddb6a1b89207afb91eed9667eadd85b5ea6640 /xen/include/xen/sched.h | |
parent | 80185fd5ba2aa1d5979b900468937da59d051df7 (diff) | |
download | xen-6ff9e4f743bf2ca4e46bee862dad734777b11b55.tar.gz xen-6ff9e4f743bf2ca4e46bee862dad734777b11b55.tar.bz2 xen-6ff9e4f743bf2ca4e46bee862dad734777b11b55.zip |
xen: move VCPUOP_register_vcpu_info to common code
Move the implementation of VCPUOP_register_vcpu_info from x86 specific
to commmon code.
Move vcpu_info_mfn from an arch specific vcpu sub-field to the common
vcpu struct.
Move the initialization of vcpu_info_mfn to common code.
Move unmap_vcpu_info and the call to unmap_vcpu_info at domain
destruction time to common code.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/include/xen/sched.h')
-rw-r--r-- | xen/include/xen/sched.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/include/xen/sched.h b/xen/include/xen/sched.h index 5b55c09fb6..ae6a3b843b 100644 --- a/xen/include/xen/sched.h +++ b/xen/include/xen/sched.h @@ -192,6 +192,9 @@ struct vcpu struct waitqueue_vcpu *waitqueue_vcpu; + /* Guest-specified relocation of vcpu_info. */ + unsigned long vcpu_info_mfn; + struct arch_vcpu arch; }; |