[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] monitor: allow device to be ejected if no disk
From: |
Luiz Capitulino |
Subject: |
Re: [Qemu-devel] [PATCH] monitor: allow device to be ejected if no disk is inserted |
Date: |
Fri, 4 Jun 2010 15:01:20 -0300 |
On Tue, 1 Jun 2010 19:12:19 -0300
Eduardo Habkost <address@hidden> 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.