* [PATCH] KVM SVM: intercept SMI to handle it at host level
@ 2007-02-16 15:09 Joerg Roedel
2007-02-18 9:20 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Joerg Roedel @ 2007-02-16 15:09 UTC (permalink / raw)
To: Avi Kivity; +Cc: kvm-devel, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 253 bytes --]
From: Joerg Roedel <joerg.roedel@amd.com>
This patch changes the SVM code to intercept SMIs and handle it
outside the guest.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
--
Joerg Roedel
Operating System Research Center
AMD Saxony LLC & Co. KG
[-- Attachment #2: kvm-smi.patch --]
[-- Type: text/plain, Size: 402 bytes --]
diff --git a/drivers/kvm/svm.c b/drivers/kvm/svm.c
index 83da4ea..f3ec1cb 100644
--- a/drivers/kvm/svm.c
+++ b/drivers/kvm/svm.c
@@ -485,6 +485,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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] KVM SVM: intercept SMI to handle it at host level
2007-02-16 15:09 [PATCH] KVM SVM: intercept SMI to handle it at host level Joerg Roedel
@ 2007-02-18 9:20 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2007-02-18 9:20 UTC (permalink / raw)
To: Joerg Roedel; +Cc: kvm-devel, linux-kernel
Joerg Roedel wrote:
> From: Joerg Roedel <joerg.roedel@amd.com>
>
> This patch changes the SVM code to intercept SMIs and handle it
> outside the guest.
>
Applied, thanks.
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-02-18 9:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-16 15:09 [PATCH] KVM SVM: intercept SMI to handle it at host level Joerg Roedel
2007-02-18 9:20 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox