s390x/css: consolidate the devno property for ccw devices
commit2a78ac660f460edd60eb514c589c512c0f491c46
authorDong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Wed, 15 Feb 2017 05:33:03 +0000 (15 06:33 +0100)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Fri, 21 Apr 2017 07:32:09 +0000 (21 09:32 +0200)
tree302835bfc8929b7587fa152f31dec4ab69d862a8
parentd8d98db5f07d0a472308c70c3becb56888df156d
s390x/css: consolidate the devno property for ccw devices

'devno' should rather be a property of the ccw device, instead of a
property of a specific virtio-ccw device. Let's consolidate it.

While we are at here, also rename CcwDevice.bus_id to CcwDevice.devno to
make things clearer.

Signed-off-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/s390x/ccw-device.c
hw/s390x/ccw-device.h
hw/s390x/virtio-ccw.c