kvm: Prepare to add generic guest entry/exit callbacks
authorFrederic Weisbecker <fweisbec@gmail.com>
Sun, 20 Jan 2013 23:50:22 +0000 (00:50 +0100)
committerFrederic Weisbecker <fweisbec@gmail.com>
Sun, 27 Jan 2013 19:35:40 +0000 (20:35 +0100)
commitc11f11fcbdb5be790c565aed46411486a7586afc
tree56552d483192df72e9c2bbb4c3b976ba05740626
parent6fac4829ce0ef9b7f24369086ce5f0e9f38d37bc
kvm: Prepare to add generic guest entry/exit callbacks

Do some ground preparatory work before adding guest_enter()
and guest_exit() context tracking callbacks. Those will
be later used to read the guest cputime safely when we
run in full dynticks mode.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Gleb Natapov <gleb@redhat.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Li Zhong <zhong@linux.vnet.ibm.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
arch/ia64/kernel/time.c
arch/powerpc/kernel/time.c
include/linux/kvm_host.h
include/linux/vtime.h
kernel/sched/cputime.c