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>

authored by

Joerg Roedel and committed by
Avi Kivity
0152527b cd205625

+1
+1
drivers/kvm/svm.c
··· 486 487 control->intercept = (1ULL << INTERCEPT_INTR) | 488 (1ULL << INTERCEPT_NMI) | 489 /* 490 * selective cr0 intercept bug? 491 * 0: 0f 22 d8 mov %eax,%cr3
··· 486 487 control->intercept = (1ULL << INTERCEPT_INTR) | 488 (1ULL << INTERCEPT_NMI) | 489 + (1ULL << INTERCEPT_SMI) | 490 /* 491 * selective cr0 intercept bug? 492 * 0: 0f 22 d8 mov %eax,%cr3