On Tue, 1 Jun 2010 19:12:19 -0300
Eduardo Habkost <ehabk...@redhat.com> wrote:

> I have no clue why the code had the is_inserted() check, as it doesn't matter
> if there is a disk present at the host drive, when the user wants the virtual
> device to be disconnected from the host device.

 Makes sense, although I have no idea if doing a bdrv_close() on a bs which
doesn't have an image inserted has any side effect.

 Basic testing works as expected, though.

 Anyway, I think this should go through the block queue.

Reply via email to