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 #include "qom/object.h" 21 22 #define TYPE_VFIO_CCW "vfio-ccw" 23 typedef struct VFIOCCWDevice VFIOCCWDevice; 24 DECLARE_INSTANCE_CHECKER(VFIOCCWDevice, VFIO_CCW, 25 TYPE_VFIO_CCW) 26 27 #define TYPE_VFIO_CCW "vfio-ccw" 28 29 #endif 30