diff options
| author | James Hogan <[email protected]> | 2016-06-15 19:29:49 +0100 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2016-06-15 23:58:24 +0200 |
| commit | f5c43bd4218c0d7bd65b010fd080cd6edeaeb4c8 (patch) | |
| tree | 8b8311296fef7adc91a2f48b97a0dc99f11fb746 /tools/perf/scripts/python/netdev-times.py | |
| parent | cc68d22f9727d02c1d981d27c11389fd9413e419 (diff) | |
MIPS: KVM: Make KVM_GET_REG_LIST dynamic
Make the implementation of KVM_GET_REG_LIST more dynamic so that only
the subset of registers actually available can be exposed to user mode.
This is important for VZ where some of the guest register state may not
be possible to prevent the guest from accessing, therefore the user
process may need to be aware of the state even if it doesn't understand
what the state is for.
This also allows different MIPS KVM implementations to provide different
registers to one another, by way of new num_regs(vcpu) and
copy_reg_indices(vcpu, indices) callback functions, currently just
stubbed for trap & emulate.
Signed-off-by: James Hogan <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Radim Krčmář <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions