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