diff options
author | Daniel De Graaf <dgdegra@tycho.nsa.gov> | 2013-01-23 09:17:19 +0000 |
---|---|---|
committer | Daniel De Graaf <dgdegra@tycho.nsa.gov> | 2013-01-23 09:17:19 +0000 |
commit | db984809d61b1c605d22520b89fa393bcb21430a (patch) | |
tree | 90320281f16104eff75ce1cdab2e265f50d2c82e /xen/arch/x86/hvm/hvm.c | |
parent | f839019dc304299f051bd1c036c64f4c3d0c6815 (diff) | |
download | xen-db984809d61b1c605d22520b89fa393bcb21430a.tar.gz xen-db984809d61b1c605d22520b89fa393bcb21430a.tar.bz2 xen-db984809d61b1c605d22520b89fa393bcb21430a.zip |
hvm: wire up domctl and xsm hypercalls
These hypercalls are usable by HVM guests. Once connected, simple
functions of the Xen toolstack can be run from an HVM domain if that
domain is permitted access (which is currently only possible via XSM).
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Committed-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/hvm/hvm.c')
-rw-r--r-- | xen/arch/x86/hvm/hvm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c index c75f7c5920..b5535c0de9 100644 --- a/xen/arch/x86/hvm/hvm.c +++ b/xen/arch/x86/hvm/hvm.c @@ -3239,8 +3239,10 @@ static hvm_hypercall_t *const hvm_hypercall64_table[NR_hypercalls] = { HYPERCALL(event_channel_op), HYPERCALL(sched_op), HYPERCALL(set_timer_op), + HYPERCALL(xsm_op), HYPERCALL(hvm_op), HYPERCALL(sysctl), + HYPERCALL(domctl), HYPERCALL(tmem_op) }; @@ -3256,8 +3258,10 @@ static hvm_hypercall_t *const hvm_hypercall32_table[NR_hypercalls] = { HYPERCALL(event_channel_op), COMPAT_CALL(sched_op), COMPAT_CALL(set_timer_op), + HYPERCALL(xsm_op), HYPERCALL(hvm_op), HYPERCALL(sysctl), + HYPERCALL(domctl), HYPERCALL(tmem_op) }; |