Received: from eggs.gnu.org ([140.186.70.92]:59469) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzOQ9-0000T9-Ia for qemu-devel@nongnu.org; Mon, 20 Feb 2012 03:16:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RzOQ3-0001iI-Sa for qemu-devel@nongnu.org; Mon, 20 Feb 2012 03:16:29 -0500 Received: from mx1.redhat.com ([209.132.183.28]:32756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzOQ3-0001iC-KG for qemu-devel@nongnu.org; Mon, 20 Feb 2012 03:16:23 -0500 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q1K8GLse020798 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 20 Feb 2012 03:16:22 -0500 From: Markus Armbruster References: <1329506504-29152-1-git-send-email-lcapitulino@redhat.com> <1329506504-29152-4-git-send-email-lcapitulino@redhat.com> Date: Mon, 20 Feb 2012 09:16:19 +0100 In-Reply-To: <1329506504-29152-4-git-send-email-lcapitulino@redhat.com> (Luiz Capitulino's message of "Fri, 17 Feb 2012 17:21:42 -0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH 3/5] block: Don't call bdrv_eject() if the tray state didn't change List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: kwolf@redhat.com, pbonzini@redhat.com, eblake@redhat.com, qemu-devel@nongnu.org Luiz Capitulino writes: > It's not needed. Besides we can then assume that bdrv_eject() is > only called when there's a tray state change, which is useful to > the DEVICE_TRAY_MOVED event (going to be added in a future > commit). We can assume that only after the next patch "ide: drop ide_tray_state_post_load()", actually. I'd swap the two. Doubtful whether it's worth a respin, though.