Re: [Qemu-devel] [PATCH] sdhci: Pass drive parameter to sdhci-pci via qdev property

2015-07-31 Thread Stefan Hajnoczi
On Thu, Jul 30, 2015 at 7:04 PM, Kevin O'Connor wrote: > On Wed, Jul 29, 2015 at 10:01:03AM +0100, Stefan Hajnoczi wrote: >> On Tue, Jul 28, 2015 at 12:22:43PM -0400, Kevin O'Connor wrote: >> > Commit 19109131 disabled the sdhci-pci support because it used >> > drive_get_next(). This patch reenab

Re: [Qemu-devel] [PATCH] sdhci: Pass drive parameter to sdhci-pci via qdev property

2015-07-30 Thread Kevin O'Connor
On Wed, Jul 29, 2015 at 10:01:03AM +0100, Stefan Hajnoczi wrote: > On Tue, Jul 28, 2015 at 12:22:43PM -0400, Kevin O'Connor wrote: > > Commit 19109131 disabled the sdhci-pci support because it used > > drive_get_next(). This patch reenables sdhci-pci and changes it to > > pass the drive via a qdev

Re: [Qemu-devel] [PATCH] sdhci: Pass drive parameter to sdhci-pci via qdev property

2015-07-29 Thread Stefan Hajnoczi
On Tue, Jul 28, 2015 at 12:22:43PM -0400, Kevin O'Connor wrote: > Commit 19109131 disabled the sdhci-pci support because it used > drive_get_next(). This patch reenables sdhci-pci and changes it to > pass the drive via a qdev property - for example: > -device sdhci-pci,drive=drive0 -drive id=driv

[Qemu-devel] [PATCH] sdhci: Pass drive parameter to sdhci-pci via qdev property

2015-07-28 Thread Kevin O'Connor
Commit 19109131 disabled the sdhci-pci support because it used drive_get_next(). This patch reenables sdhci-pci and changes it to pass the drive via a qdev property - for example: -device sdhci-pci,drive=drive0 -drive id=drive0,if=sd,file=myimage Signed-off-by: Kevin O'Connor --- This patch on