On 01/02/15 19:50, Hervé Poussineau wrote: > Le 01/02/2015 19:39, Mark Cave-Ayland a écrit : >> Currently the m48t59 device uses the hardware model in order to determine >> whether the year value is offset from the hardware value. As this will >> soon be required by the x59 model, change the year offset to a qdev >> property and update the callers appropriately. >> >> Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk> > > Hi, > > Is it possible to use a 'base_year' property, like in the mc146818rtc > device? > Usual values will be 0 (for year 2000) and 1968 (for sun4m). > > Regards, > > Hervé
Hi Hervé, I've just rebased and updated the patchset to use a "base_year" property similar to mc146818rtc. AFAICT the hack for 0 representing year 2000 isn't relevant here since QEMU doesn't currently implement the century bit and so the year is limited to 0-99. I'll send the new version out shortly. ATB, Mark.