qemu-e2k/include/hw/s390x
Cornelia Huck 06e686eaab s390x/css: introduce property type for device ids
Let's introduce a CssDevId to handle device ids of the xx.x.xxxx
type used for channel devices. This has some benefits:

- We can use them in virtio-ccw and split the validity checks for
  a channel device id in general from the constraint checking
  within the virtio-ccw scope.
- We can reuse the device id type for future non-virtio channel
  devices.

While we're at it, improve the validity checks and disallow e.g.
trailing characters.

Suggested-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Acked-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Reviewed-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
2016-06-14 13:34:50 +02:00
..
adapter.h
css.h s390x/css: introduce property type for device ids 2016-06-14 13:34:50 +02:00
ebcdic.h
event-facility.h
ioinst.h
s390_flic.h s390x/kvm: add interface for clearing IO irqs 2016-06-14 13:34:50 +02:00
s390-virtio-ccw.h
sclp.h
storage-keys.h