On 2 April 2012 21:56, Igor Mitsyanko <i.mitsya...@gmail.com> wrote: > On 02.04.2012 7:48 PM, Peter Maydell wrote: >> Ideally rather than having a class specific init function we >> should make the 'is_spi' and 'bdrv' be object properties, >> >> This needs realize support for QOM objects, though.
> I absolutely agree, that's how I wanted to do this in my working tree at > first, but then several issues arose: I should mention that I don't want to make the perfect the enemy of the good here -- I'd rather we commit something like this now and improve it later than delay it waiting for potential improvements to the QOM infrastructure... -- PMM