From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xyf0Q-0001VW-Qv for qemu-devel@nongnu.org; Wed, 10 Dec 2014 06:00:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xyf0K-0002UC-09 for qemu-devel@nongnu.org; Wed, 10 Dec 2014 06:00:30 -0500 Received: from plane.gmane.org ([80.91.229.3]:57453) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xyf0J-0002Tn-QY for qemu-devel@nongnu.org; Wed, 10 Dec 2014 06:00:23 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xyf0C-0000Pr-4u for qemu-devel@nongnu.org; Wed, 10 Dec 2014 12:00:16 +0100 Received: from net-2-35-193-40.cust.vodafonedsl.it ([2.35.193.40]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Dec 2014 12:00:16 +0100 Received: from pbonzini by net-2-35-193-40.cust.vodafonedsl.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Dec 2014 12:00:16 +0100 From: Paolo Bonzini Date: Wed, 10 Dec 2014 12:00:06 +0100 Message-ID: <548827B6.7050508@redhat.com> References: <1418080234-31694-1-git-send-email-kevin@koconnor.net> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit In-Reply-To: <1418080234-31694-1-git-send-email-kevin@koconnor.net> Subject: Re: [Qemu-devel] [PATCHv3 0/5] Add support for SDHCI PCI devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Igor Mitsyanko , peter.crosthwaite@xilinx.com, Vincent Palatin , Gerd Hoffmann On 09/12/2014 00:10, Kevin O'Connor wrote: > I'd like to be able to emulate SD cards on x86 machines for testing > purposes. This patch series modifies the existing SDHCI code so that > it can also be used as a PCI device, and can thus be used on any PCI > platform (such as x86). > > I have done basic sdhci testing of this series with Linux on x86 by > adding the following to the qemu command line: -device sdhci-pci -sd > my-test-drive > > I have also done basic sdhci sysbus testing on an arm "vexpress-a9" > machine by following the directions at: > https://wiki.linaro.org/PeterMaydell/QemuVersatileExpress > > I don't see an owner for the SD code in the MAINTAINERS file - let me > know if I'm missing anyone on the CC list. > > Changes since V2: > - Some additional compile warnings fixed when debugging is enabled > Changes since V1: > - Use RedHat PCI IDs instead of inventing new "qemu" IDs > - Fix compile warnings when debugging is enabled > > -Kevin > > > Kevin O'Connor (5): > sdhci: Remove class "virtual" methods > sdhci: Add "sysbus" to sdhci QOM types and methods > sdhci: Define SDHCI PCI ids > sdhci: Support SDHCI devices on PCI > sdhci: Set a default frequency clock > > default-configs/pci.mak | 2 + > docs/specs/pci-ids.txt | 2 + > hw/sd/sdhci.c | 209 +++++++++++++++++++++++++---------------------- > hw/sd/sdhci.h | 39 +++------ > include/hw/pci/pci.h | 1 + > include/hw/pci/pci_ids.h | 1 + > 6 files changed, 127 insertions(+), 127 deletions(-) > Thanks, I'll send this out if no one complains after some time. Paolo