diff options
author | Fei Li | 2017-01-19 17:02:26 +0100 |
---|---|---|
committer | Christian Borntraeger | 2017-04-06 13:15:36 +0200 |
commit | 08fab50da669e5ee5a542592895fcb63be3cd7b1 (patch) | |
tree | 5a5a6da1eabfa35708d2f96e4c510f2433374052 /arch/s390/include/asm/kvm_host.h | |
parent | KVM: s390: gs support for kvm guests (diff) | |
download | kernel-qcow2-linux-08fab50da669e5ee5a542592895fcb63be3cd7b1.tar.gz kernel-qcow2-linux-08fab50da669e5ee5a542592895fcb63be3cd7b1.tar.xz kernel-qcow2-linux-08fab50da669e5ee5a542592895fcb63be3cd7b1.zip |
KVM: s390: interface for suppressible I/O adapters
In order to properly implement adapter-interruption suppression, we
need a way for userspace to specify which adapters are subject to
suppression. Let's convert the existing (and unused) 'pad' field into
a 'flags' field and define a flag value for suppressible adapters.
Besides, add documentation for the interface.
Signed-off-by: Fei Li <sherrylf@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/kvm_host.h')
-rw-r--r-- | arch/s390/include/asm/kvm_host.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/kvm_host.h b/arch/s390/include/asm/kvm_host.h index 1af090d93bf5..499c72c2280d 100644 --- a/arch/s390/include/asm/kvm_host.h +++ b/arch/s390/include/asm/kvm_host.h @@ -621,6 +621,7 @@ struct s390_io_adapter { bool maskable; bool masked; bool swap; + bool suppressible; struct rw_semaphore maps_lock; struct list_head maps; atomic_t nr_maps; |