virtio: move VIRTIO_F_NOTIFY_ON_EMPTY into core
commitcf34f533a161f8ced7322321d70ca00414d47473
authorCornelia Huck <cornelia.huck@de.ibm.com>
Fri, 29 May 2015 09:29:40 +0000 (29 11:29 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 31 May 2015 14:27:25 +0000 (31 16:27 +0200)
treed0ae3b67f381f81d536b50d65ae5c3c89e3261d8
parent13644819c5bf322ae4c2a415aca77d5dbde95fe8
virtio: move VIRTIO_F_NOTIFY_ON_EMPTY into core

Nearly all transports have been offering VIRTIO_F_NOTIFY_ON_EMPTY,
s390-virtio being the exception. There's no reason why it shouldn't
offer it as well, though (handling is done in core anyway), so let's
move it to the common virtio features.

While we're changing it anyway, fix the indentation for the
DEFINE_VIRTIO_COMMON_FEATURES macro.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/s390x/virtio-ccw.c
hw/virtio/virtio-mmio.c
hw/virtio/virtio-pci.c
include/hw/virtio/virtio.h