diff options
| author | James Hogan <[email protected]> | 2017-03-14 10:15:14 +0000 |
|---|---|---|
| committer | James Hogan <[email protected]> | 2017-03-28 14:53:33 +0100 |
| commit | 955d8dc3ee555e9320fabbeab0969f9cf7660f9d (patch) | |
| tree | b6a2787a9b99078a7387c90a2f8ddaee63840830 /tools/perf/scripts/python | |
| parent | a6c09b9f9d1c3b1daf8e24e5556d73b9303843ef (diff) | |
KVM: MIPS: Implement HYPCALL emulation
Emulate the HYPCALL instruction added in the VZ ASE and used by the MIPS
paravirtualised guest support that is already merged. The new hypcall.c
handles arguments and the return value. No actual hypercalls are yet
supported, but this still allows us to safely step over hypercalls and
set an error code in the return value for forward compatibility.
Non-zero HYPCALL codes are not handled.
We also document the hypercall ABI which asm/kvm_para.h uses.
Signed-off-by: James Hogan <[email protected]>
Acked-by: Ralf Baechle <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: "Radim Krčmář" <[email protected]>
Cc: Andreas Herrmann <[email protected]>
Cc: David Daney <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions