From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vo8Mf-0005hN-2p for qemu-devel@nongnu.org; Wed, 04 Dec 2013 04:03:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vo8MW-0008FW-M4 for qemu-devel@nongnu.org; Wed, 04 Dec 2013 04:03:25 -0500 Received: from mail-ea0-x229.google.com ([2a00:1450:4013:c01::229]:45521) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vo8MW-0008Di-Ek for qemu-devel@nongnu.org; Wed, 04 Dec 2013 04:03:16 -0500 Received: by mail-ea0-f169.google.com with SMTP id l9so10718307eaj.28 for ; Wed, 04 Dec 2013 01:03:15 -0800 (PST) Sender: Paolo Bonzini Message-ID: <529EEFD0.4060801@redhat.com> Date: Wed, 04 Dec 2013 10:03:12 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1386132925-16728-1-git-send-email-aik@ozlabs.ru> <1386132925-16728-3-git-send-email-aik@ozlabs.ru> In-Reply-To: <1386132925-16728-3-git-send-email-aik@ozlabs.ru> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/3] scsi-disk: check for meduim on ALLOW_MEDIUM_REMOVAL List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: qemu-devel@nongnu.org Il 04/12/2013 05:55, Alexey Kardashevskiy ha scritto: > This prevents the guest from preventing DVD medium removal when > there is no medium. > > Without this, if the user has ejected a DVD, it is possible to > have a block device with an open tray, no media but locked. I need to check this against a real disk. Thanks! Paolo