From: Joerg Roedel Date: Mon, 19 Feb 2007 12:37:47 +0000 (+0200) Subject: KVM: SVM: intercept SMI to handle it at host level X-Git-Tag: v2.6.21-rc3~117 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0152527b76b72333121d5a1243f9e091b58d4580;p=linux-2.6-omap-h63xx.git KVM: SVM: intercept SMI to handle it at host level This patch changes the SVM code to intercept SMIs and handle it outside the guest. Signed-off-by: Joerg Roedel Signed-off-by: Avi Kivity --- diff --git a/drivers/kvm/svm.c b/drivers/kvm/svm.c index 57aad502e07..5a200c0b4b4 100644 --- a/drivers/kvm/svm.c +++ b/drivers/kvm/svm.c @@ -486,6 +486,7 @@ static void init_vmcb(struct vmcb *vmcb) control->intercept = (1ULL << INTERCEPT_INTR) | (1ULL << INTERCEPT_NMI) | + (1ULL << INTERCEPT_SMI) | /* * selective cr0 intercept bug? * 0: 0f 22 d8 mov %eax,%cr3