summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan H. Schönherr <jschoenh@amazon.de>2017-09-06 00:58:44 +0300
committerRadim Krčmář <rkrcmar@redhat.com>2017-09-13 17:40:23 +0300
commit49a8afca386ee1775519a4aa80f8e121bd227dd4 (patch)
tree4157c7ec4cd42510f34755e68c6485f8c1693528
parent98152b83e065d5593c261b0cc58197666f94a34f (diff)
downloadlinux-49a8afca386ee1775519a4aa80f8e121bd227dd4.tar.xz
KVM: SVM: Add a missing 'break' statement
Signed-off-by: Jan H. Schönherr <jschoenh@amazon.de> Fixes: f6511935f424 ("KVM: SVM: Add checks for IO instructions") Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
-rw-r--r--arch/x86/kvm/svm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index 2c1cfe68a9af..af54327b9017 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -5302,6 +5302,7 @@ static int svm_check_intercept(struct kvm_vcpu *vcpu,
*/
if (info->rep_prefix != REPE_PREFIX)
goto out;
+ break;
case SVM_EXIT_IOIO: {
u64 exit_info;
u32 bytes;