Hi Peter,
On Tue, Jun 4, 2013 at 1:21 AM, Peter Maydell <address@hidden> wrote:
On 8 May 2013 09:28, Jean-Christophe DUBOIS <address@hidden> wrote:
This is using a ds1338 RTC chip on the i2c bus. This RTC
chip is not present on the real board.
Ideally this should work by the test driver passing
a "-device ds1338,something,something" argument to
instantiate the RTC and connect it to the I2C bus,
rather than the board doing it if it knows it's being
run by qtest. Does the i2c interface let us do that?
CC Jan, I think he had some success with this in the at24 work, so I
think the answer is yes. And I cant see any reason why not - I2C is
properly QOMified AFAIK.
Regards,
peter