virtio: add set_status callback
commit3e607cb503acbd8606e5d42e6b80adcf1ccf9a92
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 17 Mar 2010 11:08:05 +0000 (17 13:08 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 1 Apr 2010 18:56:43 +0000 (1 13:56 -0500)
treed807a3e205951a642cfbc913367959ad3abdb6f8
parent1cbdabe203164433fbbec3a1815d8be42a085c88
virtio: add set_status callback

vhost net backend needs to be notified when
frontend status changes. Add a callback,
similar to set_features.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/s390-virtio-bus.c
hw/syborg_virtio.c
hw/virtio-pci.c
hw/virtio.h