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

[Xen-changelog] [xen-3.2-testing] hvm: Allow HVM guests to execute GNTTABOP_setup_table.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1206727172 0
# Node ID 962b23255cb7cc7036f8edca395f717be6c87bd7
# Parent  eac728a0cd232053c49e59ac5192c52af165ac86
hvm: Allow HVM guests to execute GNTTABOP_setup_table.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   17320:6736c28a0d35cf4d25e2e93a98c1443e809f2c50
xen-unstable date:        Fri Mar 28 17:58:36 2008 +0000
---
 xen/arch/x86/hvm/hvm.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r eac728a0cd23 -r 962b23255cb7 xen/arch/x86/hvm/hvm.c
--- a/xen/arch/x86/hvm/hvm.c    Fri Mar 28 11:07:42 2008 +0000
+++ b/xen/arch/x86/hvm/hvm.c    Fri Mar 28 17:59:32 2008 +0000
@@ -1503,7 +1503,7 @@ static long hvm_grant_table_op(
 static long hvm_grant_table_op(
     unsigned int cmd, XEN_GUEST_HANDLE(void) uop, unsigned int count)
 {
-    if ( cmd != GNTTABOP_query_size )
+    if ( (cmd != GNTTABOP_query_size) && (cmd != GNTTABOP_setup_table) )
         return -ENOSYS; /* all other commands need auditing */
     return do_grant_table_op(cmd, uop, count);
 }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
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®.