diff options
Diffstat (limited to 'arch/x86/kvm/svm.c')
-rw-r--r-- | arch/x86/kvm/svm.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index d643605c5aeb..89e0be2c10d0 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c | |||
@@ -513,17 +513,6 @@ static void init_vmcb(struct vcpu_svm *svm) | |||
513 | control->intercept = (1ULL << INTERCEPT_INTR) | | 513 | control->intercept = (1ULL << INTERCEPT_INTR) | |
514 | (1ULL << INTERCEPT_NMI) | | 514 | (1ULL << INTERCEPT_NMI) | |
515 | (1ULL << INTERCEPT_SMI) | | 515 | (1ULL << INTERCEPT_SMI) | |
516 | /* | ||
517 | * selective cr0 intercept bug? | ||
518 | * 0: 0f 22 d8 mov %eax,%cr3 | ||
519 | * 3: 0f 20 c0 mov %cr0,%eax | ||
520 | * 6: 0d 00 00 00 80 or $0x80000000,%eax | ||
521 | * b: 0f 22 c0 mov %eax,%cr0 | ||
522 | * set cr3 ->interception | ||
523 | * get cr0 ->interception | ||
524 | * set cr0 -> no interception | ||
525 | */ | ||
526 | /* (1ULL << INTERCEPT_SELECTIVE_CR0) | */ | ||
527 | (1ULL << INTERCEPT_CPUID) | | 516 | (1ULL << INTERCEPT_CPUID) | |
528 | (1ULL << INTERCEPT_INVD) | | 517 | (1ULL << INTERCEPT_INVD) | |
529 | (1ULL << INTERCEPT_HLT) | | 518 | (1ULL << INTERCEPT_HLT) | |