KVM: fix emulator_task_switch() return value.
authorGleb Natapov <gleb@redhat.com>
Thu, 15 Apr 2010 09:29:50 +0000 (12:29 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:17:49 +0000 (12:17 +0300)
emulator_task_switch() should return -1 for failure and 0 for success to
the caller, just like x86_emulate_insn() does.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

No differences found