Thanks Erick,I will update. 在2016年01月27日 01:58,Eric Blake 写道: On 01/26/2016 03:55 AM, xiaoqiang zhao wrote: > This patch series QOM'ify timmer code under hw/timmer directory. s/timmer/timer/ in the subject lines and throughout the entire series > Main idea is to split the initfn's work, some to TypeInfo.instance_init > and some is placed in DeviceClass::realize. > We drop the use of SysBusDeviceClass::init if possible. > > xiaoqiang zhao (14): > hw/timmer: QOM'ify arm_timer > hw/timmer: QOM'ify etraxfs_timer > hw/timmer: QOM'ify exynos4210_mct > hw/timmer: QOM'ify exynos4210_pwm > hw/timmer: QOM'ify exynos4210_rtc > hw/timmer: QOM'ify grlib_gptimer > hw/timmer: QOM'ify lm32_timer > hw/timmer: QOM'ify m48txx_sysbus > hw/timmer: QOM'ify milkymist_sysctl > hw/timmer: QOM'ify pl031 > hw/timmer: QOM'ify puv3_ost > hw/timmer: QOM'ify pxa2xx_timer > hw/timmer: QOM'ify slavio_timer > hw/timmer: QOM'ify tusb6010 and remove all tabs > > hw/timer/arm_timer.c | 38 +++--- > hw/timer/etraxfs_timer.c | 11 +- > hw/timer/exynos4210_mct.c | 10 +- > hw/timer/exynos4210_pwm.c | 10 +- > hw/timer/exynos4210_rtc.c | 10 +- > hw/timer/grlib_gptimer.c | 30 ++-- > hw/timer/lm32_timer.c | 17 ++- > hw/timer/m48t59.c | 35 ++--- > hw/timer/milkymist-sysctl.c | 19 ++- > hw/timer/pl031.c | 9 +- > hw/timer/puv3_ost.c | 12 +- > hw/timer/pxa2xx_timer.c | 36 +++-- > hw/timer/slavio_timer.c | 10 +- > hw/timer/tusb6010.c | 323 ++++++++++++++++++++++---------------------- > 14 files changed, 292 insertions(+), 278 deletions(-) > -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org