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

[Xen-changelog] [xen-unstable] x86: Disable VCPUOP_register_vcpu_time_memory_area.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1268137750 0
# Node ID 94bfa095929728de61da1c31357faccdbc1d4111
# Parent  e6f751ed8e3886b481f6d994759da8187e7daf49
x86: Disable VCPUOP_register_vcpu_time_memory_area.

Its implementation is buggy and causes memory corruption.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/domain.c |    6 ++++++
 1 files changed, 6 insertions(+)

diff -r e6f751ed8e38 -r 94bfa0959297 xen/arch/x86/domain.c
--- a/xen/arch/x86/domain.c     Tue Mar 09 10:00:37 2010 +0000
+++ b/xen/arch/x86/domain.c     Tue Mar 09 12:29:10 2010 +0000
@@ -970,6 +970,11 @@ arch_do_vcpu_op(
         break;
     }
 
+    /*
+     * XXX Disable for 4.0.0: __update_vcpu_system_time() writes to the given
+     * virtual address even when running in another domain's address space.
+     */
+#if 0
     case VCPUOP_register_vcpu_time_memory_area:
     {
         struct vcpu_register_time_memory_area area;
@@ -988,6 +993,7 @@ arch_do_vcpu_op(
 
         break;
     }
+#endif
 
     case VCPUOP_get_physid:
     {

_______________________________________________
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®.