|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] The shadow control hypercall can now invoke shadow trans
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 <=
|
|
|
|
|