[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] hvm: wire up domctl and xsm hypercalls


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-unstable <patchbot@xxxxxxx>
  • Date: Mon, 04 Feb 2013 15:44:07 +0000
  • Delivery-date: Mon, 04 Feb 2013 15:44:22 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# HG changeset patch
# User Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>
# Date 1358932639 0
# Node ID 07d6d8bee6d752d1e662bf274b75b0b0979ea575
# Parent  5af4f2ab06f33ce441fa550333a9049c09a9ef28
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@xxxxxxxxxxxxx>
Committed-by: Keir Fraser <keir@xxxxxxx>
---


diff -r 5af4f2ab06f3 -r 07d6d8bee6d7 xen/arch/x86/hvm/hvm.c
--- a/xen/arch/x86/hvm/hvm.c    Tue Jan 22 09:33:10 2013 +0100
+++ b/xen/arch/x86/hvm/hvm.c    Wed Jan 23 09:17:19 2013 +0000
@@ -3239,8 +3239,10 @@ static hvm_hypercall_t *const hvm_hyperc
     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_hyperc
     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)
 };
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.