Received: from eggs.gnu.org ([208.118.235.92]:46647) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sw1sT-0003lo-Jh for qemu-devel@nongnu.org; Mon, 30 Jul 2012 22:08:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sw1sS-0001wr-Nb for qemu-devel@nongnu.org; Mon, 30 Jul 2012 22:08:05 -0400 Received: from mail-yx0-f173.google.com ([209.85.213.173]:56226) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sw1sS-0001we-JE for qemu-devel@nongnu.org; Mon, 30 Jul 2012 22:08:04 -0400 Received: by yenl1 with SMTP id l1so5419821yen.4 for ; Mon, 30 Jul 2012 19:08:04 -0700 (PDT) From: Ronnie Sahlberg Date: Tue, 31 Jul 2012 12:07:15 +1000 Message-Id: <1343700436-25315-1-git-send-email-ronniesahlberg@gmail.com> Subject: [Qemu-devel] [PATCH] ATAPI: Add support for ASCQ and improve a medium removal sense code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: kwolf@redhat.com, pbonzini@redhat.com, qemu-devel@nongnu.org Kevin, Paolo, List Please find a patch that adds support for setting the ASCQ in sense data for the ATAPI driver. This mechanism is then used to generate the correct MEDIUM_REMOVAL_PREVENTED error when a disk can not be ejected. regards ronnie sahlberg