Re: [Qemu-devel] [PATCH RFC] dataplane: Fix startup race.

2013-09-05 Thread Stefan Hajnoczi
On Wed, Sep 04, 2013 at 02:16:15PM +0200, Cornelia Huck wrote: > Avoid trying to setup dataplane again if dataplane setup is already in > progress. This may happen if an eventfd is triggered during setup. > > I saw this occasionally with an experimental s390 irqfd implementation: > > virtio_blk_h

[Qemu-devel] [PATCH RFC] dataplane: Fix startup race.

2013-09-04 Thread Cornelia Huck
Avoid trying to setup dataplane again if dataplane setup is already in progress. This may happen if an eventfd is triggered during setup. I saw this occasionally with an experimental s390 irqfd implementation: virtio_blk_handle_output -> virtio_blk_data_plane_start -> virtio_ccw_set_host_notifier