]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
KVM: s390: mark irq_state.flags as non-usable
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 21 Nov 2017 15:02:52 +0000 (16:02 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 6 Dec 2017 08:18:43 +0000 (09:18 +0100)
commitbb64da9aba89765fee74b395967b18a7d6c364e9
treec3499d7eaece67a6be01d01490c78b7ffe875e89
parent940f89a5a37789b94f332755767c556a64b004e4
KVM: s390: mark irq_state.flags as non-usable

Old kernels did not check for zero in the irq_state.flags field and old
QEMUs did not zero the flag/reserved fields when calling
KVM_S390_*_IRQ_STATE.  Let's add comments to prevent future uses of
these fields.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Documentation/virtual/kvm/api.txt
arch/s390/kvm/kvm-s390.c
include/uapi/linux/kvm.h