diff options
author | Jason J. Herne <jjherne@linux.ibm.com> | 2019-04-04 10:34:20 -0400 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2019-04-12 12:39:52 +0200 |
commit | 44445d8668f458dec0ecb8bcecdcbf24e6d4251b (patch) | |
tree | 1aa420b280325cea5aab9f9b8d65d77d45de078f /include/hw/s390x/s390-ccw.h | |
parent | 532cc6da74ec25b5ba6893b5757c977d54582949 (diff) |
s390 vfio-ccw: Add bootindex property and IPLB data
Add bootindex property and iplb data for vfio-ccw devices. This allows us to
forward boot information into the bios for vfio-ccw devices.
Refactor s390_get_ccw_device() to return device type. This prevents us from
having to use messy casting logic in several places.
Signed-off-by: Jason J. Herne <jjherne@linux.ibm.com>
Acked-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1554388475-18329-2-git-send-email-jjherne@linux.ibm.com>
[thuth: fixed "typedef struct VFIOCCWDevice" build failure with clang]
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include/hw/s390x/s390-ccw.h')
-rw-r--r-- | include/hw/s390x/s390-ccw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/s390x/s390-ccw.h b/include/hw/s390x/s390-ccw.h index 7d15a1a5d4..901d805d79 100644 --- a/include/hw/s390x/s390-ccw.h +++ b/include/hw/s390x/s390-ccw.h @@ -27,6 +27,7 @@ typedef struct S390CCWDevice { CcwDevice parent_obj; CssDevId hostid; char *mdevid; + int32_t bootindex; } S390CCWDevice; typedef struct S390CCWDeviceClass { |