From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NLjEj-00073z-OY for qemu-devel@nongnu.org; Fri, 18 Dec 2009 15:15:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NLjEe-0006yX-Qt for qemu-devel@nongnu.org; Fri, 18 Dec 2009 15:15:41 -0500 Received: from [199.232.76.173] (port=43087 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLjEe-0006yU-L5 for qemu-devel@nongnu.org; Fri, 18 Dec 2009 15:15:36 -0500 Received: from mx1.redhat.com ([209.132.183.28]:7776) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NLjEe-00018g-Gq for qemu-devel@nongnu.org; Fri, 18 Dec 2009 15:15:36 -0500 Date: Fri, 18 Dec 2009 18:15:27 -0200 From: Luiz Capitulino Message-ID: <20091218181527.4462c2e7@doriath> In-Reply-To: <1261162670-sup-2248@blackpad.lan.raisama.net> References: <1259858001-1273-1-git-send-email-ehabkost@redhat.com> <1259858001-1273-2-git-send-email-ehabkost@redhat.com> <1261162670-sup-2248@blackpad.lan.raisama.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH v2 STABLE] monitor: allow device to be ejected if no disk is inserted List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost Cc: Naphtali Sprei , qemu-devel On Fri, 18 Dec 2009 17:07:43 -0200 Eduardo Habkost wrote: > When using a file, eject works as expected. But when using a host cdrom device: > > (qemu) change ide1-cd0 /dev/cdrom > (qemu) info block > ide1-cd0: type=cdrom removable=1 locked=0 file=/dev/cdrom ro=0 drv=host_cdrom encrypted=0 > (qemu) eject ide1-cd0 > (qemu) info block > ide1-cd0: type=cdrom removable=1 locked=0 file=/dev/cdrom ro=0 drv=host_cdrom encrypted=0 Sorry for only taking a look at this now, but it works for me. Couldn't this be a bug somewhere else in the block layer?