mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
s390x/css: introduce read-only property type for device ids
Let's introduce a read-only property type that handles device ids of the CssDevId type used for channel devices for future use. e.g. exposing the busid of an I/O subchannel that is assigned to a ccw device. 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
229913f0ef
commit
c35fc6aa18
2 changed files with 12 additions and 0 deletions
|
@ -172,6 +172,11 @@ extern PropertyInfo css_devid_propinfo;
|
|||
#define DEFINE_PROP_CSS_DEV_ID(_n, _s, _f) \
|
||||
DEFINE_PROP(_n, _s, _f, css_devid_propinfo, CssDevId)
|
||||
|
||||
extern PropertyInfo css_devid_ro_propinfo;
|
||||
|
||||
#define DEFINE_PROP_CSS_DEV_ID_RO(_n, _s, _f) \
|
||||
DEFINE_PROP(_n, _s, _f, css_devid_ro_propinfo, CssDevId)
|
||||
|
||||
/**
|
||||
* Create a subchannel for the given bus id.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue