On Fri 29 Jan 2016 04:36:03 PM CET, Max Reitz <mre...@redhat.com> wrote: > bdrv_close() no longer signifies ejection of a medium, this is now done > by removing the BDS from the BB. Therefore, we want to have a notifier > for that in the BB instead of a close notifier in the BDS. The former is > added now, the latter is removed later. > > Symmetrically, another notifier list is added that is invoked whenever a > BDS is inserted. We will need that for virtio-blk and virtio-scsi, which > can then remove their op blockers on BDS ejection and set them up on > insertion. > > Signed-off-by: Max Reitz <mre...@redhat.com> > Reviewed-by: Kevin Wolf <kw...@redhat.com> > Reviewed-by: Fam Zheng <f...@redhat.com>
Reviewed-by: Alberto Garcia <be...@igalia.com> Berto