From: Daniel De Graaf Subject: [PATCH, RFC] Add sysctl to HVM hypercall table Date: Wed, 08 Sep 2010 11:20:56 -0400 Message-ID: <4C87A9D8.9010200@tycho.nsa.gov> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040306000604040405020307" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel , Stefano Stabellini , Ian Campbell List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------040306000604040405020307 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit The sysctl hypercall should be callable from HVM guests. Signed-off-by: Daniel De Graaf --- It may be useful to add all (or almost all) hypercalls to the HVM hypercall table, rather than adding them one at a time when it is found that a useful one is missing. While a few hypercalls don't make sense when calling from HVM, any call that can interact with global xen state or another domain could be useful to an HVM driver domain. Thoughts? --------------040306000604040405020307 Content-Type: text/plain; name="xen-allow-hvm-sysctl.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xen-allow-hvm-sysctl.patch" --- a/xen/arch/x86/hvm/hvm.c +++ b/xen/arch/x86/hvm/hvm.c @@ -2321,6 +2321,7 @@ HYPERCALL(sched_op), HYPERCALL(set_timer_op), HYPERCALL(hvm_op), + HYPERCALL(sysctl), HYPERCALL(tmem_op) }; @@ -2375,6 +2376,7 @@ HYPERCALL(sched_op), HYPERCALL(set_timer_op), HYPERCALL(hvm_op), + HYPERCALL(sysctl), HYPERCALL(tmem_op) }; @@ -2387,6 +2389,7 @@ HYPERCALL(sched_op), HYPERCALL(set_timer_op), HYPERCALL(hvm_op), + HYPERCALL(sysctl), HYPERCALL(tmem_op) }; --------------040306000604040405020307 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------040306000604040405020307--