Received: from eggs.gnu.org ([140.186.70.92]:55135) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REJ5U-0005Rn-PJ for qemu-devel@nongnu.org; Thu, 13 Oct 2011 07:04:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1REJ5T-0004A3-Pf for qemu-devel@nongnu.org; Thu, 13 Oct 2011 07:04:32 -0400 Received: from mail-wy0-f173.google.com ([74.125.82.173]:61406) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REJ5T-00048s-Gq for qemu-devel@nongnu.org; Thu, 13 Oct 2011 07:04:31 -0400 Received: by mail-wy0-f173.google.com with SMTP id 22so1888325wyh.4 for ; Thu, 13 Oct 2011 04:04:31 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Thu, 13 Oct 2011 13:03:34 +0200 Message-Id: <1318503845-11473-5-git-send-email-pbonzini@redhat.com> In-Reply-To: <1318503845-11473-1-git-send-email-pbonzini@redhat.com> References: <1318503845-11473-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 04/35] atapi: fill in AUDIO_CTL page correctly List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org The page is not anymore in MMC, but at least keep the values sane. Signed-off-by: Paolo Bonzini --- hw/ide/atapi.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/ide/atapi.c b/hw/ide/atapi.c index 347c38d..10f161f 100644 --- a/hw/ide/atapi.c +++ b/hw/ide/atapi.c @@ -731,6 +731,8 @@ static void cmd_mode_sense(IDEState *s, uint8_t *buf) buf[7] = 0; /* Fill with CDROM audio volume */ + buf[8] = 0x0e; + buf[9] = 0x0e; buf[17] = 0; buf[19] = 0; buf[21] = 0; -- 1.7.6