Revert "mirror: Workaround for unexpected iohandler events during completion"
commitd4a92a8420ac764f21652322aa7d4e49cfcbc607
authorFam Zheng <famz@redhat.com>
Wed, 13 Jul 2016 05:09:47 +0000 (13 13:09 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 21 Jul 2016 17:44:19 +0000 (21 20:44 +0300)
tree8361ad0fac20fdcd94442cce98258a75378faf11
parent1c627137c10ee2dcf59e0383ade8a9abfa2d4355
Revert "mirror: Workaround for unexpected iohandler events during completion"

This reverts commit ab27c3b5e7408693dde0b565f050aa55c4a1bcef.

The virtio storage device host notifiers now work with
bdrv_drained_begin/end, so we don't need this hack any more.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
block/mirror.c