]> git.proxmox.com Git - mirror_qemu.git/commit
s390-virtio: use common features
authorCornelia Huck <cornelia.huck@de.ibm.com>
Wed, 29 Apr 2015 13:30:58 +0000 (15:30 +0200)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Fri, 8 May 2015 08:36:02 +0000 (10:36 +0200)
commitf50616a81b7f88a9adac16f3ea0236311a748eca
tree97e9c344c9ecb7b0ac808faf6b5d8ad05eee0bfd
parentcb927b8aee7c3993a43cb829f7341071f873857b
s390-virtio: use common features

We used to avoid enabling event_idx for virtio-blk devices via
s390-virtio, but we now have a workaround in place for guests trying
to use the device before setting DRIVER_OK. Therefore, let's add
DEFINE_VIRTIO_COMMON_FEATURES to the base device so all devices get
those common features - and make s390-virtio use the same mechanism
as the other transports do.

Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Shannon Zhao <shannon.zhao@linaro.org>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/s390x/s390-virtio-bus.c