Re: [Qemu-devel] [PATCH v8 03/16] block: Add BB-BDS remove/insert notifiers

2016-01-27 Thread Fam Zheng
On Wed, 01/27 18:59, Max Reitz 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 late

[Qemu-devel] [PATCH v8 03/16] block: Add BB-BDS remove/insert notifiers

2016-01-27 Thread Max Reitz
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 ad