mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
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>
This commit is contained in:
parent
d8d98db5f0
commit
2a78ac660f
3 changed files with 4 additions and 13 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue