aboutsummaryrefslogtreecommitdiff
path: root/include/hw/s390x/vfio-ccw.h
blob: 7bd4640ac379bb3d6aa110eb8922f0e6ae0617bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * vfio based subchannel assignment support
 *
 * Copyright 2017, 2019 IBM Corp.
 * Author(s): Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
 *            Xiao Feng Ren <renxiaof@linux.vnet.ibm.com>
 *            Pierre Morel <pmorel@linux.vnet.ibm.com>
 *
 * This work is licensed under the terms of the GNU GPL, version 2 or (at
 * your option) any later version. See the COPYING file in the top-level
 * directory.
 */

#ifndef HW_VFIO_CCW_H
#define HW_VFIO_CCW_H

#include "hw/vfio/vfio-common.h"
#include "hw/s390x/s390-ccw.h"
#include "hw/s390x/ccw-device.h"
#include "qom/object.h"

#define TYPE_VFIO_CCW "vfio-ccw"
typedef struct VFIOCCWDevice VFIOCCWDevice;
#define VFIO_CCW(obj) \
        OBJECT_CHECK(VFIOCCWDevice, (obj), TYPE_VFIO_CCW)

#define TYPE_VFIO_CCW "vfio-ccw"

#endif