diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-09 08:41:14 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-14 16:50:30 +0200 |
commit | 9e43a83041ab0e334425c7a1f2309453011224ec (patch) | |
tree | 1b541334d89dc95ba5005f7ed6e29bcc75ab77b2 /hw/s390x | |
parent | a44bed2f54185b795d8d8141bd810b554bcb750b (diff) | |
download | qemu-9e43a83041ab0e334425c7a1f2309453011224ec.zip qemu-9e43a83041ab0e334425c7a1f2309453011224ec.tar.gz qemu-9e43a83041ab0e334425c7a1f2309453011224ec.tar.bz2 |
virtio: stop ioeventfd on reset
All calls to virtio_bus_reset are preceded by virtio_bus_stop_ioeventfd,
move the call in virtio_bus_reset: that makes sense and clarifies
that the vdc->reset function is called with ioeventfd already stopped.
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/s390x')
-rw-r--r-- | hw/s390x/virtio-ccw.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c index 066a387..e33e520 100644 --- a/hw/s390x/virtio-ccw.c +++ b/hw/s390x/virtio-ccw.c @@ -253,7 +253,6 @@ static void virtio_ccw_reset_virtio(VirtioCcwDevice *dev) { CcwDevice *ccw_dev = CCW_DEVICE(dev); - virtio_ccw_stop_ioeventfd(dev); virtio_bus_reset(&dev->bus); if (dev->indicators) { release_indicator(&dev->routes.adapter, dev->indicators); |