]> xenbits.xensource.com Git - people/iwj/xen.git/commit
x86: re-enable VCPUOP_register_vcpu_time_memory_area
authorJan Beulich <jbeulich@suse.com>
Mon, 27 May 2013 06:59:38 +0000 (08:59 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 27 May 2013 06:59:38 +0000 (08:59 +0200)
commitae5092f420e87a4a6b541bf581378c8cc0ee3a99
treed85517331ab1e6596b8b38597bd1bf3a82320934
parentda3bca931fbcf0cbdfec971aca234e7ec0f41e16
x86: re-enable VCPUOP_register_vcpu_time_memory_area

By moving the call to update_vcpu_system_time() out of schedule() into
arch-specific context switch code, the original problem of the function
accessing the wrong domain's address space goes away (obvious even from
patch context, as update_runstate_area() does similar copying).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/arm/domain.c
xen/arch/x86/domain.c
xen/arch/x86/hvm/hvm.c
xen/common/schedule.c