KVM: x86 emulator: cleanup grp3 return value
authorGleb Natapov <gleb@redhat.com>
Thu, 18 Mar 2010 13:20:15 +0000 (15:20 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:16:12 +0000 (12:16 +0300)
commitaca06a83071e4e4c9150751db7ea6a46240734fc
tree9346ba8604f6b09e72595288a8d2c4c3feb3d48b
parenta41ffb7540cb37426759e688083502d6463421b2
KVM: x86 emulator: cleanup grp3 return value

When x86_emulate_insn() does not know how to emulate instruction it
exits via cannot_emulate label in all cases except when emulating
grp3. Fix that.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/emulate.c