qemu/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
..
css.c s390x/css: introduce property type for device ids 2016-06-14 13:34:50 +02:00
event-facility.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
ipl.c s390: remove misleading comment 2016-05-18 15:04:26 +03:00
ipl.h s390x/ipl: Add ssid field to IplParameterBlock 2016-05-17 15:50:29 +02:00
Makefile.objs s390x: remove s390-virtio devices 2016-01-13 10:53:42 +01:00
s390-pci-bus.c s390x/pci: add length checking for pci sclp handlers 2016-05-17 15:50:29 +02:00
s390-pci-bus.h s390x/pci: remove whitespace 2016-05-17 15:50:29 +02:00
s390-pci-inst.c s390x/pci: enhance mpcifc_service_call 2016-05-17 15:50:29 +02:00
s390-pci-inst.h s390x/pci: enhance mpcifc_service_call 2016-05-17 15:50:29 +02:00
s390-skeys-kvm.c s390: Clean up includes 2016-01-29 15:07:22 +00:00
s390-skeys.c s390: use FILE instead of QEMUFile for creating text file 2016-05-26 11:31:05 +05:30
s390-virtio-ccw.c machine: add properties to compat_props incrementaly 2016-05-20 14:28:54 -03:00
s390-virtio-hcall.c s390: Clean up includes 2016-01-29 15:07:22 +00:00
s390-virtio.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
s390-virtio.h s390x/cpu: Cleanup init in preparation for hotplug 2016-03-10 10:37:15 +01:00
sclp.c s390x/pci: separate s390_sclp_configure function 2016-05-17 15:50:29 +02:00
sclpcpu.c s390: Clean up includes 2016-01-29 15:07:22 +00:00
sclpquiesce.c s390: Clean up includes 2016-01-29 15:07:22 +00:00
virtio-ccw.c s390x/css: introduce property type for device ids 2016-06-14 13:34:50 +02:00
virtio-ccw.h s390x/css: introduce property type for device ids 2016-06-14 13:34:50 +02:00