KVM: Change the emulator_{read,write,cmpxchg}_* functions to take a vcpu
authorLaurent Vivier <Laurent.Vivier@bull.net>
Mon, 30 Jul 2007 10:35:24 +0000 (13:35 +0300)
committerAvi Kivity <avi@qumranet.com>
Sat, 13 Oct 2007 08:18:21 +0000 (10:18 +0200)
commitcebff02b11b02a81d21b6cc8390938dc9bdf0a12
tree99641f1b444835fca8218a5f5b10d2d1bd6ad429
parent0e5017d4ae981b0311a3ec1ca04806a4ae7d7446
KVM: Change the emulator_{read,write,cmpxchg}_* functions to take a vcpu

... instead of a x86_emulate_ctxt, so that other callers can use it easily.

Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm_main.c
drivers/kvm/x86_emulate.c
drivers/kvm/x86_emulate.h