projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd20562
)
KVM: SVM: intercept SMI to handle it at host level
author
Joerg Roedel
<joerg.roedel@amd.com>
Mon, 19 Feb 2007 12:37:47 +0000
(14:37 +0200)
committer
Avi Kivity
<avi@qumranet.com>
Sun, 4 Mar 2007 09:12:41 +0000
(11:12 +0200)
This patch changes the SVM code to intercept SMIs and handle it
outside the guest.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/svm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/kvm/svm.c
b/drivers/kvm/svm.c
index 57aad502e0788f52b83347d481a1fe4e75bc837f..5a200c0b4b48b2a5bde4047cb6feba617ebb34d5 100644
(file)
--- 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