Skip to contentSkip to conversation

KVM SVM: intercept SMI to handle it at host level

PATCH Applied Joerg Roedel 2 participants 2 messages Feb 16, 2007 – Feb 18, 2007 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 KVM SVM: intercept SMI to handle it at host level

From: Joerg Roedel <[email protected]>

This patch changes the SVM code to intercept SMIs and handle it outside the guest.

Signature · 3 lines
Joerg Roedel
Operating System Research Center
AMD Saxony LLC & Co. KG
drivers/kvm/svm.c +1 -0
index 83da4ea..f3ec1cb 100644
@@ -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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Applied
#1 lore raw
Quoted 5 lines · Joerg Roedel

From: Joerg Roedel <[email protected]>

This patch changes the SVM code to intercept SMIs and handle it outside the guest.

Applied, thanks.

Signature · 8 lines
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV