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] The shadow control hypercall can now invoke shadow trans

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] The shadow control hypercall can now invoke shadow translate mode.
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Tue, 12 Apr 2005 16:33:28 +0000
Delivery-date: Wed, 13 Apr 2005 23:03:36 +0000
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/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 Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1291.1.2, 2005/04/12 17:33:28+01:00, mafetter@xxxxxxxxxxxxxxxx

        The shadow control hypercall can now invoke shadow translate mode.



 arch/x86/shadow.c         |    5 +++++
 include/public/dom0_ops.h |    1 +
 2 files changed, 6 insertions(+)


diff -Nru a/xen/arch/x86/shadow.c b/xen/arch/x86/shadow.c
--- a/xen/arch/x86/shadow.c     2005-04-13 19:03:47 -04:00
+++ b/xen/arch/x86/shadow.c     2005-04-13 19:03:47 -04:00
@@ -1228,6 +1228,11 @@
         rc = __shadow_mode_enable(d, 
d->arch.shadow_mode|SHM_enable|SHM_log_dirty);
         break;
 
+    case DOM0_SHADOW_CONTROL_OP_ENABLE_TRANSLATE:
+        free_shadow_pages(d);
+        rc = __shadow_mode_enable(d, 
d->arch.shadow_mode|SHM_enable|SHM_translate);
+        break;
+
     default:
         rc = shadow_mode_enabled(d) ? shadow_mode_table_op(d, sc) : -EINVAL;
         break;
diff -Nru a/xen/include/public/dom0_ops.h b/xen/include/public/dom0_ops.h
--- a/xen/include/public/dom0_ops.h     2005-04-13 19:03:47 -04:00
+++ b/xen/include/public/dom0_ops.h     2005-04-13 19:03:47 -04:00
@@ -242,6 +242,7 @@
 #define DOM0_SHADOW_CONTROL_OP_OFF         0
 #define DOM0_SHADOW_CONTROL_OP_ENABLE_TEST 1
 #define DOM0_SHADOW_CONTROL_OP_ENABLE_LOGDIRTY 2
+#define DOM0_SHADOW_CONTROL_OP_ENABLE_TRANSLATE 3
 
 #define DOM0_SHADOW_CONTROL_OP_FLUSH       10     /* table ops */
 #define DOM0_SHADOW_CONTROL_OP_CLEAN       11

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] The shadow control hypercall can now invoke shadow translate mode., BitKeeper Bot <=