From ccf6916c843edd30ea4ecfaaac68faa865529c97 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Fri, 19 Apr 2013 16:16:50 +0200 Subject: vhost-scsi-ccw: new device supporting the tcm_vhost Linux kernel module Signed-off-by: Paolo Bonzini --- hw/s390x/virtio-ccw.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'hw/s390x/virtio-ccw.h') diff --git a/hw/s390x/virtio-ccw.h b/hw/s390x/virtio-ccw.h index 35ab1a5..84055e7 100644 --- a/hw/s390x/virtio-ccw.h +++ b/hw/s390x/virtio-ccw.h @@ -16,6 +16,9 @@ #include #include #include +#ifdef CONFIG_VHOST_SCSI +#include +#endif #include #include #include @@ -101,6 +104,17 @@ typedef struct VirtIOSCSICcw { VirtIOSCSI vdev; } VirtIOSCSICcw; +/* vhost-scsi-ccw */ + +#define TYPE_VHOST_SCSI_CCW "vhost-scsi-ccw" +#define VHOST_SCSI_CCW(obj) \ + OBJECT_CHECK(VHostSCSICcw, (obj), TYPE_VHOST_SCSI_CCW) + +typedef struct VHostSCSICcw { + VirtioCcwDevice parent_obj; + VHostSCSI vdev; +} VHostSCSICcw; + /* virtio-blk-ccw */ #define TYPE_VIRTIO_BLK_CCW "virtio-blk-ccw" -- cgit v1.1