144445d86SJason J. Herne /* 244445d86SJason J. Herne * vfio based subchannel assignment support 344445d86SJason J. Herne * 444445d86SJason J. Herne * Copyright 2017, 2019 IBM Corp. 544445d86SJason J. Herne * Author(s): Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com> 644445d86SJason J. Herne * Xiao Feng Ren <renxiaof@linux.vnet.ibm.com> 744445d86SJason J. Herne * Pierre Morel <pmorel@linux.vnet.ibm.com> 844445d86SJason J. Herne * 944445d86SJason J. Herne * This work is licensed under the terms of the GNU GPL, version 2 or (at 1044445d86SJason J. Herne * your option) any later version. See the COPYING file in the top-level 1144445d86SJason J. Herne * directory. 1244445d86SJason J. Herne */ 1344445d86SJason J. Herne 1444445d86SJason J. Herne #ifndef HW_VFIO_CCW_H 1544445d86SJason J. Herne #define HW_VFIO_CCW_H 1644445d86SJason J. Herne 1744445d86SJason J. Herne #include "hw/vfio/vfio-common.h" 1844445d86SJason J. Herne #include "hw/s390x/s390-ccw.h" 1944445d86SJason J. Herne #include "hw/s390x/ccw-device.h" 20*db1015e9SEduardo Habkost #include "qom/object.h" 2144445d86SJason J. Herne 2244445d86SJason J. Herne #define TYPE_VFIO_CCW "vfio-ccw" 23*db1015e9SEduardo Habkost typedef struct VFIOCCWDevice VFIOCCWDevice; 2444445d86SJason J. Herne #define VFIO_CCW(obj) \ 2544445d86SJason J. Herne OBJECT_CHECK(VFIOCCWDevice, (obj), TYPE_VFIO_CCW) 2644445d86SJason J. Herne 2744445d86SJason J. Herne #define TYPE_VFIO_CCW "vfio-ccw" 2844445d86SJason J. Herne 2944445d86SJason J. Herne #endif 30