From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:44011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPfJP-0000nb-4Y for qemu-devel@nongnu.org; Thu, 26 May 2011 14:29:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QPfJO-0003UM-FS for qemu-devel@nongnu.org; Thu, 26 May 2011 14:29:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34186) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPfJO-0003UD-7I for qemu-devel@nongnu.org; Thu, 26 May 2011 14:29:34 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p4QITXnW014470 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 26 May 2011 14:29:33 -0400 Date: Thu, 26 May 2011 15:29:29 -0300 From: Luiz Capitulino Message-ID: <20110526152929.36c15abf@doriath> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] block bug: tray status is not updated (and/or guest ignores it) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: amit.shah@redhat.com Cc: kwolf@redhat.com, Markus Armbruster , qemu-devel I'm testing with qemu.git (HEAD aa29141d84d), procedure: 1. Start a VM with: # qemu -hda disks/test.img -enable-kvm -m 1G -cdrom Fedora-14-x86_64-DVD.iso 2. Then inside the guest run: # eject /dev/sr0 && mount /dev/sr0 /mnt Results: Actual: The cdrom is successfully mounted Expected: The cdrom is not mounted (mount fails, medium not found) Git bisect tells the culprit is: 996faf1ad4a93342e381766d95686b16624f0dbd is the first bad commit commit 996faf1ad4a93342e381766d95686b16624f0dbd Author: Amit Shah Date: Tue Apr 12 21:36:07 2011 +0530 atapi: GESN: implement 'media' subcommand