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-unstable] x86: XEN_DOMCTL_MEM_SHARING_OP_CONTROL sh

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86: XEN_DOMCTL_MEM_SHARING_OP_CONTROL should not depend on HAP.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 06 Jan 2010 01:45:14 -0800
Delivery-date: Wed, 06 Jan 2010 01:46:07 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/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 1262770741 0
# Node ID bec36e63fb0e82f78ff9cfb1737b8a09cf621d05
# Parent  de9c5e3665270ce538917c81521541194d349141
x86: XEN_DOMCTL_MEM_SHARING_OP_CONTROL should not depend on HAP.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/mm/mem_sharing.c |    5 +----
 1 files changed, 1 insertion(+), 4 deletions(-)

diff -r de9c5e366527 -r bec36e63fb0e xen/arch/x86/mm/mem_sharing.c
--- a/xen/arch/x86/mm/mem_sharing.c     Wed Jan 06 08:25:07 2010 +0000
+++ b/xen/arch/x86/mm/mem_sharing.c     Wed Jan 06 09:39:01 2010 +0000
@@ -731,12 +731,9 @@ int mem_sharing_domctl(struct domain *d,
     {
         case XEN_DOMCTL_MEM_SHARING_OP_CONTROL:
         {
-            rc = 0;
-            if(!hap_enabled(d))
-                return -EINVAL;
             d->arch.hvm_domain.mem_sharing_enabled = mec->u.enable;
             mem_sharing_audit();
-            return 0; 
+            rc = 0;
         }
         break;
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] x86: XEN_DOMCTL_MEM_SHARING_OP_CONTROL should not depend on HAP., Xen patchbot-unstable <=