debuggers.hg

changeset 21062:94bfa0959297

x86: Disable VCPUOP_register_vcpu_time_memory_area.

Its implementation is buggy and causes memory corruption.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 09 12:29:10 2010 +0000 (2010-03-09)
parents e6f751ed8e38
children 83a8e561f3ff
files xen/arch/x86/domain.c
line diff
     1.1 --- a/xen/arch/x86/domain.c	Tue Mar 09 10:00:37 2010 +0000
     1.2 +++ b/xen/arch/x86/domain.c	Tue Mar 09 12:29:10 2010 +0000
     1.3 @@ -970,6 +970,11 @@ arch_do_vcpu_op(
     1.4          break;
     1.5      }
     1.6  
     1.7 +    /*
     1.8 +     * XXX Disable for 4.0.0: __update_vcpu_system_time() writes to the given
     1.9 +     * virtual address even when running in another domain's address space.
    1.10 +     */
    1.11 +#if 0
    1.12      case VCPUOP_register_vcpu_time_memory_area:
    1.13      {
    1.14          struct vcpu_register_time_memory_area area;
    1.15 @@ -988,6 +993,7 @@ arch_do_vcpu_op(
    1.16  
    1.17          break;
    1.18      }
    1.19 +#endif
    1.20  
    1.21      case VCPUOP_get_physid:
    1.22      {