qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Programmingkid <programmingkidx@gmail.com>,
	qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] About the sd card reader
Date: Fri, 2 Oct 2015 10:12:41 +0200	[thread overview]
Message-ID: <560E3C79.8060707@redhat.com> (raw)
In-Reply-To: <4D6690A2-0880-42F1-82E3-1098EB82A373@gmail.com>



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

  reply	other threads:[~2015-10-02  8:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87E01859-7A3A-4EB5-A1B5-6D8386C2D3AF@gmail.com>
     [not found] ` <20151001132318.GD10671@stefanha-thinkpad.redhat.com>
2015-10-01 16:27   ` [Qemu-devel] About the sd card reader Programmingkid
2015-10-02  8:12     ` Paolo Bonzini [this message]
2015-10-02 11:50     ` Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=560E3C79.8060707@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=programmingkidx@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).