From: Eduardo Habkost <ehabkost@redhat.com>
To: qemu-devel@nongnu.org, paul@xen.org,
"Cédric Le Goater" <clg@kaod.org>,
"Cornelia Huck" <cohuck@redhat.com>,
"Igor Mammedov" <imammedo@redhat.com>,
"Thomas Huth" <thuth@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@redhat.com>
Cc: "Paolo Bonzini" <pbonzini@redhat.com>,
"Daniel P. Berrange" <berrange@redhat.com>,
"Gonglei (Arei)" <arei.gonglei@huawei.com>,
"Laurent Vivier" <lvivier@redhat.com>,
"Amit Shah" <amit@kernel.org>,
"Stefan Berger" <stefanb@linux.ibm.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
"Greg Kurz" <groug@kaod.org>,
"Christian Schoenebeck" <qemu_oss@crudebyte.com>,
"Marcel Apfelbaum" <marcel.apfelbaum@gmail.com>,
"Aleksandar Markovic" <aleksandar.qemu.devel@gmail.com>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
"Aurelien Jarno" <aurelien@aurel32.net>,
"Richard Henderson" <rth@twiddle.net>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Rob Herring" <robh@kernel.org>, "Joel Stanley" <joel@jms.id.au>,
"Jan Kiszka" <jan.kiszka@web.de>,
"Andrzej Zaborowski" <balrogg@gmail.com>,
"Radoslaw Biernacki" <rad@semihalf.com>,
"Leif Lindholm" <leif@nuviainc.com>,
"Edgar E. Iglesias" <edgar.iglesias@gmail.com>,
"Alistair Francis" <alistair@alistair23.me>,
"Gerd Hoffmann" <kraxel@redhat.com>,
"Michael Walle" <michael@walle.cc>,
"John Snow" <jsnow@redhat.com>, "Kevin Wolf" <kwolf@redhat.com>,
"Max Reitz" <mreitz@redhat.com>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Igor Mitsyanko" <i.mitsyanko@gmail.com>,
"Fabien Chouteau" <chouteau@adacore.com>,
"KONRAD Frederic" <frederic.konrad@adacore.com>,
"Alberto Garcia" <berto@igalia.com>,
"Thomas Huth" <huth@tuxfamily.org>,
"David Gibson" <david@gibson.dropbear.id.au>,
"Mark Cave-Ayland" <mark.cave-ayland@ilande.co.uk>,
"Hervé Poussineau" <hpoussin@reactos.org>,
"Aleksandar Rikalo" <aleksandar.rikalo@syrmia.com>,
"BALATON Zoltan" <balaton@eik.bme.hu>,
"Guan Xuetao" <gxt@mprc.pku.edu.cn>,
"Helge Deller" <deller@gmx.de>,
"Corey Minyard" <cminyard@mvista.com>,
"Stefano Stabellini" <sstabellini@kernel.org>,
"Anthony Perard" <anthony.perard@citrix.com>,
"Chris Wulff" <crwulff@gmail.com>, "Marek Vasut" <marex@denx.de>,
"Huacai Chen" <chenhc@lemote.com>,
"Jiaxun Yang" <jiaxun.yang@flygoat.com>,
"Artyom Tarasenko" <atar4qemu@gmail.com>,
"Jason Wang" <jasowang@redhat.com>,
"Dmitry Fleytman" <dmitry.fleytman@gmail.com>,
"Max Filippov" <jcmvbkbc@gmail.com>,
"Sven Schnelle" <svens@stackframe.org>,
"Christian Borntraeger" <borntraeger@de.ibm.com>,
"Halil Pasic" <pasic@linux.ibm.com>,
"David Hildenbrand" <david@redhat.com>,
"Matthew Rosato" <mjrosato@linux.ibm.com>,
"Fam Zheng" <fam@euphon.net>,
"Yoshinori Sato" <ysato@users.sourceforge.jp>,
"Samuel Thibault" <samuel.thibault@ens-lyon.org>,
"Tony Krowiak" <akrowiak@linux.ibm.com>,
"Pierre Morel" <pmorel@linux.ibm.com>,
"Alex Williamson" <alex.williamson@redhat.com>,
"Ben Warren" <ben@skyportsystems.com>,
"Beniamino Galvani" <b.galvani@gmail.com>,
"Niek Linnenbank" <nieklinnenbank@gmail.com>,
"Andrew Baumann" <Andrew.Baumann@microsoft.com>,
"Antony Pavlov" <antonynpavlov@gmail.com>,
"Jean-Christophe Dubois" <jcd@tribudubois.net>,
"Peter Chubb" <peter.chubb@nicta.com.au>,
"Andrey Smirnov" <andrew.smirnov@gmail.com>,
"Subbaraya Sundeep" <sundeep.lkml@gmail.com>,
"Michael Rolnik" <mrolnik@gmail.com>,
"Sarah Harris" <S.E.Harris@kent.ac.uk>,
"Peter Xu" <peterx@redhat.com>,
"Andrew Jeffery" <andrew@aj.id.au>,
"Laszlo Ersek" <lersek@redhat.com>,
"Paul Burton" <paulburton@kernel.org>,
"Palmer Dabbelt" <palmer@dabbelt.com>,
"Sagar Karandikar" <sagark@eecs.berkeley.edu>,
"Bastian Koppelmann" <kbastian@mail.uni-paderborn.de>,
"Anup Patel" <anup.patel@wdc.com>,
"Eric Farman" <farman@linux.ibm.com>,
"Raphael Norwitz" <raphael.norwitz@nutanix.com>,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
"Stefan Hajnoczi" <stefanha@redhat.com>,
"Eric Auger" <eric.auger@redhat.com>,
"Juan Quintela" <quintela@redhat.com>,
"Pavel Dovgalyuk" <pavel.dovgaluk@ispras.ru>,
"Zhang Chen" <chen.zhang@intel.com>,
"Li Zhijian" <lizhijian@cn.fujitsu.com>,
qemu-arm@nongnu.org, qemu-block@nongnu.org, qemu-ppc@nongnu.org,
kvm@vger.kernel.org, xen-devel@lists.xenproject.org,
qemu-s390x@nongnu.org, qemu-riscv@nongnu.org,
"Laurent Vivier" <laurent@vivier.eu>,
"Sergio Lopez" <slp@redhat.com>,
"Xiao Guangrong" <xiaoguangrong.eric@gmail.com>,
"Anthony Green" <green@moxielogic.com>,
"Stafford Horne" <shorne@gmail.com>
Subject: Re: [PATCH 0/5] qom: Convert more declarations to OBJECT_DECLARE*
Date: Fri, 18 Sep 2020 14:17:14 -0400 [thread overview]
Message-ID: <20200918181714.GD7594@habkost.net> (raw)
In-Reply-To: <20200916182519.415636-1-ehabkost@redhat.com>
On Wed, Sep 16, 2020 at 02:25:14PM -0400, Eduardo Habkost wrote:
> This converts many QOM types to use OBJECT_DECLARE* instead of
> manually using DECLARE*_CHECKER*.
>
> Before doing that, I'm simplifying the OBJECT_DECLARE* API to
> make it easier to use and more difficult to misuse. The
> module_obj_name and ParentClassType parameters were removed
> because they are not needed.
I'm queueing this on machine-next.
>
> Eduardo Habkost (5):
> scripts/codeconverter: Update to latest version
> qom: Remove ParentClassType argument from OBJECT_DECLARE_SIMPLE_TYPE
> qom: Remove module_obj_name parameter from OBJECT_DECLARE* macros
> [automated] Use OBJECT_DECLARE_TYPE when possible
> [automated] Use OBJECT_DECLARE_SIMPLE_TYPE when possible
>
> hw/9pfs/virtio-9p.h | 4 +-
> hw/audio/intel-hda.h | 6 +-
> hw/display/ati_int.h | 4 +-
> hw/display/qxl.h | 4 +-
> hw/display/virtio-vga.h | 2 +-
> hw/i386/amd_iommu.h | 4 +-
> hw/misc/tmp105.h | 4 +-
> hw/net/fsl_etsec/etsec.h | 3 +-
> hw/net/tulip.h | 4 +-
> hw/ppc/e500-ccsr.h | 4 +-
> hw/ppc/e500.h | 5 +-
> hw/ppc/mac.h | 4 +-
> hw/s390x/ccw-device.h | 4 +-
> hw/s390x/ipl.h | 4 +-
> hw/s390x/s390-pci-bus.h | 16 +-
> hw/s390x/virtio-ccw.h | 57 +-
> hw/usb/ccid.h | 5 +-
> hw/usb/hcd-dwc2.h | 3 +-
> hw/usb/hcd-ehci.h | 13 +-
> hw/usb/hcd-ohci.h | 4 +-
> hw/usb/hcd-xhci.h | 4 +-
> hw/vfio/pci.h | 4 +-
> hw/virtio/virtio-pci.h | 5 +-
> hw/xen/xen_pt.h | 4 +-
> include/authz/base.h | 2 +-
> include/authz/list.h | 4 +-
> include/authz/listfile.h | 4 +-
> include/authz/pamacct.h | 4 +-
> include/authz/simple.h | 4 +-
> include/block/throttle-groups.h | 4 +-
> include/chardev/char.h | 4 +-
> include/crypto/secret_common.h | 2 +-
> include/crypto/secret_keyring.h | 4 +-
> include/hw/acpi/generic_event_device.h | 4 +-
> include/hw/acpi/vmgenid.h | 4 +-
> include/hw/adc/stm32f2xx_adc.h | 4 +-
> include/hw/arm/allwinner-a10.h | 4 +-
> include/hw/arm/allwinner-h3.h | 4 +-
> include/hw/arm/armsse.h | 2 +-
> include/hw/arm/armv7m.h | 8 +-
> include/hw/arm/aspeed_soc.h | 5 +-
> include/hw/arm/bcm2835_peripherals.h | 4 +-
> include/hw/arm/bcm2836.h | 5 +-
> include/hw/arm/digic.h | 4 +-
> include/hw/arm/exynos4210.h | 4 +-
> include/hw/arm/fsl-imx25.h | 4 +-
> include/hw/arm/fsl-imx31.h | 4 +-
> include/hw/arm/fsl-imx6.h | 4 +-
> include/hw/arm/fsl-imx6ul.h | 4 +-
> include/hw/arm/fsl-imx7.h | 4 +-
> include/hw/arm/msf2-soc.h | 4 +-
> include/hw/arm/nrf51_soc.h | 4 +-
> include/hw/arm/omap.h | 4 +-
> include/hw/arm/pxa.h | 15 +-
> include/hw/arm/smmu-common.h | 5 +-
> include/hw/arm/smmuv3.h | 5 +-
> include/hw/arm/stm32f205_soc.h | 4 +-
> include/hw/arm/stm32f405_soc.h | 4 +-
> include/hw/arm/virt.h | 5 +-
> include/hw/arm/xlnx-versal.h | 4 +-
> include/hw/arm/xlnx-zynqmp.h | 4 +-
> include/hw/block/flash.h | 8 +-
> include/hw/block/swim.h | 12 +-
> include/hw/boards.h | 3 +-
> include/hw/char/avr_usart.h | 4 +-
> include/hw/char/bcm2835_aux.h | 4 +-
> include/hw/char/cadence_uart.h | 4 +-
> include/hw/char/cmsdk-apb-uart.h | 4 +-
> include/hw/char/digic-uart.h | 4 +-
> include/hw/char/escc.h | 4 +-
> include/hw/char/ibex_uart.h | 4 +-
> include/hw/char/imx_serial.h | 4 +-
> include/hw/char/nrf51_uart.h | 4 +-
> include/hw/char/pl011.h | 4 +-
> include/hw/char/serial.h | 11 +-
> include/hw/char/stm32f2xx_usart.h | 4 +-
> include/hw/clock.h | 4 +-
> include/hw/core/generic-loader.h | 4 +-
> include/hw/core/split-irq.h | 4 +-
> include/hw/cpu/a15mpcore.h | 4 +-
> include/hw/cpu/a9mpcore.h | 4 +-
> include/hw/cpu/arm11mpcore.h | 4 +-
> include/hw/cpu/cluster.h | 4 +-
> include/hw/cpu/core.h | 4 +-
> include/hw/display/bcm2835_fb.h | 4 +-
> include/hw/display/dpcd.h | 4 +-
> include/hw/display/i2c-ddc.h | 4 +-
> include/hw/display/macfb.h | 9 +-
> include/hw/display/xlnx_dp.h | 4 +-
> include/hw/dma/bcm2835_dma.h | 4 +-
> include/hw/dma/i8257.h | 4 +-
> include/hw/dma/pl080.h | 4 +-
> include/hw/dma/xlnx-zdma.h | 4 +-
> include/hw/dma/xlnx-zynq-devcfg.h | 4 +-
> include/hw/dma/xlnx_dpdma.h | 4 +-
> include/hw/gpio/aspeed_gpio.h | 5 +-
> include/hw/gpio/bcm2835_gpio.h | 4 +-
> include/hw/gpio/imx_gpio.h | 4 +-
> include/hw/gpio/nrf51_gpio.h | 4 +-
> include/hw/hyperv/vmbus-bridge.h | 4 +-
> include/hw/hyperv/vmbus.h | 6 +-
> include/hw/i2c/aspeed_i2c.h | 5 +-
> include/hw/i2c/i2c.h | 5 +-
> include/hw/i2c/imx_i2c.h | 4 +-
> include/hw/i2c/microbit_i2c.h | 4 +-
> include/hw/i2c/ppc4xx_i2c.h | 4 +-
> include/hw/i2c/smbus_slave.h | 2 +-
> include/hw/i386/ich9.h | 4 +-
> include/hw/i386/intel_iommu.h | 4 +-
> include/hw/i386/ioapic_internal.h | 5 +-
> include/hw/i386/microvm.h | 5 +-
> include/hw/i386/pc.h | 4 +-
> include/hw/i386/x86-iommu.h | 5 +-
> include/hw/i386/x86.h | 5 +-
> include/hw/ide/ahci.h | 12 +-
> include/hw/ide/internal.h | 8 +-
> include/hw/ide/pci.h | 4 +-
> include/hw/input/adb.h | 8 +-
> include/hw/input/i8042.h | 4 +-
> include/hw/intc/allwinner-a10-pic.h | 4 +-
> include/hw/intc/aspeed_vic.h | 4 +-
> include/hw/intc/bcm2835_ic.h | 4 +-
> include/hw/intc/bcm2836_control.h | 4 +-
> include/hw/intc/heathrow_pic.h | 4 +-
> include/hw/intc/ibex_plic.h | 4 +-
> include/hw/intc/imx_avic.h | 4 +-
> include/hw/intc/imx_gpcv2.h | 4 +-
> include/hw/intc/mips_gic.h | 4 +-
> include/hw/intc/realview_gic.h | 4 +-
> include/hw/intc/rx_icu.h | 4 +-
> include/hw/intc/xlnx-pmu-iomod-intc.h | 4 +-
> include/hw/intc/xlnx-zynqmp-ipi.h | 4 +-
> include/hw/ipack/ipack.h | 6 +-
> include/hw/ipmi/ipmi.h | 6 +-
> include/hw/isa/i8259_internal.h | 5 +-
> include/hw/isa/isa.h | 7 +-
> include/hw/isa/pc87312.h | 4 +-
> include/hw/m68k/mcf_fec.h | 4 +-
> include/hw/mem/nvdimm.h | 5 +-
> include/hw/mem/pc-dimm.h | 2 +-
> include/hw/mips/cps.h | 4 +-
> include/hw/misc/a9scu.h | 4 +-
> include/hw/misc/allwinner-cpucfg.h | 4 +-
> include/hw/misc/allwinner-h3-ccu.h | 4 +-
> include/hw/misc/allwinner-h3-dramc.h | 4 +-
> include/hw/misc/allwinner-h3-sysctrl.h | 4 +-
> include/hw/misc/allwinner-sid.h | 4 +-
> include/hw/misc/arm11scu.h | 4 +-
> include/hw/misc/armsse-cpuid.h | 4 +-
> include/hw/misc/armsse-mhu.h | 4 +-
> include/hw/misc/aspeed_scu.h | 5 +-
> include/hw/misc/aspeed_sdmc.h | 5 +-
> include/hw/misc/aspeed_xdma.h | 4 +-
> include/hw/misc/auxbus.h | 11 +-
> include/hw/misc/avr_power.h | 4 +-
> include/hw/misc/bcm2835_mbox.h | 4 +-
> include/hw/misc/bcm2835_mphi.h | 3 +-
> include/hw/misc/bcm2835_property.h | 4 +-
> include/hw/misc/bcm2835_rng.h | 4 +-
> include/hw/misc/bcm2835_thermal.h | 4 +-
> include/hw/misc/grlib_ahb_apb_pnp.h | 8 +-
> include/hw/misc/imx25_ccm.h | 4 +-
> include/hw/misc/imx31_ccm.h | 4 +-
> include/hw/misc/imx6_ccm.h | 4 +-
> include/hw/misc/imx6_src.h | 4 +-
> include/hw/misc/imx6ul_ccm.h | 4 +-
> include/hw/misc/imx7_ccm.h | 8 +-
> include/hw/misc/imx7_gpr.h | 4 +-
> include/hw/misc/imx7_snvs.h | 4 +-
> include/hw/misc/imx_ccm.h | 5 +-
> include/hw/misc/imx_rngc.h | 4 +-
> include/hw/misc/iotkit-secctl.h | 4 +-
> include/hw/misc/iotkit-sysctl.h | 4 +-
> include/hw/misc/iotkit-sysinfo.h | 4 +-
> include/hw/misc/mac_via.h | 12 +-
> include/hw/misc/macio/cuda.h | 8 +-
> include/hw/misc/macio/gpio.h | 4 +-
> include/hw/misc/macio/macio.h | 20 +-
> include/hw/misc/macio/pmu.h | 8 +-
> include/hw/misc/max111x.h | 4 +-
> include/hw/misc/mips_cmgcr.h | 4 +-
> include/hw/misc/mips_cpc.h | 4 +-
> include/hw/misc/mips_itu.h | 4 +-
> include/hw/misc/mos6522.h | 5 +-
> include/hw/misc/mps2-fpgaio.h | 4 +-
> include/hw/misc/mps2-scc.h | 4 +-
> include/hw/misc/msf2-sysreg.h | 4 +-
> include/hw/misc/nrf51_rng.h | 4 +-
> include/hw/misc/stm32f2xx_syscfg.h | 4 +-
> include/hw/misc/stm32f4xx_exti.h | 4 +-
> include/hw/misc/stm32f4xx_syscfg.h | 4 +-
> include/hw/misc/tz-mpc.h | 4 +-
> include/hw/misc/tz-msc.h | 4 +-
> include/hw/misc/tz-ppc.h | 4 +-
> include/hw/misc/unimp.h | 4 +-
> include/hw/misc/zynq-xadc.h | 4 +-
> include/hw/net/allwinner-sun8i-emac.h | 4 +-
> include/hw/net/allwinner_emac.h | 4 +-
> include/hw/net/cadence_gem.h | 4 +-
> include/hw/net/ftgmac100.h | 8 +-
> include/hw/net/imx_fec.h | 4 +-
> include/hw/net/msf2-emac.h | 4 +-
> include/hw/nubus/mac-nubus-bridge.h | 4 +-
> include/hw/nubus/nubus.h | 8 +-
> include/hw/nvram/fw_cfg.h | 9 +-
> include/hw/nvram/nrf51_nvm.h | 4 +-
> include/hw/pci-bridge/simba.h | 4 +-
> include/hw/pci-host/designware.h | 8 +-
> include/hw/pci-host/gpex.h | 8 +-
> include/hw/pci-host/i440fx.h | 4 +-
> include/hw/pci-host/pnv_phb3.h | 7 +-
> include/hw/pci-host/pnv_phb4.h | 11 +-
> include/hw/pci-host/q35.h | 8 +-
> include/hw/pci-host/sabre.h | 8 +-
> include/hw/pci-host/spapr.h | 4 +-
> include/hw/pci-host/uninorth.h | 4 +-
> include/hw/pci-host/xilinx-pcie.h | 8 +-
> include/hw/pci/pci.h | 4 +-
> include/hw/pci/pci_bridge.h | 3 +-
> include/hw/pci/pci_host.h | 4 +-
> include/hw/pci/pcie_host.h | 3 +-
> include/hw/pci/pcie_port.h | 6 +-
> include/hw/pcmcia.h | 5 +-
> include/hw/platform-bus.h | 4 +-
> include/hw/ppc/mac_dbdma.h | 3 +-
> include/hw/ppc/openpic.h | 4 +-
> include/hw/ppc/pnv.h | 2 +-
> include/hw/ppc/pnv_core.h | 6 +-
> include/hw/ppc/pnv_homer.h | 2 +-
> include/hw/ppc/pnv_occ.h | 2 +-
> include/hw/ppc/pnv_pnor.h | 4 +-
> include/hw/ppc/pnv_psi.h | 10 +-
> include/hw/ppc/pnv_xive.h | 2 +-
> include/hw/ppc/spapr.h | 13 +-
> include/hw/ppc/spapr_cpu_core.h | 2 +-
> include/hw/ppc/spapr_tpm_proxy.h | 4 +-
> include/hw/ppc/spapr_vio.h | 6 +-
> include/hw/ppc/xics.h | 2 +-
> include/hw/ppc/xive.h | 14 +-
> include/hw/qdev-core.h | 4 +-
> include/hw/riscv/opentitan.h | 4 +-
> include/hw/riscv/riscv_hart.h | 4 +-
> include/hw/rtc/allwinner-rtc.h | 5 +-
> include/hw/rtc/aspeed_rtc.h | 4 +-
> include/hw/rtc/goldfish_rtc.h | 4 +-
> include/hw/rtc/mc146818rtc.h | 4 +-
> include/hw/rtc/pl031.h | 4 +-
> include/hw/rtc/xlnx-zynqmp-rtc.h | 4 +-
> include/hw/s390x/3270-ccw.h | 5 +-
> include/hw/s390x/css-bridge.h | 8 +-
> include/hw/s390x/event-facility.h | 2 +-
> include/hw/s390x/s390-virtio-ccw.h | 5 +-
> include/hw/s390x/s390_flic.h | 6 +-
> include/hw/s390x/sclp.h | 2 +-
> include/hw/s390x/storage-attributes.h | 5 +-
> include/hw/s390x/storage-keys.h | 5 +-
> include/hw/s390x/tod.h | 5 +-
> include/hw/s390x/vfio-ccw.h | 4 +-
> include/hw/scsi/esp.h | 4 +-
> include/hw/scsi/scsi.h | 7 +-
> include/hw/sd/allwinner-sdhost.h | 5 +-
> include/hw/sd/aspeed_sdhci.h | 4 +-
> include/hw/sd/bcm2835_sdhost.h | 4 +-
> include/hw/sd/sd.h | 7 +-
> include/hw/sparc/sparc32_dma.h | 16 +-
> include/hw/ssi/aspeed_smc.h | 5 +-
> include/hw/ssi/imx_spi.h | 4 +-
> include/hw/ssi/mss-spi.h | 4 +-
> include/hw/ssi/pl022.h | 4 +-
> include/hw/ssi/ssi.h | 2 +-
> include/hw/ssi/stm32f2xx_spi.h | 4 +-
> include/hw/ssi/xilinx_spips.h | 11 +-
> include/hw/sysbus.h | 2 +-
> include/hw/timer/a9gtimer.h | 4 +-
> include/hw/timer/allwinner-a10-pit.h | 4 +-
> include/hw/timer/arm_mptimer.h | 4 +-
> include/hw/timer/armv7m_systick.h | 4 +-
> include/hw/timer/aspeed_timer.h | 5 +-
> include/hw/timer/avr_timer16.h | 4 +-
> include/hw/timer/bcm2835_systmr.h | 4 +-
> include/hw/timer/cmsdk-apb-dualtimer.h | 4 +-
> include/hw/timer/cmsdk-apb-timer.h | 4 +-
> include/hw/timer/digic-timer.h | 4 +-
> include/hw/timer/i8254.h | 5 +-
> include/hw/timer/imx_epit.h | 4 +-
> include/hw/timer/mss-timer.h | 4 +-
> include/hw/timer/nrf51_timer.h | 4 +-
> include/hw/usb.h | 8 +-
> include/hw/usb/chipidea.h | 4 +-
> include/hw/usb/imx-usb-phy.h | 4 +-
> include/hw/virtio/vhost-scsi-common.h | 4 +-
> include/hw/virtio/vhost-scsi.h | 4 +-
> include/hw/virtio/vhost-user-blk.h | 4 +-
> include/hw/virtio/vhost-user-fs.h | 4 +-
> include/hw/virtio/vhost-user-scsi.h | 4 +-
> include/hw/virtio/vhost-user-vsock.h | 4 +-
> include/hw/virtio/vhost-vsock-common.h | 4 +-
> include/hw/virtio/vhost-vsock.h | 4 +-
> include/hw/virtio/virtio-balloon.h | 4 +-
> include/hw/virtio/virtio-blk.h | 4 +-
> include/hw/virtio/virtio-crypto.h | 4 +-
> include/hw/virtio/virtio-gpu-pci.h | 4 +-
> include/hw/virtio/virtio-gpu.h | 10 +-
> include/hw/virtio/virtio-input.h | 14 +-
> include/hw/virtio/virtio-iommu.h | 4 +-
> include/hw/virtio/virtio-mem.h | 2 +-
> include/hw/virtio/virtio-mmio.h | 4 +-
> include/hw/virtio/virtio-net.h | 4 +-
> include/hw/virtio/virtio-pmem.h | 2 +-
> include/hw/virtio/virtio-rng.h | 4 +-
> include/hw/virtio/virtio-scsi.h | 8 +-
> include/hw/virtio/virtio-serial.h | 9 +-
> include/hw/virtio/virtio.h | 4 +-
> include/hw/watchdog/cmsdk-apb-watchdog.h | 4 +-
> include/hw/watchdog/wdt_aspeed.h | 5 +-
> include/hw/watchdog/wdt_imx2.h | 4 +-
> include/hw/xen/xen-block.h | 12 +-
> include/hw/xen/xen-bus.h | 6 +-
> include/io/channel-buffer.h | 4 +-
> include/io/channel-command.h | 4 +-
> include/io/channel-file.h | 4 +-
> include/io/channel-socket.h | 4 +-
> include/io/channel-tls.h | 4 +-
> include/io/channel-websock.h | 4 +-
> include/io/channel.h | 2 +-
> include/io/dns-resolver.h | 4 +-
> include/io/net-listener.h | 4 +-
> include/net/can_emu.h | 3 +-
> include/net/can_host.h | 5 +-
> include/net/filter.h | 4 +-
> include/qom/object.h | 20 +-
> include/scsi/pr-manager.h | 2 +-
> include/sysemu/cryptodev.h | 2 +-
> include/sysemu/hostmem.h | 2 +-
> include/sysemu/rng-random.h | 4 +-
> include/sysemu/rng.h | 2 +-
> include/sysemu/tpm_backend.h | 2 +-
> include/sysemu/vhost-user-backend.h | 4 +-
> include/ui/console.h | 4 +-
> target/alpha/cpu-qom.h | 2 +-
> target/arm/cpu-qom.h | 2 +-
> target/avr/cpu-qom.h | 2 +-
> target/cris/cpu-qom.h | 2 +-
> target/hppa/cpu-qom.h | 2 +-
> target/i386/cpu-qom.h | 2 +-
> target/lm32/cpu-qom.h | 2 +-
> target/m68k/cpu-qom.h | 2 +-
> target/microblaze/cpu-qom.h | 2 +-
> target/mips/cpu-qom.h | 2 +-
> target/moxie/cpu.h | 2 +-
> target/nios2/cpu.h | 2 +-
> target/openrisc/cpu.h | 2 +-
> target/ppc/cpu-qom.h | 2 +-
> target/riscv/cpu.h | 2 +-
> target/rx/cpu-qom.h | 2 +-
> target/s390x/cpu-qom.h | 2 +-
> target/sh4/cpu-qom.h | 2 +-
> target/sparc/cpu-qom.h | 2 +-
> target/tilegx/cpu.h | 2 +-
> target/tricore/cpu-qom.h | 2 +-
> target/unicore32/cpu-qom.h | 2 +-
> target/xtensa/cpu-qom.h | 2 +-
> authz/list.c | 1 -
> authz/listfile.c | 1 -
> authz/pamacct.c | 1 -
> authz/simple.c | 1 -
> backends/cryptodev-builtin.c | 5 +-
> backends/cryptodev-vhost-user.c | 4 +-
> backends/dbus-vmstate.c | 5 +-
> backends/hostmem-file.c | 4 +-
> backends/hostmem-memfd.c | 4 +-
> backends/rng-builtin.c | 4 +-
> backends/rng-egd.c | 4 +-
> backends/tpm/tpm_emulator.c | 4 +-
> backends/tpm/tpm_passthrough.c | 4 +-
> backends/vhost-user.c | 1 -
> crypto/secret_keyring.c | 1 -
> hw/acpi/piix4.c | 4 +-
> hw/alpha/typhoon.c | 4 +-
> hw/arm/collie.c | 4 +-
> hw/arm/highbank.c | 4 +-
> hw/arm/integratorcp.c | 12 +-
> hw/arm/microbit.c | 4 +-
> hw/arm/mps2-tz.c | 5 +-
> hw/arm/mps2.c | 5 +-
> hw/arm/musca.c | 5 +-
> hw/arm/musicpal.c | 32 +-
> hw/arm/palm.c | 4 +-
> hw/arm/pxa2xx.c | 12 +-
> hw/arm/pxa2xx_gpio.c | 4 +-
> hw/arm/pxa2xx_pic.c | 4 +-
> hw/arm/sbsa-ref.c | 4 +-
> hw/arm/spitz.c | 25 +-
> hw/arm/stellaris.c | 8 +-
> hw/arm/strongarm.c | 24 +-
> hw/arm/tosa.c | 8 +-
> hw/arm/versatilepb.c | 4 +-
> hw/arm/vexpress.c | 5 +-
> hw/arm/xilinx_zynq.c | 4 +-
> hw/arm/xlnx-versal-virt.c | 4 +-
> hw/arm/xlnx-zcu102.c | 4 +-
> hw/arm/z2.c | 8 +-
> hw/audio/ac97.c | 4 +-
> hw/audio/adlib.c | 4 +-
> hw/audio/es1370.c | 3 +-
> hw/audio/gus.c | 4 +-
> hw/audio/hda-codec.c | 3 +-
> hw/audio/marvell_88w8618.c | 4 +-
> hw/audio/milkymist-ac97.c | 4 +-
> hw/audio/pcspk.c | 4 +-
> hw/audio/pl041.c | 4 +-
> hw/audio/sb16.c | 4 +-
> hw/audio/wm8750.c | 4 +-
> hw/block/fdc.c | 16 +-
> hw/block/m25p80.c | 5 +-
> hw/block/nand.c | 3 +-
> hw/block/onenand.c | 4 +-
> hw/char/debugcon.c | 4 +-
> hw/char/exynos4210_uart.c | 4 +-
> hw/char/grlib_apbuart.c | 4 +-
> hw/char/ipoctal232.c | 3 +-
> hw/char/lm32_juart.c | 4 +-
> hw/char/lm32_uart.c | 4 +-
> hw/char/mcf_uart.c | 4 +-
> hw/char/milkymist-uart.c | 4 +-
> hw/char/parallel.c | 4 +-
> hw/char/serial-isa.c | 4 +-
> hw/char/serial-pci.c | 4 +-
> hw/char/spapr_vty.c | 4 +-
> hw/char/xilinx_uartlite.c | 4 +-
> hw/cpu/realview_mpcore.c | 4 +-
> hw/display/ads7846.c | 4 +-
> hw/display/artist.c | 4 +-
> hw/display/bochs-display.c | 4 +-
> hw/display/cg3.c | 4 +-
> hw/display/cirrus_vga.c | 4 +-
> hw/display/cirrus_vga_isa.c | 4 +-
> hw/display/exynos4210_fimd.c | 4 +-
> hw/display/g364fb.c | 4 +-
> hw/display/jazz_led.c | 4 +-
> hw/display/milkymist-tmu2.c | 4 +-
> hw/display/milkymist-vgafb.c | 4 +-
> hw/display/next-fb.c | 4 +-
> hw/display/pl110.c | 4 +-
> hw/display/sii9022.c | 4 +-
> hw/display/sm501.c | 8 +-
> hw/display/ssd0303.c | 4 +-
> hw/display/ssd0323.c | 4 +-
> hw/display/tcx.c | 4 +-
> hw/display/vga-isa.c | 4 +-
> hw/display/vga-pci.c | 4 +-
> hw/dma/i82374.c | 4 +-
> hw/dma/pl330.c | 3 +-
> hw/dma/puv3_dma.c | 4 +-
> hw/dma/pxa2xx_dma.c | 4 +-
> hw/dma/rc4030.c | 4 +-
> hw/dma/xilinx_axidma.c | 4 +-
> hw/gpio/gpio_key.c | 4 +-
> hw/gpio/max7310.c | 4 +-
> hw/gpio/mpc8xxx.c | 4 +-
> hw/gpio/pl061.c | 4 +-
> hw/gpio/puv3_gpio.c | 4 +-
> hw/gpio/zaurus.c | 4 +-
> hw/hppa/dino.c | 4 +-
> hw/hppa/lasi.c | 4 +-
> hw/hyperv/hyperv.c | 4 +-
> hw/hyperv/hyperv_testdev.c | 4 +-
> hw/i2c/bitbang_i2c.c | 4 +-
> hw/i2c/exynos4210_i2c.c | 4 +-
> hw/i2c/mpc_i2c.c | 4 +-
> hw/i2c/smbus_eeprom.c | 4 +-
> hw/i2c/smbus_ich9.c | 4 +-
> hw/i386/kvm/clock.c | 4 +-
> hw/i386/kvmvapic.c | 4 +-
> hw/i386/port92.c | 4 +-
> hw/i386/vmmouse.c | 4 +-
> hw/i386/vmport.c | 4 +-
> hw/i386/xen/xen_platform.c | 4 +-
> hw/i386/xen/xen_pvdevice.c | 4 +-
> hw/ide/isa.c | 4 +-
> hw/ide/microdrive.c | 4 +-
> hw/ide/sii3112.c | 4 +-
> hw/input/adb-kbd.c | 5 +-
> hw/input/adb-mouse.c | 5 +-
> hw/input/lm832x.c | 4 +-
> hw/input/milkymist-softusb.c | 4 +-
> hw/input/pl050.c | 4 +-
> hw/intc/arm_gicv2m.c | 4 +-
> hw/intc/exynos4210_combiner.c | 4 +-
> hw/intc/exynos4210_gic.c | 8 +-
> hw/intc/grlib_irqmp.c | 4 +-
> hw/intc/lm32_pic.c | 4 +-
> hw/intc/nios2_iic.c | 4 +-
> hw/intc/ompic.c | 4 +-
> hw/intc/openpic_kvm.c | 4 +-
> hw/intc/pl190.c | 4 +-
> hw/intc/puv3_intc.c | 4 +-
> hw/intc/slavio_intctl.c | 4 +-
> hw/ipack/tpci200.c | 4 +-
> hw/ipmi/ipmi_bmc_extern.c | 4 +-
> hw/ipmi/isa_ipmi_bt.c | 4 +-
> hw/ipmi/isa_ipmi_kcs.c | 4 +-
> hw/ipmi/pci_ipmi_bt.c | 4 +-
> hw/ipmi/pci_ipmi_kcs.c | 4 +-
> hw/ipmi/smbus_ipmi.c | 4 +-
> hw/isa/i82378.c | 4 +-
> hw/isa/piix4.c | 4 +-
> hw/isa/vt82c686.c | 16 +-
> hw/m68k/mcf_intc.c | 4 +-
> hw/m68k/next-cube.c | 4 +-
> hw/m68k/next-kbd.c | 4 +-
> hw/microblaze/xlnx-zynqmp-pmu.c | 4 +-
> hw/mips/gt64xxx_pci.c | 4 +-
> hw/mips/malta.c | 4 +-
> hw/misc/applesmc.c | 4 +-
> hw/misc/arm_integrator_debug.c | 4 +-
> hw/misc/arm_l2x0.c | 4 +-
> hw/misc/arm_sysctl.c | 4 +-
> hw/misc/debugexit.c | 4 +-
> hw/misc/eccmemctl.c | 4 +-
> hw/misc/empty_slot.c | 4 +-
> hw/misc/exynos4210_clk.c | 4 +-
> hw/misc/exynos4210_pmu.c | 4 +-
> hw/misc/exynos4210_rng.c | 4 +-
> hw/misc/milkymist-hpdmc.c | 4 +-
> hw/misc/milkymist-pfpu.c | 4 +-
> hw/misc/mst_fpga.c | 4 +-
> hw/misc/pc-testdev.c | 4 +-
> hw/misc/pci-testdev.c | 4 +-
> hw/misc/puv3_pm.c | 4 +-
> hw/misc/sga.c | 4 +-
> hw/misc/slavio_misc.c | 4 +-
> hw/misc/tmp421.c | 5 +-
> hw/misc/zynq_slcr.c | 4 +-
> hw/net/dp8393x.c | 4 +-
> hw/net/e1000e.c | 4 +-
> hw/net/etraxfs_eth.c | 4 +-
> hw/net/lan9118.c | 4 +-
> hw/net/milkymist-minimac2.c | 4 +-
> hw/net/mipsnet.c | 4 +-
> hw/net/ne2000-isa.c | 4 +-
> hw/net/opencores_eth.c | 4 +-
> hw/net/pcnet-pci.c | 4 +-
> hw/net/rtl8139.c | 4 +-
> hw/net/smc91c111.c | 4 +-
> hw/net/spapr_llan.c | 4 +-
> hw/net/stellaris_enet.c | 4 +-
> hw/net/sungem.c | 4 +-
> hw/net/sunhme.c | 4 +-
> hw/net/xgmac.c | 4 +-
> hw/net/xilinx_axienet.c | 4 +-
> hw/nvram/ds1225y.c | 4 +-
> hw/nvram/spapr_nvram.c | 4 +-
> hw/pci-bridge/dec.c | 4 +-
> hw/pci-bridge/gen_pcie_root_port.c | 4 +-
> hw/pci-bridge/pci_bridge_dev.c | 4 +-
> hw/pci-bridge/pcie_pci_bridge.c | 4 +-
> hw/pci-host/bonito.c | 6 +-
> hw/pci-host/grackle.c | 4 +-
> hw/pci-host/i440fx.c | 4 +-
> hw/pci-host/ppce500.c | 8 +-
> hw/pci-host/prep.c | 4 +-
> hw/ppc/mpc8544_guts.c | 4 +-
> hw/ppc/ppc440_pcix.c | 4 +-
> hw/ppc/ppc440_uc.c | 4 +-
> hw/ppc/ppc4xx_pci.c | 4 +-
> hw/ppc/ppce500_spin.c | 4 +-
> hw/ppc/prep_systemio.c | 4 +-
> hw/ppc/rs6000_mc.c | 4 +-
> hw/ppc/spapr_rng.c | 4 +-
> hw/rtc/ds1338.c | 4 +-
> hw/rtc/exynos4210_rtc.c | 4 +-
> hw/rtc/m41t80.c | 4 +-
> hw/rtc/sun4v-rtc.c | 4 +-
> hw/rtc/twl92230.c | 4 +-
> hw/scsi/lsi53c895a.c | 4 +-
> hw/scsi/scsi-disk.c | 5 +-
> hw/scsi/spapr_vscsi.c | 4 +-
> hw/scsi/vmw_pvscsi.c | 5 +-
> hw/sd/milkymist-memcard.c | 4 +-
> hw/sd/pl181.c | 4 +-
> hw/sd/ssi-sd.c | 4 +-
> hw/sh4/sh_pci.c | 4 +-
> hw/sparc/sun4m.c | 8 +-
> hw/sparc64/sun4u.c | 8 +-
> hw/ssi/ssi.c | 3 +-
> hw/ssi/xilinx_spi.c | 4 +-
> hw/timer/altera_timer.c | 4 +-
> hw/timer/arm_timer.c | 8 +-
> hw/timer/cadence_ttc.c | 4 +-
> hw/timer/exynos4210_mct.c | 4 +-
> hw/timer/exynos4210_pwm.c | 4 +-
> hw/timer/grlib_gptimer.c | 4 +-
> hw/timer/hpet.c | 4 +-
> hw/timer/lm32_timer.c | 4 +-
> hw/timer/milkymist-sysctl.c | 4 +-
> hw/timer/puv3_ost.c | 4 +-
> hw/timer/pxa2xx_timer.c | 4 +-
> hw/timer/slavio_timer.c | 4 +-
> hw/tpm/tpm_tis_isa.c | 4 +-
> hw/tpm/tpm_tis_sysbus.c | 4 +-
> hw/usb/dev-audio.c | 4 +-
> hw/usb/dev-hid.c | 4 +-
> hw/usb/dev-hub.c | 4 +-
> hw/usb/dev-mtp.c | 3 +-
> hw/usb/dev-network.c | 4 +-
> hw/usb/dev-serial.c | 4 +-
> hw/usb/dev-smartcard-reader.c | 7 +-
> hw/usb/dev-uas.c | 3 +-
> hw/usb/dev-wacom.c | 4 +-
> hw/usb/hcd-ohci-pci.c | 4 +-
> hw/usb/host-libusb.c | 4 +-
> hw/usb/tusb6010.c | 4 +-
> hw/vfio/ap.c | 4 +-
> hw/virtio/virtio-input-pci.c | 8 +-
> hw/watchdog/wdt_i6300esb.c | 4 +-
> io/dns-resolver.c | 1 -
> io/net-listener.c | 1 -
> migration/rdma.c | 4 +-
> net/can/can_socketcan.c | 4 +-
> net/dump.c | 4 +-
> net/filter-buffer.c | 4 +-
> net/filter-replay.c | 4 +-
> net/filter-rewriter.c | 4 +-
> scsi/pr-manager-helper.c | 4 +-
> target/i386/sev.c | 4 +-
> ui/input-barrier.c | 5 +-
> ui/input-linux.c | 5 +-
> .../codeconverter/codeconverter/patching.py | 193 +++--
> .../codeconverter/codeconverter/qom_macros.py | 327 ++++++--
> .../codeconverter/qom_type_info.py | 741 +++++++++++++++---
> .../codeconverter/test_patching.py | 3 +-
> .../codeconverter/test_regexps.py | 26 +-
> scripts/codeconverter/converter.py | 12 +-
> 634 files changed, 1828 insertions(+), 2401 deletions(-)
>
> --
> 2.26.2
>
--
Eduardo
WARNING: multiple messages have this Message-ID (diff)
From: Eduardo Habkost <ehabkost@redhat.com>
To: qemu-devel@nongnu.org, paul@xen.org,
"Cédric Le Goater" <clg@kaod.org>,
"Cornelia Huck" <cohuck@redhat.com>,
"Igor Mammedov" <imammedo@redhat.com>,
"Thomas Huth" <thuth@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@redhat.com>
Cc: "Corey Minyard" <cminyard@mvista.com>,
"Jan Kiszka" <jan.kiszka@web.de>,
"KONRAD Frederic" <frederic.konrad@adacore.com>,
"Alberto Garcia" <berto@igalia.com>,
"Paul Burton" <paulburton@kernel.org>,
"Halil Pasic" <pasic@linux.ibm.com>,
"Hervé Poussineau" <hpoussin@reactos.org>,
"Anthony Perard" <anthony.perard@citrix.com>,
"Samuel Thibault" <samuel.thibault@ens-lyon.org>,
qemu-block@nongnu.org, "Anthony Green" <green@moxielogic.com>,
"Laurent Vivier" <lvivier@redhat.com>,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
"Beniamino Galvani" <b.galvani@gmail.com>,
"Eric Auger" <eric.auger@redhat.com>,
"Alex Williamson" <alex.williamson@redhat.com>,
"Peter Xu" <peterx@redhat.com>,
"Stefan Hajnoczi" <stefanha@redhat.com>,
"John Snow" <jsnow@redhat.com>,
"Richard Henderson" <rth@twiddle.net>,
"Kevin Wolf" <kwolf@redhat.com>,
"Andrew Jeffery" <andrew@aj.id.au>,
"Chris Wulff" <crwulff@gmail.com>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
"Subbaraya Sundeep" <sundeep.lkml@gmail.com>,
"Zhang Chen" <chen.zhang@intel.com>,
"Michael Walle" <michael@walle.cc>,
qemu-ppc@nongnu.org,
"Bastian Koppelmann" <kbastian@mail.uni-paderborn.de>,
"Fam Zheng" <fam@euphon.net>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Sarah Harris" <S.E.Harris@kent.ac.uk>,
"Anup Patel" <anup.patel@wdc.com>,
"Matthew Rosato" <mjrosato@linux.ibm.com>,
"David Hildenbrand" <david@redhat.com>,
"Max Filippov" <jcmvbkbc@gmail.com>,
"Huacai Chen" <chenhc@lemote.com>,
"Max Reitz" <mreitz@redhat.com>,
"Stefano Stabellini" <sstabellini@kernel.org>,
"Yoshinori Sato" <ysato@users.sourceforge.jp>,
"Andrey Smirnov" <andrew.smirnov@gmail.com>,
"Helge Deller" <deller@gmx.de>,
"Aleksandar Markovic" <aleksandar.qemu.devel@gmail.com>,
"Gonglei (Arei)" <arei.gonglei@huawei.com>,
"Artyom Tarasenko" <atar4qemu@gmail.com>,
"Eric Farman" <farman@linux.ibm.com>,
"Amit Shah" <amit@kernel.org>, "Greg Kurz" <groug@kaod.org>,
"Niek Linnenbank" <nieklinnenbank@gmail.com>,
qemu-arm@nongnu.org, "Michael Rolnik" <mrolnik@gmail.com>,
"Stafford Horne" <shorne@gmail.com>,
qemu-riscv@nongnu.org, "Ben Warren" <ben@skyportsystems.com>,
"Igor Mitsyanko" <i.mitsyanko@gmail.com>,
"Radoslaw Biernacki" <rad@semihalf.com>,
qemu-s390x@nongnu.org, "Peter Chubb" <peter.chubb@nicta.com.au>,
"Aurelien Jarno" <aurelien@aurel32.net>,
"Sagar Karandikar" <sagark@eecs.berkeley.edu>,
"Jason Wang" <jasowang@redhat.com>,
"Jiaxun Yang" <jiaxun.yang@flygoat.com>,
"Gerd Hoffmann" <kraxel@redhat.com>,
"Edgar E. Iglesias" <edgar.iglesias@gmail.com>,
"Guan Xuetao" <gxt@mprc.pku.edu.cn>,
"Rob Herring" <robh@kernel.org>,
kvm@vger.kernel.org, "Juan Quintela" <quintela@redhat.com>,
"Christian Borntraeger" <borntraeger@de.ibm.com>,
"Joel Stanley" <joel@jms.id.au>,
"Leif Lindholm" <leif@nuviainc.com>,
"Antony Pavlov" <antonynpavlov@gmail.com>,
"Aleksandar Rikalo" <aleksandar.rikalo@syrmia.com>,
"Sergio Lopez" <slp@redhat.com>,
"Mark Cave-Ayland" <mark.cave-ayland@ilande.co.uk>,
"Fabien Chouteau" <chouteau@adacore.com>,
xen-devel@lists.xenproject.org,
"Laszlo Ersek" <lersek@redhat.com>,
"Andrew Baumann" <Andrew.Baumann@microsoft.com>,
"Raphael Norwitz" <raphael.norwitz@nutanix.com>,
"Laurent Vivier" <laurent@vivier.eu>,
"Dmitry Fleytman" <dmitry.fleytman@gmail.com>,
"Li Zhijian" <lizhijian@cn.fujitsu.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
"Christian Schoenebeck" <qemu_oss@crudebyte.com>,
"Sven Schnelle" <svens@stackframe.org>,
"Marek Vasut" <marex@denx.de>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Alistair Francis" <alistair@alistair23.me>,
"Pavel Dovgalyuk" <pavel.dovgaluk@ispras.ru>,
"David Gibson" <david@gibson.dropbear.id.au>,
"Tony Krowiak" <akrowiak@linux.ibm.com>,
"Daniel P. Berrange" <berrange@redhat.com>,
"Xiao Guangrong" <xiaoguangrong.eric@gmail.com>,
"Pierre Morel" <pmorel@linux.ibm.com>,
"Thomas Huth" <huth@tuxfamily.org>,
"Jean-Christophe Dubois" <jcd@tribudubois.net>,
"Palmer Dabbelt" <palmer@dabbelt.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Stefan Berger" <stefanb@linux.ibm.com>
Subject: Re: [PATCH 0/5] qom: Convert more declarations to OBJECT_DECLARE*
Date: Fri, 18 Sep 2020 14:17:14 -0400 [thread overview]
Message-ID: <20200918181714.GD7594@habkost.net> (raw)
In-Reply-To: <20200916182519.415636-1-ehabkost@redhat.com>
On Wed, Sep 16, 2020 at 02:25:14PM -0400, Eduardo Habkost wrote:
> This converts many QOM types to use OBJECT_DECLARE* instead of
> manually using DECLARE*_CHECKER*.
>
> Before doing that, I'm simplifying the OBJECT_DECLARE* API to
> make it easier to use and more difficult to misuse. The
> module_obj_name and ParentClassType parameters were removed
> because they are not needed.
I'm queueing this on machine-next.
>
> Eduardo Habkost (5):
> scripts/codeconverter: Update to latest version
> qom: Remove ParentClassType argument from OBJECT_DECLARE_SIMPLE_TYPE
> qom: Remove module_obj_name parameter from OBJECT_DECLARE* macros
> [automated] Use OBJECT_DECLARE_TYPE when possible
> [automated] Use OBJECT_DECLARE_SIMPLE_TYPE when possible
>
> hw/9pfs/virtio-9p.h | 4 +-
> hw/audio/intel-hda.h | 6 +-
> hw/display/ati_int.h | 4 +-
> hw/display/qxl.h | 4 +-
> hw/display/virtio-vga.h | 2 +-
> hw/i386/amd_iommu.h | 4 +-
> hw/misc/tmp105.h | 4 +-
> hw/net/fsl_etsec/etsec.h | 3 +-
> hw/net/tulip.h | 4 +-
> hw/ppc/e500-ccsr.h | 4 +-
> hw/ppc/e500.h | 5 +-
> hw/ppc/mac.h | 4 +-
> hw/s390x/ccw-device.h | 4 +-
> hw/s390x/ipl.h | 4 +-
> hw/s390x/s390-pci-bus.h | 16 +-
> hw/s390x/virtio-ccw.h | 57 +-
> hw/usb/ccid.h | 5 +-
> hw/usb/hcd-dwc2.h | 3 +-
> hw/usb/hcd-ehci.h | 13 +-
> hw/usb/hcd-ohci.h | 4 +-
> hw/usb/hcd-xhci.h | 4 +-
> hw/vfio/pci.h | 4 +-
> hw/virtio/virtio-pci.h | 5 +-
> hw/xen/xen_pt.h | 4 +-
> include/authz/base.h | 2 +-
> include/authz/list.h | 4 +-
> include/authz/listfile.h | 4 +-
> include/authz/pamacct.h | 4 +-
> include/authz/simple.h | 4 +-
> include/block/throttle-groups.h | 4 +-
> include/chardev/char.h | 4 +-
> include/crypto/secret_common.h | 2 +-
> include/crypto/secret_keyring.h | 4 +-
> include/hw/acpi/generic_event_device.h | 4 +-
> include/hw/acpi/vmgenid.h | 4 +-
> include/hw/adc/stm32f2xx_adc.h | 4 +-
> include/hw/arm/allwinner-a10.h | 4 +-
> include/hw/arm/allwinner-h3.h | 4 +-
> include/hw/arm/armsse.h | 2 +-
> include/hw/arm/armv7m.h | 8 +-
> include/hw/arm/aspeed_soc.h | 5 +-
> include/hw/arm/bcm2835_peripherals.h | 4 +-
> include/hw/arm/bcm2836.h | 5 +-
> include/hw/arm/digic.h | 4 +-
> include/hw/arm/exynos4210.h | 4 +-
> include/hw/arm/fsl-imx25.h | 4 +-
> include/hw/arm/fsl-imx31.h | 4 +-
> include/hw/arm/fsl-imx6.h | 4 +-
> include/hw/arm/fsl-imx6ul.h | 4 +-
> include/hw/arm/fsl-imx7.h | 4 +-
> include/hw/arm/msf2-soc.h | 4 +-
> include/hw/arm/nrf51_soc.h | 4 +-
> include/hw/arm/omap.h | 4 +-
> include/hw/arm/pxa.h | 15 +-
> include/hw/arm/smmu-common.h | 5 +-
> include/hw/arm/smmuv3.h | 5 +-
> include/hw/arm/stm32f205_soc.h | 4 +-
> include/hw/arm/stm32f405_soc.h | 4 +-
> include/hw/arm/virt.h | 5 +-
> include/hw/arm/xlnx-versal.h | 4 +-
> include/hw/arm/xlnx-zynqmp.h | 4 +-
> include/hw/block/flash.h | 8 +-
> include/hw/block/swim.h | 12 +-
> include/hw/boards.h | 3 +-
> include/hw/char/avr_usart.h | 4 +-
> include/hw/char/bcm2835_aux.h | 4 +-
> include/hw/char/cadence_uart.h | 4 +-
> include/hw/char/cmsdk-apb-uart.h | 4 +-
> include/hw/char/digic-uart.h | 4 +-
> include/hw/char/escc.h | 4 +-
> include/hw/char/ibex_uart.h | 4 +-
> include/hw/char/imx_serial.h | 4 +-
> include/hw/char/nrf51_uart.h | 4 +-
> include/hw/char/pl011.h | 4 +-
> include/hw/char/serial.h | 11 +-
> include/hw/char/stm32f2xx_usart.h | 4 +-
> include/hw/clock.h | 4 +-
> include/hw/core/generic-loader.h | 4 +-
> include/hw/core/split-irq.h | 4 +-
> include/hw/cpu/a15mpcore.h | 4 +-
> include/hw/cpu/a9mpcore.h | 4 +-
> include/hw/cpu/arm11mpcore.h | 4 +-
> include/hw/cpu/cluster.h | 4 +-
> include/hw/cpu/core.h | 4 +-
> include/hw/display/bcm2835_fb.h | 4 +-
> include/hw/display/dpcd.h | 4 +-
> include/hw/display/i2c-ddc.h | 4 +-
> include/hw/display/macfb.h | 9 +-
> include/hw/display/xlnx_dp.h | 4 +-
> include/hw/dma/bcm2835_dma.h | 4 +-
> include/hw/dma/i8257.h | 4 +-
> include/hw/dma/pl080.h | 4 +-
> include/hw/dma/xlnx-zdma.h | 4 +-
> include/hw/dma/xlnx-zynq-devcfg.h | 4 +-
> include/hw/dma/xlnx_dpdma.h | 4 +-
> include/hw/gpio/aspeed_gpio.h | 5 +-
> include/hw/gpio/bcm2835_gpio.h | 4 +-
> include/hw/gpio/imx_gpio.h | 4 +-
> include/hw/gpio/nrf51_gpio.h | 4 +-
> include/hw/hyperv/vmbus-bridge.h | 4 +-
> include/hw/hyperv/vmbus.h | 6 +-
> include/hw/i2c/aspeed_i2c.h | 5 +-
> include/hw/i2c/i2c.h | 5 +-
> include/hw/i2c/imx_i2c.h | 4 +-
> include/hw/i2c/microbit_i2c.h | 4 +-
> include/hw/i2c/ppc4xx_i2c.h | 4 +-
> include/hw/i2c/smbus_slave.h | 2 +-
> include/hw/i386/ich9.h | 4 +-
> include/hw/i386/intel_iommu.h | 4 +-
> include/hw/i386/ioapic_internal.h | 5 +-
> include/hw/i386/microvm.h | 5 +-
> include/hw/i386/pc.h | 4 +-
> include/hw/i386/x86-iommu.h | 5 +-
> include/hw/i386/x86.h | 5 +-
> include/hw/ide/ahci.h | 12 +-
> include/hw/ide/internal.h | 8 +-
> include/hw/ide/pci.h | 4 +-
> include/hw/input/adb.h | 8 +-
> include/hw/input/i8042.h | 4 +-
> include/hw/intc/allwinner-a10-pic.h | 4 +-
> include/hw/intc/aspeed_vic.h | 4 +-
> include/hw/intc/bcm2835_ic.h | 4 +-
> include/hw/intc/bcm2836_control.h | 4 +-
> include/hw/intc/heathrow_pic.h | 4 +-
> include/hw/intc/ibex_plic.h | 4 +-
> include/hw/intc/imx_avic.h | 4 +-
> include/hw/intc/imx_gpcv2.h | 4 +-
> include/hw/intc/mips_gic.h | 4 +-
> include/hw/intc/realview_gic.h | 4 +-
> include/hw/intc/rx_icu.h | 4 +-
> include/hw/intc/xlnx-pmu-iomod-intc.h | 4 +-
> include/hw/intc/xlnx-zynqmp-ipi.h | 4 +-
> include/hw/ipack/ipack.h | 6 +-
> include/hw/ipmi/ipmi.h | 6 +-
> include/hw/isa/i8259_internal.h | 5 +-
> include/hw/isa/isa.h | 7 +-
> include/hw/isa/pc87312.h | 4 +-
> include/hw/m68k/mcf_fec.h | 4 +-
> include/hw/mem/nvdimm.h | 5 +-
> include/hw/mem/pc-dimm.h | 2 +-
> include/hw/mips/cps.h | 4 +-
> include/hw/misc/a9scu.h | 4 +-
> include/hw/misc/allwinner-cpucfg.h | 4 +-
> include/hw/misc/allwinner-h3-ccu.h | 4 +-
> include/hw/misc/allwinner-h3-dramc.h | 4 +-
> include/hw/misc/allwinner-h3-sysctrl.h | 4 +-
> include/hw/misc/allwinner-sid.h | 4 +-
> include/hw/misc/arm11scu.h | 4 +-
> include/hw/misc/armsse-cpuid.h | 4 +-
> include/hw/misc/armsse-mhu.h | 4 +-
> include/hw/misc/aspeed_scu.h | 5 +-
> include/hw/misc/aspeed_sdmc.h | 5 +-
> include/hw/misc/aspeed_xdma.h | 4 +-
> include/hw/misc/auxbus.h | 11 +-
> include/hw/misc/avr_power.h | 4 +-
> include/hw/misc/bcm2835_mbox.h | 4 +-
> include/hw/misc/bcm2835_mphi.h | 3 +-
> include/hw/misc/bcm2835_property.h | 4 +-
> include/hw/misc/bcm2835_rng.h | 4 +-
> include/hw/misc/bcm2835_thermal.h | 4 +-
> include/hw/misc/grlib_ahb_apb_pnp.h | 8 +-
> include/hw/misc/imx25_ccm.h | 4 +-
> include/hw/misc/imx31_ccm.h | 4 +-
> include/hw/misc/imx6_ccm.h | 4 +-
> include/hw/misc/imx6_src.h | 4 +-
> include/hw/misc/imx6ul_ccm.h | 4 +-
> include/hw/misc/imx7_ccm.h | 8 +-
> include/hw/misc/imx7_gpr.h | 4 +-
> include/hw/misc/imx7_snvs.h | 4 +-
> include/hw/misc/imx_ccm.h | 5 +-
> include/hw/misc/imx_rngc.h | 4 +-
> include/hw/misc/iotkit-secctl.h | 4 +-
> include/hw/misc/iotkit-sysctl.h | 4 +-
> include/hw/misc/iotkit-sysinfo.h | 4 +-
> include/hw/misc/mac_via.h | 12 +-
> include/hw/misc/macio/cuda.h | 8 +-
> include/hw/misc/macio/gpio.h | 4 +-
> include/hw/misc/macio/macio.h | 20 +-
> include/hw/misc/macio/pmu.h | 8 +-
> include/hw/misc/max111x.h | 4 +-
> include/hw/misc/mips_cmgcr.h | 4 +-
> include/hw/misc/mips_cpc.h | 4 +-
> include/hw/misc/mips_itu.h | 4 +-
> include/hw/misc/mos6522.h | 5 +-
> include/hw/misc/mps2-fpgaio.h | 4 +-
> include/hw/misc/mps2-scc.h | 4 +-
> include/hw/misc/msf2-sysreg.h | 4 +-
> include/hw/misc/nrf51_rng.h | 4 +-
> include/hw/misc/stm32f2xx_syscfg.h | 4 +-
> include/hw/misc/stm32f4xx_exti.h | 4 +-
> include/hw/misc/stm32f4xx_syscfg.h | 4 +-
> include/hw/misc/tz-mpc.h | 4 +-
> include/hw/misc/tz-msc.h | 4 +-
> include/hw/misc/tz-ppc.h | 4 +-
> include/hw/misc/unimp.h | 4 +-
> include/hw/misc/zynq-xadc.h | 4 +-
> include/hw/net/allwinner-sun8i-emac.h | 4 +-
> include/hw/net/allwinner_emac.h | 4 +-
> include/hw/net/cadence_gem.h | 4 +-
> include/hw/net/ftgmac100.h | 8 +-
> include/hw/net/imx_fec.h | 4 +-
> include/hw/net/msf2-emac.h | 4 +-
> include/hw/nubus/mac-nubus-bridge.h | 4 +-
> include/hw/nubus/nubus.h | 8 +-
> include/hw/nvram/fw_cfg.h | 9 +-
> include/hw/nvram/nrf51_nvm.h | 4 +-
> include/hw/pci-bridge/simba.h | 4 +-
> include/hw/pci-host/designware.h | 8 +-
> include/hw/pci-host/gpex.h | 8 +-
> include/hw/pci-host/i440fx.h | 4 +-
> include/hw/pci-host/pnv_phb3.h | 7 +-
> include/hw/pci-host/pnv_phb4.h | 11 +-
> include/hw/pci-host/q35.h | 8 +-
> include/hw/pci-host/sabre.h | 8 +-
> include/hw/pci-host/spapr.h | 4 +-
> include/hw/pci-host/uninorth.h | 4 +-
> include/hw/pci-host/xilinx-pcie.h | 8 +-
> include/hw/pci/pci.h | 4 +-
> include/hw/pci/pci_bridge.h | 3 +-
> include/hw/pci/pci_host.h | 4 +-
> include/hw/pci/pcie_host.h | 3 +-
> include/hw/pci/pcie_port.h | 6 +-
> include/hw/pcmcia.h | 5 +-
> include/hw/platform-bus.h | 4 +-
> include/hw/ppc/mac_dbdma.h | 3 +-
> include/hw/ppc/openpic.h | 4 +-
> include/hw/ppc/pnv.h | 2 +-
> include/hw/ppc/pnv_core.h | 6 +-
> include/hw/ppc/pnv_homer.h | 2 +-
> include/hw/ppc/pnv_occ.h | 2 +-
> include/hw/ppc/pnv_pnor.h | 4 +-
> include/hw/ppc/pnv_psi.h | 10 +-
> include/hw/ppc/pnv_xive.h | 2 +-
> include/hw/ppc/spapr.h | 13 +-
> include/hw/ppc/spapr_cpu_core.h | 2 +-
> include/hw/ppc/spapr_tpm_proxy.h | 4 +-
> include/hw/ppc/spapr_vio.h | 6 +-
> include/hw/ppc/xics.h | 2 +-
> include/hw/ppc/xive.h | 14 +-
> include/hw/qdev-core.h | 4 +-
> include/hw/riscv/opentitan.h | 4 +-
> include/hw/riscv/riscv_hart.h | 4 +-
> include/hw/rtc/allwinner-rtc.h | 5 +-
> include/hw/rtc/aspeed_rtc.h | 4 +-
> include/hw/rtc/goldfish_rtc.h | 4 +-
> include/hw/rtc/mc146818rtc.h | 4 +-
> include/hw/rtc/pl031.h | 4 +-
> include/hw/rtc/xlnx-zynqmp-rtc.h | 4 +-
> include/hw/s390x/3270-ccw.h | 5 +-
> include/hw/s390x/css-bridge.h | 8 +-
> include/hw/s390x/event-facility.h | 2 +-
> include/hw/s390x/s390-virtio-ccw.h | 5 +-
> include/hw/s390x/s390_flic.h | 6 +-
> include/hw/s390x/sclp.h | 2 +-
> include/hw/s390x/storage-attributes.h | 5 +-
> include/hw/s390x/storage-keys.h | 5 +-
> include/hw/s390x/tod.h | 5 +-
> include/hw/s390x/vfio-ccw.h | 4 +-
> include/hw/scsi/esp.h | 4 +-
> include/hw/scsi/scsi.h | 7 +-
> include/hw/sd/allwinner-sdhost.h | 5 +-
> include/hw/sd/aspeed_sdhci.h | 4 +-
> include/hw/sd/bcm2835_sdhost.h | 4 +-
> include/hw/sd/sd.h | 7 +-
> include/hw/sparc/sparc32_dma.h | 16 +-
> include/hw/ssi/aspeed_smc.h | 5 +-
> include/hw/ssi/imx_spi.h | 4 +-
> include/hw/ssi/mss-spi.h | 4 +-
> include/hw/ssi/pl022.h | 4 +-
> include/hw/ssi/ssi.h | 2 +-
> include/hw/ssi/stm32f2xx_spi.h | 4 +-
> include/hw/ssi/xilinx_spips.h | 11 +-
> include/hw/sysbus.h | 2 +-
> include/hw/timer/a9gtimer.h | 4 +-
> include/hw/timer/allwinner-a10-pit.h | 4 +-
> include/hw/timer/arm_mptimer.h | 4 +-
> include/hw/timer/armv7m_systick.h | 4 +-
> include/hw/timer/aspeed_timer.h | 5 +-
> include/hw/timer/avr_timer16.h | 4 +-
> include/hw/timer/bcm2835_systmr.h | 4 +-
> include/hw/timer/cmsdk-apb-dualtimer.h | 4 +-
> include/hw/timer/cmsdk-apb-timer.h | 4 +-
> include/hw/timer/digic-timer.h | 4 +-
> include/hw/timer/i8254.h | 5 +-
> include/hw/timer/imx_epit.h | 4 +-
> include/hw/timer/mss-timer.h | 4 +-
> include/hw/timer/nrf51_timer.h | 4 +-
> include/hw/usb.h | 8 +-
> include/hw/usb/chipidea.h | 4 +-
> include/hw/usb/imx-usb-phy.h | 4 +-
> include/hw/virtio/vhost-scsi-common.h | 4 +-
> include/hw/virtio/vhost-scsi.h | 4 +-
> include/hw/virtio/vhost-user-blk.h | 4 +-
> include/hw/virtio/vhost-user-fs.h | 4 +-
> include/hw/virtio/vhost-user-scsi.h | 4 +-
> include/hw/virtio/vhost-user-vsock.h | 4 +-
> include/hw/virtio/vhost-vsock-common.h | 4 +-
> include/hw/virtio/vhost-vsock.h | 4 +-
> include/hw/virtio/virtio-balloon.h | 4 +-
> include/hw/virtio/virtio-blk.h | 4 +-
> include/hw/virtio/virtio-crypto.h | 4 +-
> include/hw/virtio/virtio-gpu-pci.h | 4 +-
> include/hw/virtio/virtio-gpu.h | 10 +-
> include/hw/virtio/virtio-input.h | 14 +-
> include/hw/virtio/virtio-iommu.h | 4 +-
> include/hw/virtio/virtio-mem.h | 2 +-
> include/hw/virtio/virtio-mmio.h | 4 +-
> include/hw/virtio/virtio-net.h | 4 +-
> include/hw/virtio/virtio-pmem.h | 2 +-
> include/hw/virtio/virtio-rng.h | 4 +-
> include/hw/virtio/virtio-scsi.h | 8 +-
> include/hw/virtio/virtio-serial.h | 9 +-
> include/hw/virtio/virtio.h | 4 +-
> include/hw/watchdog/cmsdk-apb-watchdog.h | 4 +-
> include/hw/watchdog/wdt_aspeed.h | 5 +-
> include/hw/watchdog/wdt_imx2.h | 4 +-
> include/hw/xen/xen-block.h | 12 +-
> include/hw/xen/xen-bus.h | 6 +-
> include/io/channel-buffer.h | 4 +-
> include/io/channel-command.h | 4 +-
> include/io/channel-file.h | 4 +-
> include/io/channel-socket.h | 4 +-
> include/io/channel-tls.h | 4 +-
> include/io/channel-websock.h | 4 +-
> include/io/channel.h | 2 +-
> include/io/dns-resolver.h | 4 +-
> include/io/net-listener.h | 4 +-
> include/net/can_emu.h | 3 +-
> include/net/can_host.h | 5 +-
> include/net/filter.h | 4 +-
> include/qom/object.h | 20 +-
> include/scsi/pr-manager.h | 2 +-
> include/sysemu/cryptodev.h | 2 +-
> include/sysemu/hostmem.h | 2 +-
> include/sysemu/rng-random.h | 4 +-
> include/sysemu/rng.h | 2 +-
> include/sysemu/tpm_backend.h | 2 +-
> include/sysemu/vhost-user-backend.h | 4 +-
> include/ui/console.h | 4 +-
> target/alpha/cpu-qom.h | 2 +-
> target/arm/cpu-qom.h | 2 +-
> target/avr/cpu-qom.h | 2 +-
> target/cris/cpu-qom.h | 2 +-
> target/hppa/cpu-qom.h | 2 +-
> target/i386/cpu-qom.h | 2 +-
> target/lm32/cpu-qom.h | 2 +-
> target/m68k/cpu-qom.h | 2 +-
> target/microblaze/cpu-qom.h | 2 +-
> target/mips/cpu-qom.h | 2 +-
> target/moxie/cpu.h | 2 +-
> target/nios2/cpu.h | 2 +-
> target/openrisc/cpu.h | 2 +-
> target/ppc/cpu-qom.h | 2 +-
> target/riscv/cpu.h | 2 +-
> target/rx/cpu-qom.h | 2 +-
> target/s390x/cpu-qom.h | 2 +-
> target/sh4/cpu-qom.h | 2 +-
> target/sparc/cpu-qom.h | 2 +-
> target/tilegx/cpu.h | 2 +-
> target/tricore/cpu-qom.h | 2 +-
> target/unicore32/cpu-qom.h | 2 +-
> target/xtensa/cpu-qom.h | 2 +-
> authz/list.c | 1 -
> authz/listfile.c | 1 -
> authz/pamacct.c | 1 -
> authz/simple.c | 1 -
> backends/cryptodev-builtin.c | 5 +-
> backends/cryptodev-vhost-user.c | 4 +-
> backends/dbus-vmstate.c | 5 +-
> backends/hostmem-file.c | 4 +-
> backends/hostmem-memfd.c | 4 +-
> backends/rng-builtin.c | 4 +-
> backends/rng-egd.c | 4 +-
> backends/tpm/tpm_emulator.c | 4 +-
> backends/tpm/tpm_passthrough.c | 4 +-
> backends/vhost-user.c | 1 -
> crypto/secret_keyring.c | 1 -
> hw/acpi/piix4.c | 4 +-
> hw/alpha/typhoon.c | 4 +-
> hw/arm/collie.c | 4 +-
> hw/arm/highbank.c | 4 +-
> hw/arm/integratorcp.c | 12 +-
> hw/arm/microbit.c | 4 +-
> hw/arm/mps2-tz.c | 5 +-
> hw/arm/mps2.c | 5 +-
> hw/arm/musca.c | 5 +-
> hw/arm/musicpal.c | 32 +-
> hw/arm/palm.c | 4 +-
> hw/arm/pxa2xx.c | 12 +-
> hw/arm/pxa2xx_gpio.c | 4 +-
> hw/arm/pxa2xx_pic.c | 4 +-
> hw/arm/sbsa-ref.c | 4 +-
> hw/arm/spitz.c | 25 +-
> hw/arm/stellaris.c | 8 +-
> hw/arm/strongarm.c | 24 +-
> hw/arm/tosa.c | 8 +-
> hw/arm/versatilepb.c | 4 +-
> hw/arm/vexpress.c | 5 +-
> hw/arm/xilinx_zynq.c | 4 +-
> hw/arm/xlnx-versal-virt.c | 4 +-
> hw/arm/xlnx-zcu102.c | 4 +-
> hw/arm/z2.c | 8 +-
> hw/audio/ac97.c | 4 +-
> hw/audio/adlib.c | 4 +-
> hw/audio/es1370.c | 3 +-
> hw/audio/gus.c | 4 +-
> hw/audio/hda-codec.c | 3 +-
> hw/audio/marvell_88w8618.c | 4 +-
> hw/audio/milkymist-ac97.c | 4 +-
> hw/audio/pcspk.c | 4 +-
> hw/audio/pl041.c | 4 +-
> hw/audio/sb16.c | 4 +-
> hw/audio/wm8750.c | 4 +-
> hw/block/fdc.c | 16 +-
> hw/block/m25p80.c | 5 +-
> hw/block/nand.c | 3 +-
> hw/block/onenand.c | 4 +-
> hw/char/debugcon.c | 4 +-
> hw/char/exynos4210_uart.c | 4 +-
> hw/char/grlib_apbuart.c | 4 +-
> hw/char/ipoctal232.c | 3 +-
> hw/char/lm32_juart.c | 4 +-
> hw/char/lm32_uart.c | 4 +-
> hw/char/mcf_uart.c | 4 +-
> hw/char/milkymist-uart.c | 4 +-
> hw/char/parallel.c | 4 +-
> hw/char/serial-isa.c | 4 +-
> hw/char/serial-pci.c | 4 +-
> hw/char/spapr_vty.c | 4 +-
> hw/char/xilinx_uartlite.c | 4 +-
> hw/cpu/realview_mpcore.c | 4 +-
> hw/display/ads7846.c | 4 +-
> hw/display/artist.c | 4 +-
> hw/display/bochs-display.c | 4 +-
> hw/display/cg3.c | 4 +-
> hw/display/cirrus_vga.c | 4 +-
> hw/display/cirrus_vga_isa.c | 4 +-
> hw/display/exynos4210_fimd.c | 4 +-
> hw/display/g364fb.c | 4 +-
> hw/display/jazz_led.c | 4 +-
> hw/display/milkymist-tmu2.c | 4 +-
> hw/display/milkymist-vgafb.c | 4 +-
> hw/display/next-fb.c | 4 +-
> hw/display/pl110.c | 4 +-
> hw/display/sii9022.c | 4 +-
> hw/display/sm501.c | 8 +-
> hw/display/ssd0303.c | 4 +-
> hw/display/ssd0323.c | 4 +-
> hw/display/tcx.c | 4 +-
> hw/display/vga-isa.c | 4 +-
> hw/display/vga-pci.c | 4 +-
> hw/dma/i82374.c | 4 +-
> hw/dma/pl330.c | 3 +-
> hw/dma/puv3_dma.c | 4 +-
> hw/dma/pxa2xx_dma.c | 4 +-
> hw/dma/rc4030.c | 4 +-
> hw/dma/xilinx_axidma.c | 4 +-
> hw/gpio/gpio_key.c | 4 +-
> hw/gpio/max7310.c | 4 +-
> hw/gpio/mpc8xxx.c | 4 +-
> hw/gpio/pl061.c | 4 +-
> hw/gpio/puv3_gpio.c | 4 +-
> hw/gpio/zaurus.c | 4 +-
> hw/hppa/dino.c | 4 +-
> hw/hppa/lasi.c | 4 +-
> hw/hyperv/hyperv.c | 4 +-
> hw/hyperv/hyperv_testdev.c | 4 +-
> hw/i2c/bitbang_i2c.c | 4 +-
> hw/i2c/exynos4210_i2c.c | 4 +-
> hw/i2c/mpc_i2c.c | 4 +-
> hw/i2c/smbus_eeprom.c | 4 +-
> hw/i2c/smbus_ich9.c | 4 +-
> hw/i386/kvm/clock.c | 4 +-
> hw/i386/kvmvapic.c | 4 +-
> hw/i386/port92.c | 4 +-
> hw/i386/vmmouse.c | 4 +-
> hw/i386/vmport.c | 4 +-
> hw/i386/xen/xen_platform.c | 4 +-
> hw/i386/xen/xen_pvdevice.c | 4 +-
> hw/ide/isa.c | 4 +-
> hw/ide/microdrive.c | 4 +-
> hw/ide/sii3112.c | 4 +-
> hw/input/adb-kbd.c | 5 +-
> hw/input/adb-mouse.c | 5 +-
> hw/input/lm832x.c | 4 +-
> hw/input/milkymist-softusb.c | 4 +-
> hw/input/pl050.c | 4 +-
> hw/intc/arm_gicv2m.c | 4 +-
> hw/intc/exynos4210_combiner.c | 4 +-
> hw/intc/exynos4210_gic.c | 8 +-
> hw/intc/grlib_irqmp.c | 4 +-
> hw/intc/lm32_pic.c | 4 +-
> hw/intc/nios2_iic.c | 4 +-
> hw/intc/ompic.c | 4 +-
> hw/intc/openpic_kvm.c | 4 +-
> hw/intc/pl190.c | 4 +-
> hw/intc/puv3_intc.c | 4 +-
> hw/intc/slavio_intctl.c | 4 +-
> hw/ipack/tpci200.c | 4 +-
> hw/ipmi/ipmi_bmc_extern.c | 4 +-
> hw/ipmi/isa_ipmi_bt.c | 4 +-
> hw/ipmi/isa_ipmi_kcs.c | 4 +-
> hw/ipmi/pci_ipmi_bt.c | 4 +-
> hw/ipmi/pci_ipmi_kcs.c | 4 +-
> hw/ipmi/smbus_ipmi.c | 4 +-
> hw/isa/i82378.c | 4 +-
> hw/isa/piix4.c | 4 +-
> hw/isa/vt82c686.c | 16 +-
> hw/m68k/mcf_intc.c | 4 +-
> hw/m68k/next-cube.c | 4 +-
> hw/m68k/next-kbd.c | 4 +-
> hw/microblaze/xlnx-zynqmp-pmu.c | 4 +-
> hw/mips/gt64xxx_pci.c | 4 +-
> hw/mips/malta.c | 4 +-
> hw/misc/applesmc.c | 4 +-
> hw/misc/arm_integrator_debug.c | 4 +-
> hw/misc/arm_l2x0.c | 4 +-
> hw/misc/arm_sysctl.c | 4 +-
> hw/misc/debugexit.c | 4 +-
> hw/misc/eccmemctl.c | 4 +-
> hw/misc/empty_slot.c | 4 +-
> hw/misc/exynos4210_clk.c | 4 +-
> hw/misc/exynos4210_pmu.c | 4 +-
> hw/misc/exynos4210_rng.c | 4 +-
> hw/misc/milkymist-hpdmc.c | 4 +-
> hw/misc/milkymist-pfpu.c | 4 +-
> hw/misc/mst_fpga.c | 4 +-
> hw/misc/pc-testdev.c | 4 +-
> hw/misc/pci-testdev.c | 4 +-
> hw/misc/puv3_pm.c | 4 +-
> hw/misc/sga.c | 4 +-
> hw/misc/slavio_misc.c | 4 +-
> hw/misc/tmp421.c | 5 +-
> hw/misc/zynq_slcr.c | 4 +-
> hw/net/dp8393x.c | 4 +-
> hw/net/e1000e.c | 4 +-
> hw/net/etraxfs_eth.c | 4 +-
> hw/net/lan9118.c | 4 +-
> hw/net/milkymist-minimac2.c | 4 +-
> hw/net/mipsnet.c | 4 +-
> hw/net/ne2000-isa.c | 4 +-
> hw/net/opencores_eth.c | 4 +-
> hw/net/pcnet-pci.c | 4 +-
> hw/net/rtl8139.c | 4 +-
> hw/net/smc91c111.c | 4 +-
> hw/net/spapr_llan.c | 4 +-
> hw/net/stellaris_enet.c | 4 +-
> hw/net/sungem.c | 4 +-
> hw/net/sunhme.c | 4 +-
> hw/net/xgmac.c | 4 +-
> hw/net/xilinx_axienet.c | 4 +-
> hw/nvram/ds1225y.c | 4 +-
> hw/nvram/spapr_nvram.c | 4 +-
> hw/pci-bridge/dec.c | 4 +-
> hw/pci-bridge/gen_pcie_root_port.c | 4 +-
> hw/pci-bridge/pci_bridge_dev.c | 4 +-
> hw/pci-bridge/pcie_pci_bridge.c | 4 +-
> hw/pci-host/bonito.c | 6 +-
> hw/pci-host/grackle.c | 4 +-
> hw/pci-host/i440fx.c | 4 +-
> hw/pci-host/ppce500.c | 8 +-
> hw/pci-host/prep.c | 4 +-
> hw/ppc/mpc8544_guts.c | 4 +-
> hw/ppc/ppc440_pcix.c | 4 +-
> hw/ppc/ppc440_uc.c | 4 +-
> hw/ppc/ppc4xx_pci.c | 4 +-
> hw/ppc/ppce500_spin.c | 4 +-
> hw/ppc/prep_systemio.c | 4 +-
> hw/ppc/rs6000_mc.c | 4 +-
> hw/ppc/spapr_rng.c | 4 +-
> hw/rtc/ds1338.c | 4 +-
> hw/rtc/exynos4210_rtc.c | 4 +-
> hw/rtc/m41t80.c | 4 +-
> hw/rtc/sun4v-rtc.c | 4 +-
> hw/rtc/twl92230.c | 4 +-
> hw/scsi/lsi53c895a.c | 4 +-
> hw/scsi/scsi-disk.c | 5 +-
> hw/scsi/spapr_vscsi.c | 4 +-
> hw/scsi/vmw_pvscsi.c | 5 +-
> hw/sd/milkymist-memcard.c | 4 +-
> hw/sd/pl181.c | 4 +-
> hw/sd/ssi-sd.c | 4 +-
> hw/sh4/sh_pci.c | 4 +-
> hw/sparc/sun4m.c | 8 +-
> hw/sparc64/sun4u.c | 8 +-
> hw/ssi/ssi.c | 3 +-
> hw/ssi/xilinx_spi.c | 4 +-
> hw/timer/altera_timer.c | 4 +-
> hw/timer/arm_timer.c | 8 +-
> hw/timer/cadence_ttc.c | 4 +-
> hw/timer/exynos4210_mct.c | 4 +-
> hw/timer/exynos4210_pwm.c | 4 +-
> hw/timer/grlib_gptimer.c | 4 +-
> hw/timer/hpet.c | 4 +-
> hw/timer/lm32_timer.c | 4 +-
> hw/timer/milkymist-sysctl.c | 4 +-
> hw/timer/puv3_ost.c | 4 +-
> hw/timer/pxa2xx_timer.c | 4 +-
> hw/timer/slavio_timer.c | 4 +-
> hw/tpm/tpm_tis_isa.c | 4 +-
> hw/tpm/tpm_tis_sysbus.c | 4 +-
> hw/usb/dev-audio.c | 4 +-
> hw/usb/dev-hid.c | 4 +-
> hw/usb/dev-hub.c | 4 +-
> hw/usb/dev-mtp.c | 3 +-
> hw/usb/dev-network.c | 4 +-
> hw/usb/dev-serial.c | 4 +-
> hw/usb/dev-smartcard-reader.c | 7 +-
> hw/usb/dev-uas.c | 3 +-
> hw/usb/dev-wacom.c | 4 +-
> hw/usb/hcd-ohci-pci.c | 4 +-
> hw/usb/host-libusb.c | 4 +-
> hw/usb/tusb6010.c | 4 +-
> hw/vfio/ap.c | 4 +-
> hw/virtio/virtio-input-pci.c | 8 +-
> hw/watchdog/wdt_i6300esb.c | 4 +-
> io/dns-resolver.c | 1 -
> io/net-listener.c | 1 -
> migration/rdma.c | 4 +-
> net/can/can_socketcan.c | 4 +-
> net/dump.c | 4 +-
> net/filter-buffer.c | 4 +-
> net/filter-replay.c | 4 +-
> net/filter-rewriter.c | 4 +-
> scsi/pr-manager-helper.c | 4 +-
> target/i386/sev.c | 4 +-
> ui/input-barrier.c | 5 +-
> ui/input-linux.c | 5 +-
> .../codeconverter/codeconverter/patching.py | 193 +++--
> .../codeconverter/codeconverter/qom_macros.py | 327 ++++++--
> .../codeconverter/qom_type_info.py | 741 +++++++++++++++---
> .../codeconverter/test_patching.py | 3 +-
> .../codeconverter/test_regexps.py | 26 +-
> scripts/codeconverter/converter.py | 12 +-
> 634 files changed, 1828 insertions(+), 2401 deletions(-)
>
> --
> 2.26.2
>
--
Eduardo
next prev parent reply other threads:[~2020-09-18 18:18 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-16 18:25 [PATCH 0/5] qom: Convert more declarations to OBJECT_DECLARE* Eduardo Habkost
2020-09-16 18:25 ` [PATCH 1/5] scripts/codeconverter: Update to latest version Eduardo Habkost
2020-09-16 18:25 ` [PATCH 2/5] qom: Remove ParentClassType argument from OBJECT_DECLARE_SIMPLE_TYPE Eduardo Habkost
2020-09-17 7:47 ` Philippe Mathieu-Daudé
2020-09-16 18:25 ` [PATCH 3/5] qom: Remove module_obj_name parameter from OBJECT_DECLARE* macros Eduardo Habkost
2020-09-16 18:25 ` Eduardo Habkost
2020-09-17 6:53 ` Thomas Huth
2020-09-17 6:53 ` Thomas Huth
2020-09-17 6:53 ` Thomas Huth
2020-09-17 7:11 ` Igor Mammedov
2020-09-17 7:11 ` Igor Mammedov
2020-09-17 7:11 ` Igor Mammedov
2020-09-17 7:42 ` Cédric Le Goater
2020-09-17 7:42 ` Cédric Le Goater
2020-09-17 7:42 ` Cédric Le Goater
2020-09-17 7:46 ` Cornelia Huck
2020-09-17 7:46 ` Cornelia Huck
2020-09-17 7:46 ` Cornelia Huck
2020-09-17 7:57 ` Paul Durrant
2020-09-17 7:57 ` Paul Durrant
2020-09-17 7:57 ` Paul Durrant
2020-09-16 18:25 ` [PATCH 4/5] [automated] Use OBJECT_DECLARE_TYPE when possible Eduardo Habkost
2020-09-16 18:25 ` Eduardo Habkost
2020-09-17 7:47 ` Cédric Le Goater
2020-09-17 7:47 ` Cédric Le Goater
2020-09-17 7:47 ` Cédric Le Goater
2020-09-17 7:57 ` Paul Durrant
2020-09-17 7:57 ` Paul Durrant
2020-09-17 7:57 ` Paul Durrant
2020-09-16 18:25 ` [PATCH 5/5] [automated] Use OBJECT_DECLARE_SIMPLE_TYPE " Eduardo Habkost
2020-09-16 18:25 ` Eduardo Habkost
2020-09-16 18:25 ` Eduardo Habkost
2020-09-17 7:57 ` Paul Durrant
2020-09-17 7:57 ` Paul Durrant
2020-09-18 18:17 ` Eduardo Habkost [this message]
2020-09-18 18:17 ` [PATCH 0/5] qom: Convert more declarations to OBJECT_DECLARE* Eduardo Habkost
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200918181714.GD7594@habkost.net \
--to=ehabkost@redhat.com \
--cc=Andrew.Baumann@microsoft.com \
--cc=S.E.Harris@kent.ac.uk \
--cc=akrowiak@linux.ibm.com \
--cc=aleksandar.qemu.devel@gmail.com \
--cc=aleksandar.rikalo@syrmia.com \
--cc=alex.williamson@redhat.com \
--cc=alistair@alistair23.me \
--cc=amit@kernel.org \
--cc=andrew.smirnov@gmail.com \
--cc=andrew@aj.id.au \
--cc=anthony.perard@citrix.com \
--cc=antonynpavlov@gmail.com \
--cc=anup.patel@wdc.com \
--cc=arei.gonglei@huawei.com \
--cc=atar4qemu@gmail.com \
--cc=aurelien@aurel32.net \
--cc=b.galvani@gmail.com \
--cc=balaton@eik.bme.hu \
--cc=balrogg@gmail.com \
--cc=ben@skyportsystems.com \
--cc=berrange@redhat.com \
--cc=berto@igalia.com \
--cc=borntraeger@de.ibm.com \
--cc=chen.zhang@intel.com \
--cc=chenhc@lemote.com \
--cc=chouteau@adacore.com \
--cc=clg@kaod.org \
--cc=cminyard@mvista.com \
--cc=cohuck@redhat.com \
--cc=crwulff@gmail.com \
--cc=david@gibson.dropbear.id.au \
--cc=david@redhat.com \
--cc=deller@gmx.de \
--cc=dgilbert@redhat.com \
--cc=dmitry.fleytman@gmail.com \
--cc=edgar.iglesias@gmail.com \
--cc=eric.auger@redhat.com \
--cc=f4bug@amsat.org \
--cc=fam@euphon.net \
--cc=farman@linux.ibm.com \
--cc=frederic.konrad@adacore.com \
--cc=green@moxielogic.com \
--cc=groug@kaod.org \
--cc=gxt@mprc.pku.edu.cn \
--cc=hpoussin@reactos.org \
--cc=huth@tuxfamily.org \
--cc=i.mitsyanko@gmail.com \
--cc=imammedo@redhat.com \
--cc=jan.kiszka@web.de \
--cc=jasowang@redhat.com \
--cc=jcd@tribudubois.net \
--cc=jcmvbkbc@gmail.com \
--cc=jiaxun.yang@flygoat.com \
--cc=joel@jms.id.au \
--cc=jsnow@redhat.com \
--cc=kbastian@mail.uni-paderborn.de \
--cc=kraxel@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=kwolf@redhat.com \
--cc=laurent@vivier.eu \
--cc=leif@nuviainc.com \
--cc=lersek@redhat.com \
--cc=lizhijian@cn.fujitsu.com \
--cc=lvivier@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=marcel.apfelbaum@gmail.com \
--cc=marex@denx.de \
--cc=mark.cave-ayland@ilande.co.uk \
--cc=michael@walle.cc \
--cc=mjrosato@linux.ibm.com \
--cc=mreitz@redhat.com \
--cc=mrolnik@gmail.com \
--cc=mst@redhat.com \
--cc=nieklinnenbank@gmail.com \
--cc=palmer@dabbelt.com \
--cc=pasic@linux.ibm.com \
--cc=paul@xen.org \
--cc=paulburton@kernel.org \
--cc=pavel.dovgaluk@ispras.ru \
--cc=pbonzini@redhat.com \
--cc=peter.chubb@nicta.com.au \
--cc=peter.maydell@linaro.org \
--cc=peterx@redhat.com \
--cc=philmd@redhat.com \
--cc=pmorel@linux.ibm.com \
--cc=qemu-arm@nongnu.org \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=qemu-riscv@nongnu.org \
--cc=qemu-s390x@nongnu.org \
--cc=qemu_oss@crudebyte.com \
--cc=quintela@redhat.com \
--cc=rad@semihalf.com \
--cc=raphael.norwitz@nutanix.com \
--cc=robh@kernel.org \
--cc=rth@twiddle.net \
--cc=sagark@eecs.berkeley.edu \
--cc=samuel.thibault@ens-lyon.org \
--cc=shorne@gmail.com \
--cc=slp@redhat.com \
--cc=sstabellini@kernel.org \
--cc=stefanb@linux.ibm.com \
--cc=stefanha@redhat.com \
--cc=sundeep.lkml@gmail.com \
--cc=svens@stackframe.org \
--cc=thuth@redhat.com \
--cc=xen-devel@lists.xenproject.org \
--cc=xiaoguangrong.eric@gmail.com \
--cc=ysato@users.sourceforge.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.