KVM: x86 emulator: introduce read cache
authorGleb Natapov <gleb@redhat.com>
Wed, 28 Apr 2010 16:15:22 +0000 (19:15 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:35:28 +0000 (10:35 +0300)
commit9de41573675cbace09b02ef386f3e9c8739d495c
treee13a6a4b2326103472f7f18b6fd8c855f5ffdacf
parent1c11e713576edf33b95669be9c2dc0ff1e0c90d3
KVM: x86 emulator: introduce read cache

Introduce read cache which is needed for instruction that require more
then one exit to userspace. After returning from userspace the instruction
will be re-executed with cached read value.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_emulate.h
arch/x86/kvm/emulate.c