diff options
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r-- | arch/x86/kvm/x86.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index eb55ec55125c..689c2c3182ab 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -3936,6 +3936,9 @@ static bool reexecute_instruction(struct kvm_vcpu *vcpu, gva_t gva) | |||
3936 | { | 3936 | { |
3937 | gpa_t gpa; | 3937 | gpa_t gpa; |
3938 | 3938 | ||
3939 | if (tdp_enabled) | ||
3940 | return false; | ||
3941 | |||
3939 | /* | 3942 | /* |
3940 | * if emulation was due to access to shadowed page table | 3943 | * if emulation was due to access to shadowed page table |
3941 | * and it failed try to unshadow page and re-entetr the | 3944 | * and it failed try to unshadow page and re-entetr the |