From: Andre Przywara Subject: [PATCH] kvm/svm: fix DR interception handling on upcoming AMD CPUs Date: Wed, 9 Feb 2011 01:22:29 +0100 Message-ID: <1297210949-13240-1-git-send-email-andre.przywara@amd.com> Mime-Version: 1.0 Content-Type: text/plain Cc: , , , Andre Przywara To: Return-path: Received: from va3ehsobe005.messaging.microsoft.com ([216.32.180.31]:9580 "EHLO VA3EHSOBE005.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755995Ab1BIAVC (ORCPT ); Tue, 8 Feb 2011 19:21:02 -0500 Sender: kvm-owner@vger.kernel.org List-ID: Somehow the code line advancing the RIP and checking for exceptions got dropped between the post on the ML and the commit. Add it again to let guests boot on upcoming AMD CPUs again. Reported-by: Joerg Roedel Signed-off-by: Andre Przywara --- arch/x86/kvm/svm.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index 25bd1bc..be06e58 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c @@ -2776,6 +2776,7 @@ static int dr_interception(struct vcpu_svm *svm) if (!err) kvm_register_write(&svm->vcpu, reg, val); } + kvm_complete_insn_gp(&svm->vcpu, err); return 1; } -- 1.6.4