Re: [Qemu-devel] [PATCH V4 11/12] SD card: introduce spi property for SD card objects

2012-07-31 Thread Markus Armbruster
Igor Mitsyanko i.mitsya...@samsung.com writes: And drop passing is_spi argument to SDCardClass::init function. spi property could be set only while SD card object is not attached to any BlockDriverState. It defaults to false. Signed-off-by: Igor Mitsyanko i.mitsya...@samsung.com Cc: Paul

Re: [Qemu-devel] [PATCH V4 11/12] SD card: introduce spi property for SD card objects

2012-07-31 Thread Andreas Färber
Am 31.07.2012 11:54, schrieb Markus Armbruster: Igor Mitsyanko i.mitsya...@samsung.com writes: And drop passing is_spi argument to SDCardClass::init function. spi property could be set only while SD card object is not attached to any BlockDriverState. It defaults to false. Signed-off-by:

Re: [Qemu-devel] [PATCH V4 11/12] SD card: introduce spi property for SD card objects

2012-07-31 Thread Paolo Bonzini
Il 31/07/2012 14:19, Andreas Färber ha scritto: +sd-spi = false; +object_property_add(obj, spi, boolean, sd_is_spi, sd_set_spimode, +NULL, NULL, NULL); +} + static const TypeInfo sd_type_info = { .name = TYPE_SD_CARD, .parent = TYPE_OBJECT,

[Qemu-devel] [PATCH V4 11/12] SD card: introduce spi property for SD card objects

2012-07-27 Thread Igor Mitsyanko
And drop passing is_spi argument to SDCardClass::init function. spi property could be set only while SD card object is not attached to any BlockDriverState. It defaults to false. Signed-off-by: Igor Mitsyanko i.mitsya...@samsung.com Cc: Paul Brook p...@codesourcery.com --- hw/sd.c | 33