From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoYMp-0002qa-2i for qemu-devel@nongnu.org; Thu, 05 Dec 2013 07:49:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VoYMj-0003E6-1z for qemu-devel@nongnu.org; Thu, 05 Dec 2013 07:49:19 -0500 Received: from mx1.redhat.com ([209.132.183.28]:1540) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoYMi-0003Dj-R5 for qemu-devel@nongnu.org; Thu, 05 Dec 2013 07:49:13 -0500 Message-ID: <52A07644.7000602@redhat.com> Date: Thu, 05 Dec 2013 13:49:08 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1386132925-16728-1-git-send-email-aik@ozlabs.ru> <1386132925-16728-2-git-send-email-aik@ozlabs.ru> <529EEE9F.50007@redhat.com> <87d2ldklji.fsf@blackfin.pond.sub.org> <878uvzo501.fsf@blackfin.pond.sub.org> <52A074C6.30103@ozlabs.ru> In-Reply-To: <52A074C6.30103@ozlabs.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/3] scsi-disk: close drive on START_STOP List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: Markus Armbruster , qemu-devel@nongnu.org Il 05/12/2013 13:42, Alexey Kardashevskiy ha scritto: > Thanks! > > Just out of curiosity. A lot (in fact, all around me) dvd drives do not > support trayclose as they are in laptops or servers (which use the same > laptop models). I cannot even verify how this "eject -t" exactly works - no > hardware around me. And even if I could find it, I could easily take the > disc off the tray in that short period of time between tray is open and > tray is closed but we still absolutely want "eject" + "eject -t" to work as > you described. Taking the disc off the tray is equivalent to going to the monitor and doing "eject -f cd". I.e. programmatic actions leave the disc in (at least if you do not consider laptops and servers; but the guest can detect whether the tray can be auto-closed, and we tell it that it can). Out-of-band user actions force the disc out. > Why exactly? :) Only because change of behavior is bad? Just asking. Thanks. The only practical use of CDs is installation, and it took a looooong time to get it to work with all sorts of guests. Paolo