KVM: Purify x86_decode_insn() error case management
authorLaurent Vivier <Laurent.Vivier@bull.net>
Mon, 24 Sep 2007 15:00:58 +0000 (17:00 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:52:49 +0000 (17:52 +0200)
commita22436b7b8ec9b14a0451d9ac0fdc9d370bd7800
treeb96486abefb623cde2c0af4b82c459b9d811865f
parente4f8e03956de4b1a1dc4bbbdefa9c973d01ee91f
KVM: Purify x86_decode_insn() error case management

The only valid case is on protected page access, other cases are errors.

Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm_main.c