2 * vhost_scsi host device
4 * Copyright IBM, Corp. 2011
7 * Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
9 * This work is licensed under the terms of the GNU LGPL, version 2 or later.
10 * See the COPYING.LIB file in the top-level directory.
17 #include "hw/virtio/virtio-scsi.h"
18 #include "hw/virtio/vhost.h"
19 #include "hw/virtio/vhost-scsi-common.h"
21 enum vhost_scsi_vq_list
{
22 VHOST_SCSI_VQ_CONTROL
= 0,
23 VHOST_SCSI_VQ_EVENT
= 1,
24 VHOST_SCSI_VQ_NUM_FIXED
= 2,
27 #define TYPE_VHOST_SCSI "vhost-scsi"
28 #define VHOST_SCSI(obj) \
29 OBJECT_CHECK(VHostSCSI, (obj), TYPE_VHOST_SCSI)
31 typedef struct VHostSCSI
{
32 VHostSCSICommon parent_obj
;