mbox series

[v2,0/2] KVM: s390: Check for invalid bits in kvm_valid_regs and kvm_dirty_regs

Message ID 20190904085200.29021-1-thuth@redhat.com (mailing list archive)
Headers show
Series KVM: s390: Check for invalid bits in kvm_valid_regs and kvm_dirty_regs | expand

Message

Thomas Huth Sept. 4, 2019, 8:51 a.m. UTC
Avoid invalid bits in kvm_valid_regs and kvm_dirty_regs on s390x.

v2:
 - Split the single patch from v1 into two separate patches
   (I've kept the Reviewed-bys from v1, but if you don't agree with the
    patch description of the 2nd patch, please complain)

Thomas Huth (2):
  KVM: s390: Disallow invalid bits in kvm_valid_regs and kvm_dirty_regs
  KVM: selftests: Test invalid bits in kvm_valid_regs and kvm_dirty_regs
    on s390x

 arch/s390/include/uapi/asm/kvm.h              |  6 ++++
 arch/s390/kvm/kvm-s390.c                      |  4 +++
 .../selftests/kvm/s390x/sync_regs_test.c      | 30 +++++++++++++++++++
 3 files changed, 40 insertions(+)

Comments

Janosch Frank Sept. 5, 2019, 8 a.m. UTC | #1
On 9/4/19 10:51 AM, Thomas Huth wrote:
> Avoid invalid bits in kvm_valid_regs and kvm_dirty_regs on s390x.
> 
> v2:
>  - Split the single patch from v1 into two separate patches
>    (I've kept the Reviewed-bys from v1, but if you don't agree with the
>     patch description of the 2nd patch, please complain)
> 
> Thomas Huth (2):
>   KVM: s390: Disallow invalid bits in kvm_valid_regs and kvm_dirty_regs
>   KVM: selftests: Test invalid bits in kvm_valid_regs and kvm_dirty_regs
>     on s390x
> 
>  arch/s390/include/uapi/asm/kvm.h              |  6 ++++
>  arch/s390/kvm/kvm-s390.c                      |  4 +++
>  .../selftests/kvm/s390x/sync_regs_test.c      | 30 +++++++++++++++++++
>  3 files changed, 40 insertions(+)
> 

Thanks, both are picked