summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/watchdog_dev.c
diff options
context:
space:
mode:
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>2011-07-30 18:03:34 +0900
committerAvi Kivity <avi@redhat.com>2011-09-25 19:18:01 +0300
commit1d2887e2d849969f58ce79203f9785ebe065d494 (patch)
tree9ca6e1bfdf14e646b9816aa45a18230e1880784d /drivers/watchdog/watchdog_dev.c
parent7d88bb4803d62f6056b079ade6333a026fd11684 (diff)
downloadop-kernel-dev-1d2887e2d849969f58ce79203f9785ebe065d494.zip
op-kernel-dev-1d2887e2d849969f58ce79203f9785ebe065d494.tar.gz
KVM: x86 emulator: Make x86_decode_insn() return proper macros
Return EMULATION_OK/FAILED consistently. Also treat instruction fetch errors, not restricted to X86EMUL_UNHANDLEABLE, as EMULATION_FAILED; although this cannot happen in practice, the current logic will continue the emulation even if the decoder fails to fetch the instruction. Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'drivers/watchdog/watchdog_dev.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud