From patchwork Fri Nov 20 18:03:51 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin O'Connor X-Patchwork-Id: 61698 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nAKI3wGK016520 for ; Fri, 20 Nov 2009 18:03:58 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754787AbZKTSDt (ORCPT ); Fri, 20 Nov 2009 13:03:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753874AbZKTSDt (ORCPT ); Fri, 20 Nov 2009 13:03:49 -0500 Received: from imta-38.everyone.net ([216.200.145.38]:33946 "EHLO omta0105.mta.everyone.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753868AbZKTSDs (ORCPT ); Fri, 20 Nov 2009 13:03:48 -0500 Received: from dm0206.mta.everyone.net (sj1-slb03-gw2 [172.16.1.96]) by omta0105.mta.everyone.net (Postfix) with ESMTP id D56387316D0; Fri, 20 Nov 2009 10:03:52 -0800 (PST) X-Eon-Dm: dm0206 Received: by dm0206.mta.everyone.net (EON-AUTHRELAY2 - cfedc2a1) id dm0206.4b0479b1.4bf797; Fri, 20 Nov 2009 10:03:52 -0800 X-Eon-Sig: AQHOS7NLBtoIEh0OWQIAAAAD,7d207357f76d9a652e9619796a5791ea Date: Fri, 20 Nov 2009 13:03:51 -0500 From: "Kevin O'Connor" To: Avi Kivity Cc: qemu-devel , KVM list Subject: Re: SeaBIOS cdrom regression with Vista Message-ID: <20091120180351.GA21458@morn.localdomain> References: <4B02A35B.10801@redhat.com> <20091118051920.GA9691@morn.localdomain> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20091118051920.GA9691@morn.localdomain> User-Agent: Mutt/1.5.19 (2009-01-05) Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org --- a/src/ata.c +++ b/src/ata.c @@ -713,9 +713,14 @@ ata_detect(void *data) last_reset_ataid = ataid; } +// if (slave) +// continue; + // check for ATAPI u16 buffer[256]; struct drive_s *drive_g = init_drive_atapi(&dummy, buffer); + if (slave) + continue; if (!drive_g) { // Didn't find an ATAPI drive - look for ATA drive. u8 st = inb(iobase1+ATA_CB_STAT);