]> git.ipfire.org Git - thirdparty/qemu.git/commit
virtio: allow per-device-class legacy features
authorMichael S. Tsirkin <mst@redhat.com>
Fri, 4 Nov 2016 10:04:23 +0000 (12:04 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 8 Dec 2016 19:50:54 +0000 (13:50 -0600)
commit63087cd74bb16f867a5c6264ee4d86f5989c895b
tree10af4e43c6041a22677d3f0aa7aed346726c4a15
parent9df69dcd143fe1e56083c456cc96eb92c367f336
virtio: allow per-device-class legacy features

Legacy features are those that transitional devices only
expose on the legacy interface.
Allow different ones per device class.

Cc: qemu-stable@nongnu.org # dependency for the next patch
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
(cherry picked from commit 9b706dbbbb81f5cb7c67e491d38cd6077205e056)

Conflicts:
hw/virtio/virtio.c

* drop context dep on ff4c07df
* resolv func dep on ff4c07df creating vdc variable in
  virtio_device_class_init()

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/s390x/virtio-ccw.c
hw/virtio/virtio-pci.c
hw/virtio/virtio.c
include/hw/virtio/virtio.h