WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-3.1-testing] hvm: Allow HVM guests to execute GNTTA

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.1-testing] hvm: Allow HVM guests to execute GNTTABOP_setup_table.
From: "Xen patchbot-3.1-testing" <patchbot-3.1-testing@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 01 Apr 2008 02:00:22 -0700
Delivery-date: Tue, 01 Apr 2008 02:00:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1206727202 0
# Node ID e7d22393c76f10a959ccb5060d9c97746f4229b2
# Parent  05043d7520dde083891e4ebb5a32651e741dd7e4
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 05043d7520dd -r e7d22393c76f xen/arch/x86/hvm/hvm.c
--- a/xen/arch/x86/hvm/hvm.c    Fri Mar 28 11:08:24 2008 +0000
+++ b/xen/arch/x86/hvm/hvm.c    Fri Mar 28 18:00:02 2008 +0000
@@ -708,7 +708,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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.1-testing] hvm: Allow HVM guests to execute GNTTABOP_setup_table., Xen patchbot-3.1-testing <=