mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-21 01:51:18 +00:00
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 <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
This commit is contained in:
parent
cd205625e9
commit
0152527b76
1 changed files with 1 additions and 0 deletions
|
@ -486,6 +486,7 @@ static void init_vmcb(struct vmcb *vmcb)
|
||||||
|
|
||||||
control->intercept = (1ULL << INTERCEPT_INTR) |
|
control->intercept = (1ULL << INTERCEPT_INTR) |
|
||||||
(1ULL << INTERCEPT_NMI) |
|
(1ULL << INTERCEPT_NMI) |
|
||||||
|
(1ULL << INTERCEPT_SMI) |
|
||||||
/*
|
/*
|
||||||
* selective cr0 intercept bug?
|
* selective cr0 intercept bug?
|
||||||
* 0: 0f 22 d8 mov %eax,%cr3
|
* 0: 0f 22 d8 mov %eax,%cr3
|
||||||
|
|
Loading…
Reference in a new issue