pci: Allow PCI bus subtypes to support extended config space accesses
[qemu/ar7.git] / include / hw / virtio / vhost-user-scsi.h
blob738f9288bd59fa9d30ae74c428c62065f43b7b67
1 /*
2 * vhost-user-scsi host device
4 * Copyright (c) 2016 Nutanix Inc. All rights reserved.
6 * Author:
7 * Felipe Franciosi <felipe@nutanix.com>
9 * This file is largely based on "vhost-scsi.h" by:
10 * Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
12 * This work is licensed under the terms of the GNU LGPL, version 2 or later.
13 * See the COPYING.LIB file in the top-level directory.
17 #ifndef VHOST_USER_SCSI_H
18 #define VHOST_USER_SCSI_H
20 #include "qemu-common.h"
21 #include "hw/qdev.h"
22 #include "hw/virtio/virtio-scsi.h"
23 #include "hw/virtio/vhost.h"
24 #include "hw/virtio/vhost-user.h"
25 #include "hw/virtio/vhost-scsi-common.h"
27 #define TYPE_VHOST_USER_SCSI "vhost-user-scsi"
28 #define VHOST_USER_SCSI(obj) \
29 OBJECT_CHECK(VHostUserSCSI, (obj), TYPE_VHOST_USER_SCSI)
31 typedef struct VHostUserSCSI {
32 VHostSCSICommon parent_obj;
33 VhostUserState vhost_user;
34 } VHostUserSCSI;
36 #endif /* VHOST_USER_SCSI_H */