qemu-e2k/include/hw/s390x
Jing Liu 6c15e9bfb6 s390x/css: Add an algorithm to find a free chpid
This introduces a function named css_find_free_chpid() to find a
free channel path. Because virtio-ccw device used zero as its
channel path number, it would be sensible to skip the reserved one
and search upwards.

Signed-off-by: Jing Liu <liujbjl@linux.vnet.ibm.com>
Reviewed-by: QingFeng Hao <haoqf@linux.vnet.ibm.com>
Reviewed-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
2017-05-04 10:34:37 +02:00
..
adapter.h
css-bridge.h s390x/css: provide a dev_path for css devices 2016-07-20 15:47:25 +02:00
css.h s390x/css: Add an algorithm to find a free chpid 2017-05-04 10:34:37 +02:00
ebcdic.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
event-facility.h
ioinst.h
s390_flic.h virtio-ccw: support VIRTIO_QUEUE_MAX virtqueues 2017-02-24 10:15:18 +01:00
s390-virtio-ccw.h s390x/kvm: disable cpu model for the 2.7 machine 2016-09-19 11:05:51 +02:00
sclp.h s390x/sclp: propagate hmfai 2016-09-06 17:06:50 +02:00
storage-keys.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00