virtio-bus: remove vdev field
commit06d3dff0723c712a4b109ced4243edf49ef850af
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 20 Sep 2013 11:31:39 +0000 (20 13:31 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 9 Dec 2013 20:46:48 +0000 (9 21:46 +0100)
tree36366deffc0b04b7679668f44c78348e3a61e7ab
parent0b81c1ef5c677c2a07be5f8bf0dfe2c62ef52115
virtio-bus: remove vdev field

The vdev field is complicated to synchronize.  Just access the
BusState's list of children.

Cc: qemu-stable@nongnu.org
Acked-by: Andreas Faerber <afaerber@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/virtio/virtio-bus.c
hw/virtio/virtio-mmio.c
hw/virtio/virtio-pci.c
include/hw/virtio/virtio-bus.h