virtio-scsi: add support for the any_layout feature
commit3eff1f46f08a360a4ae9f834ce9fef4c45bf6f0f
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 10 Jun 2014 14:40:31 +0000 (10 16:40 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 18 Jun 2014 06:47:11 +0000 (18 08:47 +0200)
tree1703f742012410ce6dc2ca1ef27a2f1e3130f691
parenta3de269ccc6f724e40702d8a9adcc3d41d0db369
virtio-scsi: add support for the any_layout feature

Store the request and response headers by value, and let
virtio_scsi_parse_req check that there is only one of datain
and dataout.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/virtio-scsi.c
include/hw/i386/pc.h
include/hw/virtio/virtio-scsi.h