summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMarian Rotariu <mrotariu@bitdefender.com>2018-04-30 12:23:01 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-21 04:01:41 +0900
commit9332f10ed8ff01b20bfb25af59ebde534c9edf4d (patch)
tree402d853e63c85339ec197ef53dd744828f0272a4 /tools
parent922d8611bec3851a3a9deeef05d1b42a29683849 (diff)
x86: Delay skip of emulated hypercall instruction
[ Upstream commit 6356ee0c9602004e0a3b4b2dad68ee2ee9385b17 ] The IP increment should be done after the hypercall emulation, after calling the various handlers. In this way, these handlers can accurately identify the the IP of the VMCALL if they need it. This patch keeps the same functionality for the Hyper-V handler which does not use the return code of the standard kvm_skip_emulated_instruction() call. Signed-off-by: Marian Rotariu <mrotariu@bitdefender.com> [Hyper-V hypercalls also need kvm_skip_emulated_instruction() - Paolo] Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions