Received: from eggs.gnu.org ([2001:4830:134:3::10]:46375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSkOf-0004pE-Ul for qemu-devel@nongnu.org; Mon, 08 Feb 2016 06:54:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSkOf-0002zA-4J for qemu-devel@nongnu.org; Mon, 08 Feb 2016 06:54:25 -0500 From: Alberto Garcia In-Reply-To: <1454081776-30130-4-git-send-email-mreitz@redhat.com> References: <1454081776-30130-1-git-send-email-mreitz@redhat.com> <1454081776-30130-4-git-send-email-mreitz@redhat.com> Date: Mon, 08 Feb 2016 12:53:41 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH v9 03/16] block: Add BB-BDS remove/insert notifiers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz , qemu-block@nongnu.org Cc: Kevin Wolf , Fam Zheng , qemu-devel@nongnu.org, Paolo Bonzini , John Snow On Fri 29 Jan 2016 04:36:03 PM CET, 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 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 > Reviewed-by: Kevin Wolf > Reviewed-by: Fam Zheng Reviewed-by: Alberto Garcia Berto