diff options
author | Avi Kivity <avi@redhat.com> | 2011-04-20 08:53:23 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-05-22 08:39:20 -0400 |
commit | bcaf5cc543bdb8f61fc3ce09944e0ecde2966595 (patch) | |
tree | 51aea97914f2886819cae24cc7c4073cfaab2a0d /arch/x86/kvm/emulate.c | |
parent | d6aa10003b0cded5a538af0d198460e89dc2d6d2 (diff) |
KVM: x86 emulator: add new ->wbinvd() callback
Instead of calling kvm_emulate_wbinvd() directly.
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/emulate.c')
-rw-r--r-- | arch/x86/kvm/emulate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index 64e7373d3b2b..522bc35d290c 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c | |||
@@ -4092,7 +4092,7 @@ twobyte_insn: | |||
4092 | rc = em_clts(ctxt); | 4092 | rc = em_clts(ctxt); |
4093 | break; | 4093 | break; |
4094 | case 0x09: /* wbinvd */ | 4094 | case 0x09: /* wbinvd */ |
4095 | kvm_emulate_wbinvd(ctxt->vcpu); | 4095 | ctxt->ops->wbinvd(ctxt); |
4096 | break; | 4096 | break; |
4097 | case 0x08: /* invd */ | 4097 | case 0x08: /* invd */ |
4098 | case 0x0d: /* GrpP (prefetch) */ | 4098 | case 0x0d: /* GrpP (prefetch) */ |