Merge remote-tracking branch 'remotes/palmer/tags/riscv-for-master-4.1-sf1-v3' into...
[qemu/ar7.git] / include / hw / s390x / vfio-ccw.h
blobee5250d0d7886922455fb0e54d9e60ec22e0f332
1 /*
2 * vfio based subchannel assignment support
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>
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.
14 #ifndef HW_VFIO_CCW_H
15 #define HW_VFIO_CCW_H
17 #include "hw/vfio/vfio-common.h"
18 #include "hw/s390x/s390-ccw.h"
19 #include "hw/s390x/ccw-device.h"
21 #define TYPE_VFIO_CCW "vfio-ccw"
22 #define VFIO_CCW(obj) \
23 OBJECT_CHECK(VFIOCCWDevice, (obj), TYPE_VFIO_CCW)
25 #define TYPE_VFIO_CCW "vfio-ccw"
26 typedef struct VFIOCCWDevice VFIOCCWDevice;
28 #endif