Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NLi1F-0007Ol-9w for qemu-devel@nongnu.org; Fri, 18 Dec 2009 13:57:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NLi1A-0007DZ-9d for qemu-devel@nongnu.org; Fri, 18 Dec 2009 13:57:40 -0500 Received: from [199.232.76.173] (port=47171 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLi1A-0007DP-4c for qemu-devel@nongnu.org; Fri, 18 Dec 2009 13:57:36 -0500 Received: from caiajhbdccah.dreamhost.com ([208.97.132.207]:57978 helo=homiemail-a25.g.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NLi19-0002NY-Nz for qemu-devel@nongnu.org; Fri, 18 Dec 2009 13:57:35 -0500 Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH 2/2] Fix for cdrom un-eject From: Eduardo Habkost In-reply-to: <1259858001-1273-3-git-send-email-ehabkost@redhat.com> References: <1259858001-1273-1-git-send-email-ehabkost@redhat.com> <1259858001-1273-3-git-send-email-ehabkost@redhat.com> Date: Fri, 18 Dec 2009 16:57:31 -0200 Message-Id: <1261162530-sup-9182@blackpad.lan.raisama.net> Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Naphtali Sprei Cc: qemu-devel , Luiz Capitulino Excerpts from Eduardo Habkost's message of Thu Dec 03 14:33:21 -0200 2009= : > From: Naphtali Sprei >=20 > When guest un-eject a cdrom, re-insert the cdrom image (re-open the dri= ve's > file). >=20 > Also, related changes for the un-eject: > o enter UNIT ATTENTION state only on change/insert media, not upon rem= oval > o minor change in packet command abort when in UNIT ATTENTION state (a= s per > spec) > o enter UNIT ATTENTION state upon reset (as per spec) > o always print the file-name in info block command (if applicable) >=20 > Relevant Spec: Mt. Fuji Commands for Multimedia Devices Version 7: > ftp://ftp.seagate.com/sff/INF-8090.PDF >=20 > [ehabkost: solved conficts on monitor.c eject_device()] >=20 > Signed-off-by: Naphtali Sprei > Signed-off-by: Eduardo Habkost This patch needs to be rebaed to the new monitor printing code. Naphtali, do you plan to do it? --=20 Eduardo