aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-09-13 17:26:49 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-09-13 17:26:49 +0100
commit4e1d7bcd4d091af0b40cd4e7e8b1f15909e364e7 (patch)
treed24e3f699e3f747bee7d635a0762353c16b28716
parent5d21edd56cbf2395889ad1a8e60b321b9d165971 (diff)
downloadxen-4e1d7bcd4d091af0b40cd4e7e8b1f15909e364e7.tar.gz
xen-4e1d7bcd4d091af0b40cd4e7e8b1f15909e364e7.tar.bz2
xen-4e1d7bcd4d091af0b40cd4e7e8b1f15909e364e7.zip
The sysctl hypercall should be callable from HVM guests.
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
-rw-r--r--xen/arch/x86/hvm/hvm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c
index a4e5298f3a..486178e927 100644
--- a/xen/arch/x86/hvm/hvm.c
+++ b/xen/arch/x86/hvm/hvm.c
@@ -2321,6 +2321,7 @@ static hvm_hypercall_t *hvm_hypercall32_table[NR_hypercalls] = {
HYPERCALL(sched_op),
HYPERCALL(set_timer_op),
HYPERCALL(hvm_op),
+ HYPERCALL(sysctl),
HYPERCALL(tmem_op)
};
@@ -2375,6 +2376,7 @@ static hvm_hypercall_t *hvm_hypercall64_table[NR_hypercalls] = {
HYPERCALL(sched_op),
HYPERCALL(set_timer_op),
HYPERCALL(hvm_op),
+ HYPERCALL(sysctl),
HYPERCALL(tmem_op)
};
@@ -2387,6 +2389,7 @@ static hvm_hypercall_t *hvm_hypercall32_table[NR_hypercalls] = {
HYPERCALL(sched_op),
HYPERCALL(set_timer_op),
HYPERCALL(hvm_op),
+ HYPERCALL(sysctl),
HYPERCALL(tmem_op)
};