Re: [PATCH 3/5] KVM: Restrict rc values in x86_emulate_insn to X86EMUL_* values

2010-01-29 Thread Marcelo Tosatti
On Thu, Jan 28, 2010 at 10:59:29PM +0900, Takuya Yoshikawa wrote: > This patch differentiate the X86EMUL_* values returned from > X86EMUL_* type functions. > > Note: During this work, we noticed some buggy return value > checks in x86_emulate_insn(). See FIXME in this patch. > > Signed-off-by:

[PATCH 3/5] KVM: Restrict rc values in x86_emulate_insn to X86EMUL_* values

2010-01-28 Thread Takuya Yoshikawa
This patch differentiate the X86EMUL_* values returned from X86EMUL_* type functions. Note: During this work, we noticed some buggy return value checks in x86_emulate_insn(). See FIXME in this patch. Signed-off-by: Takuya Yoshikawa --- arch/x86/kvm/emulate.c | 73 +++