]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/kvm/vmx.c
kvm: x86: make kvm_emulate_* consistant
authorJoel Schopp <joel.schopp@amd.com>
Mon, 2 Mar 2015 19:43:31 +0000 (13:43 -0600)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 10 Mar 2015 23:29:15 +0000 (20:29 -0300)
commit5cb56059c94ddfaf92567a1c6443deec8363ae1c
treeb92abbd21ebb0f6b84708383e123259f8782ee4a
parent1170adc6dd9e94d3cefb6eefe1f44b308d882515
kvm: x86: make kvm_emulate_* consistant

Currently kvm_emulate() skips the instruction but kvm_emulate_* sometimes
don't.  The end reult is the caller ends up doing the skip themselves.
Let's make them consistant.

Signed-off-by: Joel Schopp <joel.schopp@amd.com>
Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c