commit | 19d04437267f00c7b50343513693b7a3174ff908 | [log] [tgz] |
---|---|---|
author | Gleb Natapov <gleb@redhat.com> | Thu Apr 15 12:29:50 2010 +0300 |
committer | Avi Kivity <avi@redhat.com> | Mon May 17 12:17:49 2010 +0300 |
tree | 004f50464c662ee472b03149678bc3ca8af461c8 | |
parent | 5b7e0102ae744e9175b905f4267a81393bdb7a75 [diff] |
KVM: fix emulator_task_switch() return value. 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>