virtio: Add typedef for handle_output
authorFam Zheng <famz@redhat.com>
Wed, 13 Jul 2016 05:09:43 +0000 (13:09 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 21 Jul 2016 17:44:19 +0000 (20:44 +0300)
commitbf1780b0d57af0ef3c14a036bc6be1e509dd72fc
treef1264e32bea9f601eb75c00a2f1439cbe8da07b4
parent4684a2041005b598ecc92fbaf36463d2fd12b5de
virtio: Add typedef for handle_output

The function pointer signature has been repeated a few times, using a
typedef may make coding easier.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
hw/virtio/virtio.c
include/hw/virtio/virtio.h