qemu/hw/virtio
Shannon Zhao da2f84d127 virtio-scsi: Move DEFINE_VIRTIO_SCSI_FEATURES to virtio-scsi
So far virtio-scsi-device can't expose host features to guest while
using virtio-mmio because it doesn't set DEFINE_VIRTIO_SCSI_FEATURES on
backend or transport.

The host features belong to the backends while virtio-scsi-pci,
virtio-scsi-s390 and virtio-scsi-ccw set the DEFINE_VIRTIO_SCSI_FEATURES
on transports. But they already have the ability to forward property
accesses to the backend child. So if we move the host features to
backends, it doesn't break the backwards compatibility for them and
make host features work while using virtio-mmio.

Move DEFINE_VIRTIO_SCSI_FEATURES to the backend virtio-scsi. The
transports just sync the host features from backends.

Signed-off-by: Shannon Zhao <zhaoshenglong@huawei.com>
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
2015-04-28 17:44:40 +02:00
..
dataplane virtio: add feature checking helpers 2015-02-26 13:04:07 +01:00
Makefile.objs dataplane: endianness-aware accesses 2015-02-16 15:07:16 +00:00
vhost-backend.c vhost: Remove superfluous '\n' around error_report() 2015-03-10 08:15:33 +03:00
vhost-user.c vhost-user: fix mmap offset calculation 2014-11-03 18:32:48 +02:00
vhost.c vhost: fix log base address 2015-04-20 09:27:01 +01:00
virtio-balloon.c balloon: improve error msg when adding second device 2015-04-24 14:18:05 -04:00
virtio-bus.c virtio: cull virtio_bus_set_vdev_features 2015-02-26 13:04:07 +01:00
virtio-mmio.c virtio: feature bit manipulation helpers 2015-02-26 13:04:07 +01:00
virtio-pci.c virtio-scsi: Move DEFINE_VIRTIO_SCSI_FEATURES to virtio-scsi 2015-04-28 17:44:40 +02:00
virtio-pci.h virtio-pci: Convert to realize() 2015-03-11 18:24:13 +01:00
virtio-rng.c virtio-rng: fix check for period_ms validity 2015-01-05 14:02:47 +05:30
virtio.c virtio: introduce vector to virtqueues mapping 2015-04-27 21:02:41 +02:00