commit | e680080e653b8c8725ca620bf22a5f8480f40cb5 | [log] [tgz] |
---|---|---|
author | Gleb Natapov <gleb@redhat.com> | Wed Apr 28 19:15:33 2010 +0300 |
committer | Avi Kivity <avi@redhat.com> | Sun Aug 01 10:35:32 2010 +0300 |
tree | bd1f36d6269e42e7f62fbf380e6bc170116683b0 | |
parent | 338dbc9781eb5acd0b12809d95d4006135f29767 [diff] |
KVM: x86 emulator: fix X86EMUL_RETRY_INSTR and X86EMUL_CMPXCHG_FAILED values Currently X86EMUL_PROPAGATE_FAULT, X86EMUL_RETRY_INSTR and X86EMUL_CMPXCHG_FAILED have the same value so caller cannot distinguish why function such as emulator_cmpxchg_emulated() (which can return both X86EMUL_PROPAGATE_FAULT and X86EMUL_CMPXCHG_FAILED) failed. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>