Re: [PATCH v2 2/2] KVM: x86: Push potential exception error code on task switches

2010-04-15 Thread Marcelo Tosatti
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 > --- > > Changes in v2: > - push writeback into emulator_task_sw

[PATCH v2 2/2] KVM: x86: Push potential exception error code on task switches

2010-04-14 Thread Jan Kiszka
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 --- Changes in v2: - push writeback into emulator_task_switch - refactored over "Terminate early if task_switch_16/32 failed" arch