]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Fix re-execution of patched vmmcall
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 9 Mar 2015 19:27:43 +0000 (20:27 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Fri, 13 Mar 2015 16:27:54 +0000 (13:27 -0300)
commite9dcf047cd850de2fb01150143453032de87c3cc
tree62ef3413dcba6273b8e59c892308ef8c5292e29c
parentba9f886014e04e1d64e3df413a4faac1ed7a43fd
KVM: x86: Fix re-execution of patched vmmcall

For a very long time (since fba8ece2), the path handling a vmmcall
instruction of the guest on an Intel host only applied the patch but no
longer handled the hypercall. The reverse case, vmcall on AMD hosts, is
fine. As both em_vmcall and em_vmmcall actually have to do the same, we
can fix the issue by consolidating both into the same handler.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/emulate.c