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 s390x/virtio-ccw: wire up irq routing and irqfds 2014-05-20 13:05:58 +02:00
css.h s390x/css: introduce property type for device ids 2016-06-14 13:34:50 +02:00
ebcdic.h s390/ebcdic: Move conversion tables to header file 2013-09-20 13:55:30 +02:00
event-facility.h s390/sclp: introduce a root sclp device 2015-09-07 16:10:43 +02:00
ioinst.h s390x: reorganize CSS bits between cpu.h and other headers 2016-05-19 16:42:28 +02:00
s390-virtio-ccw.h s390x: enable runtime instrumentation 2016-05-17 15:50:29 +02:00
s390_flic.h s390x/kvm: add interface for clearing IO irqs 2016-06-14 13:34:50 +02:00
sclp.h s390/sclp: store the increment_size in the sclp device 2015-09-07 16:10:44 +02:00
storage-keys.h s390x: Disable storage key migration on old machine type 2015-09-03 12:17:54 +02:00