diff options
| author | Andrey Smetanin <[email protected]> | 2016-02-11 16:44:59 +0300 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2016-02-16 18:48:41 +0100 |
| commit | 0d9c055eaaf41bebb0e6b095fff447523121fad3 (patch) | |
| tree | 430eb72d9bbe98c88e604dfc543610c22c34d7ba /tools/perf/scripts/python | |
| parent | 18f098618aa031f4c8a907c550fcd6785280c977 (diff) | |
kvm/x86: Pass return code of kvm_emulate_hypercall
Pass the return code from kvm_emulate_hypercall on to the caller,
in order to allow it to indicate to the userspace that
the hypercall has to be handled there.
Also adjust all the existing code paths to return 1 to make sure the
hypercall isn't passed to the userspace without setting kvm_run
appropriately.
Signed-off-by: Andrey Smetanin <[email protected]>
Reviewed-by: Roman Kagan <[email protected]>
CC: Gleb Natapov <[email protected]>
CC: Paolo Bonzini <[email protected]>
CC: Joerg Roedel <[email protected]>
CC: "K. Y. Srinivasan" <[email protected]>
CC: Haiyang Zhang <[email protected]>
CC: Roman Kagan <[email protected]>
CC: Denis V. Lunev <[email protected]>
CC: [email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions