From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eXBR5-0005yg-4F for qemu-devel@nongnu.org; Thu, 04 Jan 2018 14:44:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eXBR3-0000sc-6o for qemu-devel@nongnu.org; Thu, 04 Jan 2018 14:44:19 -0500 Received: from mail-io0-x242.google.com ([2607:f8b0:4001:c06::242]:34111) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eXBR2-0000ru-Qg for qemu-devel@nongnu.org; Thu, 04 Jan 2018 14:44:17 -0500 Received: by mail-io0-x242.google.com with SMTP id q188so3395142iod.1 for ; Thu, 04 Jan 2018 11:44:16 -0800 (PST) MIME-Version: 1.0 Sender: philippe.mathieu.daude@gmail.com In-Reply-To: References: <34798C74-612D-4484-9781-A3CFB261C383@gmail.com> From: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= Date: Thu, 4 Jan 2018 16:44:15 -0300 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2 00/25] SDCard: housekeeping, improve SPI, introduce new Specs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Programmingkid Cc: "Edgar E . Iglesias" , Peter Maydell , Prasad J Pandit , Peter Crosthwaite , Igor Mitsyanko , QEMU Developers , Andrew Baumann , Alistair Francis , Kevin O'Connor , Paul Brook , Marc-Andr? Lureau , Olbrich >> As noted by Kevin here: >> http://lists.nongnu.org/archive/html/qemu-devel/2017-12/msg02765.html >> >> If your machine has a PCI bus you can plug it there: >> http://pcidb.net/view/1b36/0007 >> >> Linux kmod 'sdhci-pci' recognize it well. >> >> I don't know if OSX/Win guests have a such driver. >> >> If no, we could model the PCI7612: >> https://pci-ids.ucw.cz/read/PC/104c/803b >> >> Regards, >> >> Phil. > > Thanks for the reply. Using this command "-device sdhci-pci -device sd-ca= rd,drive=3Ddrive0 -drive id=3Ddrive0,if=3Dnone,file=3D" I was a= ble to make the sd card reader work in Windows XP. I tried ejecting the ima= ge file and trying to mount another image file. This did > not work. The device was not recognized in Mac OS 9 or Mac OS X guests. After spending 2 months in this code, I could expect a such problem, but I don't have all the images to test all machines matrix. Are you motivated in writing a simple eject/reinsert qtest? :)