From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:43988) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWKnK-0002kW-W2 for qemu-devel@nongnu.org; Thu, 08 Nov 2012 00:36:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TWKnJ-0003tR-0s for qemu-devel@nongnu.org; Thu, 08 Nov 2012 00:36:50 -0500 Received: from e28smtp09.in.ibm.com ([122.248.162.9]:42611) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWKnI-0003t6-9T for qemu-devel@nongnu.org; Thu, 08 Nov 2012 00:36:48 -0500 Received: from /spool/local by e28smtp09.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 8 Nov 2012 11:06:46 +0530 Received: from d28av03.in.ibm.com (d28av03.in.ibm.com [9.184.220.65]) by d28relay01.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id qA85aixN11337756 for ; Thu, 8 Nov 2012 11:06:44 +0530 Received: from d28av03.in.ibm.com (loopback [127.0.0.1]) by d28av03.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id qA85ahkH018793 for ; Thu, 8 Nov 2012 16:36:44 +1100 From: Wanpeng Li Date: Thu, 8 Nov 2012 13:36:29 +0800 Message-Id: <1352352999-2561-1-git-send-email-liwanp@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 00/10] piix3: create all child devices as proper QOM children List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Ram Pai , "Michael S. Tsirkin" , Jan Kiszka , qemu-devel@nongnu.org, Liu Ping Fan , Blue Swirl , Stefan Weil , Avi Kivity , Paolo Bonzini , Wanpeng Li All of the devices described in the PIIX3 as being implemented within the PIIX3 are created as child devices of the PIIX3 object in QEMU. PIIX3 has-a RTC, has-a I8042, has-a PCSPK, etc. All child device creation for the PIIX3 is done by calling object_init() with qdev_init() being called for each child device in the PIIX3 ::init function. Anthony Liguori (3): convert RTC as piix3 proper QOM child convert HPET as piix3 proper QOM child convert PIT as piix3 proper QOM child Wanpeng Li (7): convert PCSPK as piix3 proper QOM child convert PORT92 as piix3 proper QOM child convert I8042 as piixe proper QOM child convert VMPORT piix3 proper QOM child convert VMMOUSE as piix3 proper QOM child convert IDE as piix3 proper QOM child convert IOAPIC as piix3 proper QOM child hw/hpet.c | 35 --------- hw/hpet_emul.h | 40 ++++++++++ hw/i440fx.c | 6 ++ hw/i8254.c | 2 +- hw/i8254_internal.h | 3 +- hw/ide.h | 6 +- hw/ide/internal.h | 9 ++ hw/ide/isa.c | 14 +--- hw/ide/piix.c | 24 +------ hw/ioapic.c | 2 +- hw/ioapic.h | 2 - hw/ioapic_internal.h | 2 + hw/kvm/i8254.c | 8 +-- hw/kvm/ioapic.c | 9 +-- hw/mc146818rtc.c | 29 +------- hw/mc146818rtc.h | 30 +++++++ hw/pc.c | 144 ++++------------------------------- hw/pc.h | 14 ++- hw/pckbd.c | 24 +------ hw/pcspk.c | 19 +----- hw/pcspk.h | 19 +++++ hw/piix3.c | 205 ++++++++++++++++++++++++++++++++++++++++++++++++++ hw/piix3.h | 104 +++++++++++++++++++++++++ hw/ps2.h | 3 + hw/vmmouse.c | 14 ---- hw/vmport.c | 10 +-- sysemu.h | 2 - 27 files changed, 459 insertions(+), 320 deletions(-) -- 1.7.7.6