]> git.ipfire.org Git - thirdparty/qemu.git/commit
virtio-s390: add a reset function to virtio-s390 devices
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Jan 2013 04:40:25 +0000 (04:40 +0000)
committerAlexander Graf <agraf@suse.de>
Tue, 29 Jan 2013 20:50:04 +0000 (21:50 +0100)
commit93726cb31982f5d930a4d5838215307390636d9b
tree79d8193358c3c2cb71c54363240bfd9289fc0687
parent49973ebc039f644fce3e73ff8019efaa795bd83b
virtio-s390: add a reset function to virtio-s390 devices

virtio-s390 devices are not being reset when their bus is.  To fix
this, add a reset method that forwards to virtio_reset.  This is
only needed because of the "strange" modeling of virtio devices;
the ->vdev link is being handled manually rather than through qdev.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/s390-virtio-bus.c