aboutsummaryrefslogtreecommitdiff
path: root/hw/s390x/ccw-device.h
diff options
context:
space:
mode:
authorDong Jia Shi <bjsdjshi@linux.vnet.ibm.com>2017-02-15 06:33:03 +0100
committerCornelia Huck <cornelia.huck@de.ibm.com>2017-04-21 09:32:09 +0200
commit2a78ac660f460edd60eb514c589c512c0f491c46 (patch)
tree302835bfc8929b7587fa152f31dec4ab69d862a8 /hw/s390x/ccw-device.h
parentd8d98db5f07d0a472308c70c3becb56888df156d (diff)
downloadqemu-2a78ac660f460edd60eb514c589c512c0f491c46.zip
qemu-2a78ac660f460edd60eb514c589c512c0f491c46.tar.gz
qemu-2a78ac660f460edd60eb514c589c512c0f491c46.tar.bz2
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>
Diffstat (limited to 'hw/s390x/ccw-device.h')
-rw-r--r--hw/s390x/ccw-device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/s390x/ccw-device.h b/hw/s390x/ccw-device.h
index 48700fe..89c8e5d 100644
--- a/hw/s390x/ccw-device.h
+++ b/hw/s390x/ccw-device.h
@@ -20,7 +20,7 @@ typedef struct CcwDevice {
SubchDev *sch;
/* <cssid>.<ssid>.<device number> */
/* The user-set busid of the virtual ccw device. */
- CssDevId bus_id;
+ CssDevId devno;
/* The actual busid of the virtual ccw device. */
CssDevId dev_id;
/* The actual busid of the virtual subchannel. */