diff options
Diffstat (limited to 'hw/vfio')
-rw-r--r-- | hw/vfio/ccw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vfio/ccw.c b/hw/vfio/ccw.c index 0354737..503de94 100644 --- a/hw/vfio/ccw.c +++ b/hw/vfio/ccw.c @@ -618,7 +618,7 @@ static void vfio_ccw_get_device(VFIOGroup *group, VFIOCCWDevice *vcdev, vcdev->vdev.ops = &vfio_ccw_ops; vcdev->vdev.type = VFIO_DEVICE_TYPE_CCW; vcdev->vdev.name = name; - vcdev->vdev.dev = &vcdev->cdev.parent_obj.parent_obj; + vcdev->vdev.dev = DEVICE(vcdev); return; |