aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorMarian Rotariu <[email protected]>2018-04-30 12:23:01 +0300
committerPaolo Bonzini <[email protected]>2018-05-11 11:21:10 +0200
commit6356ee0c9602004e0a3b4b2dad68ee2ee9385b17 (patch)
tree0b5978c4e855c52181e1a2004e95d87558794e79 /lib/memory-notifier-error-inject.c
parentddc9cfb79c1096a0855839631c091aa7e9602052 (diff)
x86: Delay skip of emulated hypercall instruction
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 <[email protected]> [Hyper-V hypercalls also need kvm_skip_emulated_instruction() - Paolo] Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions