Received: from eggs.gnu.org ([2001:4830:134:3::10]:42235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhyrF-0007QB-TJ for qemu-devel@nongnu.org; Fri, 02 Oct 2015 07:50:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZhyrC-0006x9-6T for qemu-devel@nongnu.org; Fri, 02 Oct 2015 07:50:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhyrC-0006wz-1B for qemu-devel@nongnu.org; Fri, 02 Oct 2015 07:50:34 -0400 Date: Fri, 2 Oct 2015 13:50:32 +0200 From: Stefan Hajnoczi Message-ID: <20151002115032.GB13079@stefanha-thinkpad.redhat.com> References: <87E01859-7A3A-4EB5-A1B5-6D8386C2D3AF@gmail.com> <20151001132318.GD10671@stefanha-thinkpad.redhat.com> <4D6690A2-0880-42F1-82E3-1098EB82A373@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D6690A2-0880-42F1-82E3-1098EB82A373@gmail.com> Subject: Re: [Qemu-devel] About the sd card reader List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Programmingkid Cc: qemu-devel qemu-devel On Thu, Oct 01, 2015 at 12:27:09PM -0400, Programmingkid wrote: > > On Oct 1, 2015, at 9:23 AM, Stefan Hajnoczi wrote: > > > On Sat, Sep 26, 2015 at 10:24:31AM -0400, Programmingkid wrote: > >> I was looking at the commit history for sd.c and noticed your patch. Would you know how to make the SD card reader work for a guest like Windows, Linux, or Mac OS X? I'm trying to use this device on qemu-system-ppc and qemu-system-i386. Any help would be great. > > > > sd.c is the core SD card emulation code. It's not a complete device > > itself, you need a host controller interface like sdhci.c. > > > > The sdhci-pci device might work, if you can tell a Windows/Mac/etc SDHCI > > PCI driver to accept the Red Hat 1fa4:0007 PCI ID. > > > > Stefan > > Would this device work if I installed Red Hat Linux in qemu-system-i386? I don't know for sure. You'd have to check the Linux sources to see if any driver wants that PCI ID. Stefan