[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] About the sd card reader
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] About the sd card reader |
Date: |
Fri, 2 Oct 2015 10:12:41 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
On 01/10/2015 18:27, 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.
>
> Would this device work if I installed Red Hat Linux in qemu-system-i386?
The driver should be entirely generic, it should depend on the PCI class
rather than the PCI id. The Linux driver (not just RH or Fedora---it's
the same for all distros) is that way, but on Windows it's possible that
manufacturers customize the driver to only match a particular vendor or
device id.
A quick Googling suggests that you want the "SDA Standard Compliant SD
Host Controller" Windows driver.
Paolo