On Wed, Apr 14, 2010 at 03:51:09PM +0200, Jan Kiszka wrote: > When a fault triggers a task switch, the error code, if existent, has to > be pushed on the new task's stack. Implement the missing bits. > > Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx> > --- > > Changes in v2: > - push writeback into emulator_task_switch > - refactored over "Terminate early if task_switch_16/32 failed" > > arch/x86/include/asm/kvm_emulate.h | 3 ++- > arch/x86/include/asm/kvm_host.h | 3 ++- > arch/x86/include/asm/svm.h | 1 + > arch/x86/kvm/emulate.c | 22 ++++++++++++++++++---- > arch/x86/kvm/svm.c | 11 ++++++++++- > arch/x86/kvm/vmx.c | 12 +++++++++++- > arch/x86/kvm/x86.c | 6 ++++-- > 7 files changed, 48 insertions(+), 10 deletions(-) Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html