summaryrefslogtreecommitdiff
path: root/hw/s390x/s390-virtio.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-01-10 04:40:25 +0000
committerAlexander Graf <agraf@suse.de>2013-01-29 21:50:04 +0100
commit93726cb31982f5d930a4d5838215307390636d9b (patch)
tree79d8193358c3c2cb71c54363240bfd9289fc0687 /hw/s390x/s390-virtio.c
parent49973ebc039f644fce3e73ff8019efaa795bd83b (diff)
downloadqemu-93726cb31982f5d930a4d5838215307390636d9b.tar.gz
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>
Diffstat (limited to 'hw/s390x/s390-virtio.c')
0 files changed, 0 insertions, 0 deletions