diff options
author | Thomas Huth <[email protected]> | 2019-09-04 10:51:59 +0200 |
---|---|---|
committer | Janosch Frank <[email protected]> | 2019-09-04 15:38:05 +0200 |
commit | 200824f55eef409830a2d1703d6f81542620c2f0 (patch) | |
tree | b996508dee9c50a0ac149f4eb354a0939559ff38 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | be6f55a60d28fb31864d3aab011cf4e1fc0dba04 (diff) |
KVM: s390: Disallow invalid bits in kvm_valid_regs and kvm_dirty_regs
If unknown bits are set in kvm_valid_regs or kvm_dirty_regs, this
clearly indicates that something went wrong in the KVM userspace
application. The x86 variant of KVM already contains a check for
bad bits, so let's do the same on s390x now, too.
Reviewed-by: Janosch Frank <[email protected]>
Reviewed-by: Christian Borntraeger <[email protected]>
Reviewed-by: Cornelia Huck <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Signed-off-by: Thomas Huth <[email protected]>
Link: https://lore.kernel.org/lkml/[email protected]/
Signed-off-by: Janosch Frank <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions