Dong Jia Shi 6a79dd4631 vfio/ccw: fix initialization of the Object DeviceState pointer in the common base-device
Commit 7da624e2 ("vfio: Test realized when using VFIOGroup.device_list
iterator") introduced a pointer to the Object DeviceState in the VFIO
common base-device and skipped non-realized devices as we iterate
VFIOGroup.device_list. While it missed to initialize the pointer for
the vfio-ccw case. Let's fix it.

Fixes: 7da624e2 ("vfio: Test realized when using VFIOGroup.device_list
                  iterator")

Cc: Alex Williamson <alex.williamson@redhat.com>
Reviewed-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Signed-off-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Message-Id: <20170718014926.44781-3-bjsdjshi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
2017-07-25 09:17:42 +02:00
..
2016-10-04 13:28:07 +01:00
2017-06-02 11:33:53 +04:00
2017-07-17 13:36:08 +01:00
2017-07-19 12:30:41 +01:00
2017-07-17 17:12:41 +01:00
2017-07-14 12:16:09 +01:00
2017-06-02 14:07:53 +01:00
2017-07-19 13:43:58 +01:00
2017-07-14 12:29:49 +02:00
2016-05-18 15:04:27 +03:00
2017-01-27 18:07:59 +01:00
2017-07-14 12:04:43 +02:00
2017-07-18 11:47:56 -04:00
2017-07-17 20:13:56 +08:00
2016-01-29 15:07:25 +00:00
2017-06-27 15:09:15 +02:00
2016-10-28 18:17:24 +03:00
2017-07-20 10:02:11 +02:00