KVM: x86 emulator: Let compiler know insn_fetch() rarely fails
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Sat, 30 Jul 2011 09:02:29 +0000 (18:02 +0900)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Sep 2011 16:18:00 +0000 (19:18 +0300)
commit7d88bb4803d62f6056b079ade6333a026fd11684
tree7abe75c1aad54c59329385935c99551646f1cb7e
parente85a10852c26d7d509ad17bac1a0d5264224b2d2
KVM: x86 emulator: Let compiler know insn_fetch() rarely fails

Fetching the instruction which was to be executed by the guest cannot
fail normally.  So compiler should always predict that it will succeed.

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c