xref: /openbmc/qemu/include/hw/s390x/vfio-ccw.h (revision 44445d86)
1*44445d86SJason J. Herne /*
2*44445d86SJason J. Herne  * vfio based subchannel assignment support
3*44445d86SJason J. Herne  *
4*44445d86SJason J. Herne  * Copyright 2017, 2019 IBM Corp.
5*44445d86SJason J. Herne  * Author(s): Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
6*44445d86SJason J. Herne  *            Xiao Feng Ren <renxiaof@linux.vnet.ibm.com>
7*44445d86SJason J. Herne  *            Pierre Morel <pmorel@linux.vnet.ibm.com>
8*44445d86SJason J. Herne  *
9*44445d86SJason J. Herne  * This work is licensed under the terms of the GNU GPL, version 2 or (at
10*44445d86SJason J. Herne  * your option) any later version. See the COPYING file in the top-level
11*44445d86SJason J. Herne  * directory.
12*44445d86SJason J. Herne  */
13*44445d86SJason J. Herne 
14*44445d86SJason J. Herne #ifndef HW_VFIO_CCW_H
15*44445d86SJason J. Herne #define HW_VFIO_CCW_H
16*44445d86SJason J. Herne 
17*44445d86SJason J. Herne #include "hw/vfio/vfio-common.h"
18*44445d86SJason J. Herne #include "hw/s390x/s390-ccw.h"
19*44445d86SJason J. Herne #include "hw/s390x/ccw-device.h"
20*44445d86SJason J. Herne 
21*44445d86SJason J. Herne #define TYPE_VFIO_CCW "vfio-ccw"
22*44445d86SJason J. Herne #define VFIO_CCW(obj) \
23*44445d86SJason J. Herne         OBJECT_CHECK(VFIOCCWDevice, (obj), TYPE_VFIO_CCW)
24*44445d86SJason J. Herne 
25*44445d86SJason J. Herne #define TYPE_VFIO_CCW "vfio-ccw"
26*44445d86SJason J. Herne typedef struct VFIOCCWDevice VFIOCCWDevice;
27*44445d86SJason J. Herne 
28*44445d86SJason J. Herne #endif
29