15e9be92dSNicholas Bellinger /* 25e9be92dSNicholas Bellinger * vhost_scsi host device 35e9be92dSNicholas Bellinger * 45e9be92dSNicholas Bellinger * Copyright IBM, Corp. 2011 55e9be92dSNicholas Bellinger * 65e9be92dSNicholas Bellinger * Authors: 75e9be92dSNicholas Bellinger * Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> 85e9be92dSNicholas Bellinger * 95e9be92dSNicholas Bellinger * This work is licensed under the terms of the GNU LGPL, version 2 or later. 105e9be92dSNicholas Bellinger * See the COPYING.LIB file in the top-level directory. 115e9be92dSNicholas Bellinger * 125e9be92dSNicholas Bellinger */ 135e9be92dSNicholas Bellinger 145e9be92dSNicholas Bellinger #ifndef VHOST_SCSI_H 155e9be92dSNicholas Bellinger #define VHOST_SCSI_H 165e9be92dSNicholas Bellinger 175e9be92dSNicholas Bellinger #include "hw/virtio/virtio-scsi.h" 185e9be92dSNicholas Bellinger #include "hw/virtio/vhost.h" 1995615ce5SFelipe Franciosi #include "hw/virtio/vhost-scsi-common.h" 20db1015e9SEduardo Habkost #include "qom/object.h" 215e9be92dSNicholas Bellinger 225e9be92dSNicholas Bellinger enum vhost_scsi_vq_list { 235e9be92dSNicholas Bellinger VHOST_SCSI_VQ_CONTROL = 0, 245e9be92dSNicholas Bellinger VHOST_SCSI_VQ_EVENT = 1, 255e9be92dSNicholas Bellinger VHOST_SCSI_VQ_NUM_FIXED = 2, 265e9be92dSNicholas Bellinger }; 275e9be92dSNicholas Bellinger 285e9be92dSNicholas Bellinger #define TYPE_VHOST_SCSI "vhost-scsi" 29*8063396bSEduardo Habkost OBJECT_DECLARE_SIMPLE_TYPE(VHostSCSI, VHOST_SCSI) 305e9be92dSNicholas Bellinger 31db1015e9SEduardo Habkost struct VHostSCSI { 3295615ce5SFelipe Franciosi VHostSCSICommon parent_obj; 33db1015e9SEduardo Habkost }; 345e9be92dSNicholas Bellinger 355e9be92dSNicholas Bellinger #endif 36