vhost-scsi: create a vhost-scsi-common abstraction
commit95615ce5a1beffff1a5dd3597d8cb6ba83f0010e
authorFelipe Franciosi <felipe@nutanix.com>
Thu, 2 Mar 2017 18:25:51 +0000 (2 10:25 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 5 May 2017 10:10:00 +0000 (5 12:10 +0200)
tree6c1a6c85be54a4d6e249a0ebaa94d46b1f01b38d
parenteae0f543341b311038fa2d40350688c646880082
vhost-scsi: create a vhost-scsi-common abstraction

In order to introduce a new vhost-user-scsi host device type, it makes
sense to abstract part of vhost-scsi into a common parent class. This
commit does exactly that.

Signed-off-by: Felipe Franciosi <felipe@nutanix.com>
Message-Id: <1488479153-21203-3-git-send-email-felipe@nutanix.com>
hw/scsi/Makefile.objs
hw/scsi/vhost-scsi-common.c [new file with mode: 0644]
hw/scsi/vhost-scsi.c
include/hw/virtio/vhost-scsi-common.h [new file with mode: 0644]
include/hw/virtio/vhost-scsi.h
include/hw/virtio/virtio-scsi.h