diff options
Diffstat (limited to 'arch/x86/kvm/emulate.c')
-rw-r--r-- | arch/x86/kvm/emulate.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index abb8cec420a2..e8bdddc4509e 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c | |||
@@ -3138,8 +3138,11 @@ twobyte_insn: | |||
3138 | emulate_clts(ctxt->vcpu); | 3138 | emulate_clts(ctxt->vcpu); |
3139 | c->dst.type = OP_NONE; | 3139 | c->dst.type = OP_NONE; |
3140 | break; | 3140 | break; |
3141 | case 0x08: /* invd */ | ||
3142 | case 0x09: /* wbinvd */ | 3141 | case 0x09: /* wbinvd */ |
3142 | kvm_emulate_wbinvd(ctxt->vcpu); | ||
3143 | c->dst.type = OP_NONE; | ||
3144 | break; | ||
3145 | case 0x08: /* invd */ | ||
3143 | case 0x0d: /* GrpP (prefetch) */ | 3146 | case 0x0d: /* GrpP (prefetch) */ |
3144 | case 0x18: /* Grp16 (prefetch/nop) */ | 3147 | case 0x18: /* Grp16 (prefetch/nop) */ |
3145 | c->dst.type = OP_NONE; | 3148 | c->dst.type = OP_NONE; |