[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 00/17] qom: Spring cleaning
From: |
Markus Armbruster |
Subject: |
[PATCH 00/17] qom: Spring cleaning |
Date: |
Tue, 28 Apr 2020 18:34:02 +0200 |
Includes one actual bug fix for s390x.
Markus Armbruster (17):
qom: Clearer reference counting in object_initialize_childv()
qom: Clean up inconsistent use of gchar * vs. char *
qom: Drop object_property_del_child()'s unused parameter @errp
qom: Change object_property_get_uint16List() to match its doc
qom: Make all the object_property_add_FOO() return the property
qom: Drop object_property_set_description() parameter @errp
tests/check-qom-proplist: Improve iterator coverage
s390x/cpumodel: Fix UI to CPU features pcc-cmac-{aes,eaes}-256
hw/isa/superio: Make the components QOM children
e1000: Don't run e1000_instance_init() twice
hw/arm/bcm2835: Drop futile attempts at QOM-adopting memory
qdev: Clean up qdev_connect_gpio_out_named()
qom: Drop parameter @errp of object_property_add() & friends
Drop more @errp parameters after previous commit
qdev: Unrealize must not fail
spapr_pci: Drop some dead error handling
qom: Drop @errp parameter of object_property_del()
hw/9pfs/9p.h | 2 +-
hw/s390x/virtio-ccw.h | 2 +-
hw/sd/sdhci-internal.h | 2 +-
hw/usb/ccid.h | 2 +-
hw/usb/hcd-ehci.h | 2 +-
include/hw/acpi/ich9.h | 2 +-
include/hw/ppc/spapr.h | 2 +-
include/hw/qdev-core.h | 6 +-
include/hw/s390x/s390-ccw.h | 2 +-
include/hw/scsi/scsi.h | 2 +-
include/hw/usb.h | 2 +-
include/hw/xen/xen-block.h | 2 +-
include/hw/xen/xen-bus.h | 2 +-
include/qom/object.h | 153 ++++-----
include/sysemu/sysemu.h | 2 +-
monitor/monitor-internal.h | 2 +-
target/ppc/cpu.h | 3 +-
target/s390x/cpu_features_def.inc.h | 2 +-
accel/kvm/kvm-all.c | 8 +-
accel/tcg/tcg-all.c | 7 +-
authz/list.c | 5 +-
authz/listfile.c | 6 +-
authz/pamacct.c | 3 +-
authz/simple.c | 3 +-
backends/cryptodev-vhost-user.c | 3 +-
backends/cryptodev.c | 2 +-
backends/dbus-vmstate.c | 6 +-
backends/hostmem-file.c | 11 +-
backends/hostmem-memfd.c | 17 +-
backends/hostmem.c | 35 +-
backends/rng-egd.c | 3 +-
backends/rng-random.c | 3 +-
backends/rng.c | 3 +-
backends/vhost-user.c | 2 +-
block/throttle-groups.c | 6 +-
bootdevice.c | 10 +-
chardev/char-socket.c | 4 +-
chardev/char.c | 7 +-
crypto/secret.c | 18 +-
crypto/tlscreds.c | 12 +-
crypto/tlscredsanon.c | 3 +-
crypto/tlscredspsk.c | 6 +-
crypto/tlscredsx509.c | 9 +-
hw/9pfs/9p.c | 4 +-
hw/9pfs/virtio-9p-device.c | 4 +-
hw/acpi/ich9.c | 25 +-
hw/acpi/pcihp.c | 9 +-
hw/acpi/piix4.c | 15 +-
hw/arm/allwinner-a10.c | 2 +-
hw/arm/allwinner-h3.c | 12 +-
hw/arm/armv7m.c | 2 +-
hw/arm/aspeed.c | 4 +-
hw/arm/aspeed_ast2600.c | 13 +-
hw/arm/aspeed_soc.c | 13 +-
hw/arm/bcm2835_peripherals.c | 28 +-
hw/arm/bcm2836.c | 16 +-
hw/arm/cubieboard.c | 3 +-
hw/arm/mcimx6ul-evk.c | 2 +-
hw/arm/mcimx7d-sabre.c | 2 +-
hw/arm/msf2-soc.c | 3 +-
hw/arm/nrf51_soc.c | 3 +-
hw/arm/orangepi.c | 3 +-
hw/arm/raspi.c | 3 +-
hw/arm/sabrelite.c | 2 +-
hw/arm/sbsa-ref.c | 5 +-
hw/arm/vexpress.c | 10 +-
hw/arm/virt.c | 39 +--
hw/arm/xlnx-versal-virt.c | 3 +-
hw/arm/xlnx-versal.c | 10 +-
hw/arm/xlnx-zcu102.c | 10 +-
hw/arm/xlnx-zynqmp.c | 9 +-
hw/audio/intel-hda.c | 2 +-
hw/audio/marvell_88w8618.c | 2 +-
hw/audio/pcspk.c | 2 +-
hw/block/fdc.c | 4 +-
hw/block/nvme.c | 2 +-
hw/block/pflash_cfi02.c | 2 +-
hw/block/vhost-user-blk.c | 4 +-
hw/block/virtio-blk.c | 4 +-
hw/block/xen-block.c | 8 +-
hw/char/serial-pci-multi.c | 2 +-
hw/char/serial-pci.c | 2 +-
hw/char/serial.c | 2 +-
hw/char/virtio-console.c | 2 +-
hw/char/virtio-serial-bus.c | 8 +-
hw/core/bus.c | 24 +-
hw/core/cpu.c | 2 +-
hw/core/generic-loader.c | 2 +-
hw/core/machine-qmp-cmds.c | 6 +-
hw/core/machine.c | 87 +++--
hw/core/qdev-properties.c | 11 +-
hw/core/qdev.c | 74 ++---
hw/cpu/core.c | 4 +-
hw/display/bochs-display.c | 3 +-
hw/display/sm501.c | 2 +-
hw/display/vga-pci.c | 4 +-
hw/display/vhost-user-gpu-pci.c | 3 +-
hw/display/vhost-user-gpu.c | 2 +-
hw/display/vhost-user-vga.c | 3 +-
hw/display/virtio-gpu-base.c | 2 +-
hw/display/xlnx_dp.c | 7 +-
hw/dma/rc4030.c | 2 +-
hw/dma/sparc32_dma.c | 10 +-
hw/dma/xilinx_axidma.c | 9 +-
hw/dma/xlnx-zdma.c | 7 +-
hw/gpio/aspeed_gpio.c | 2 +-
hw/hyperv/hyperv.c | 2 +-
hw/i386/kvm/apic.c | 2 +-
hw/i386/microvm.c | 29 +-
hw/i386/pc.c | 18 +-
hw/i386/pc_piix.c | 2 +-
hw/i386/pc_q35.c | 4 +-
hw/i386/pc_sysfw.c | 7 +-
hw/i386/x86.c | 14 +-
hw/ide/macio.c | 2 +-
hw/ide/qdev.c | 6 +-
hw/input/vhost-user-input.c | 2 +-
hw/input/virtio-input-hid.c | 2 +-
hw/input/virtio-input-host.c | 2 +-
hw/input/virtio-input.c | 9 +-
hw/intc/apic.c | 2 +-
hw/intc/apic_common.c | 6 +-
hw/intc/ioapic.c | 2 +-
hw/intc/s390_flic.c | 4 +-
hw/intc/xics.c | 4 +-
hw/intc/xive.c | 2 +-
hw/ipack/ipack.c | 6 +-
hw/ipmi/ipmi.c | 3 +-
hw/isa/isa-superio.c | 13 +-
hw/isa/lpc_ich9.c | 8 +-
hw/mem/nvdimm.c | 4 +-
hw/mem/pc-dimm.c | 4 +-
hw/microblaze/petalogix_ml605_mmu.c | 6 +-
hw/misc/aspeed_sdmc.c | 2 +-
hw/misc/edu.c | 3 +-
hw/misc/mac_via.c | 4 +-
hw/misc/macio/gpio.c | 2 +-
hw/misc/macio/macio.c | 4 +-
hw/misc/macio/pmu.c | 2 +-
hw/misc/pca9552.c | 2 +-
hw/misc/tmp105.c | 2 +-
hw/misc/tmp421.c | 8 +-
hw/net/cadence_gem.c | 3 +-
hw/net/can/can_kvaser_pci.c | 2 +-
hw/net/can/can_mioe3680_pci.c | 4 +-
hw/net/can/can_pcm3680_pci.c | 4 +-
hw/net/e1000.c | 3 +-
hw/net/e1000e.c | 2 +-
hw/net/eepro100.c | 2 +-
hw/net/lance.c | 2 +-
hw/net/lasi_i82596.c | 2 +-
hw/net/ne2000-isa.c | 2 +-
hw/net/ne2000-pci.c | 2 +-
hw/net/pcnet-pci.c | 2 +-
hw/net/rtl8139.c | 2 +-
hw/net/spapr_llan.c | 2 +-
hw/net/sungem.c | 2 +-
hw/net/sunhme.c | 2 +-
hw/net/tulip.c | 2 +-
hw/net/virtio-net.c | 6 +-
hw/net/vmxnet3.c | 2 +-
hw/net/xilinx_axienet.c | 9 +-
hw/nios2/10m50_devboard.c | 3 +-
hw/nvram/fw_cfg.c | 4 +-
hw/nvram/mac_nvram.c | 2 +-
hw/pci-host/grackle.c | 2 +-
hw/pci-host/i440fx.c | 12 +-
hw/pci-host/pnv_phb3_msi.c | 3 +-
hw/pci-host/pnv_phb3_pbcq.c | 3 +-
hw/pci-host/q35.c | 20 +-
hw/pci-host/sabre.c | 2 +-
hw/pci-host/uninorth.c | 8 +-
hw/pci/pci.c | 14 +-
hw/pci/pcie.c | 2 +-
hw/pci/shpc.c | 2 +-
hw/pcmcia/pxa2xx.c | 2 +-
hw/ppc/e500.c | 8 +-
hw/ppc/mac_newworld.c | 7 +-
hw/ppc/mac_oldworld.c | 2 +-
hw/ppc/pnv.c | 16 +-
hw/ppc/pnv_bmc.c | 5 +-
hw/ppc/pnv_core.c | 4 +-
hw/ppc/pnv_psi.c | 2 +-
hw/ppc/prep.c | 6 +-
hw/ppc/spapr.c | 59 ++--
hw/ppc/spapr_caps.c | 16 +-
hw/ppc/spapr_cpu_core.c | 7 +-
hw/ppc/spapr_drc.c | 36 +-
hw/ppc/spapr_iommu.c | 4 +-
hw/ppc/spapr_irq.c | 2 +-
hw/ppc/spapr_pci.c | 98 ++----
hw/ppc/spapr_rng.c | 3 +-
hw/ppc/spapr_rtc.c | 2 +-
hw/ppc/spapr_tpm_proxy.c | 2 +-
hw/riscv/sifive_u.c | 7 +-
hw/riscv/virt.c | 5 +-
hw/rtc/mc146818rtc.c | 4 +-
hw/s390x/ap-bridge.c | 2 +-
hw/s390x/css-bridge.c | 9 +-
hw/s390x/event-facility.c | 6 +-
hw/s390x/s390-ccw.c | 4 +-
hw/s390x/s390-pci-bus.c | 4 +-
hw/s390x/s390-skeys.c | 4 +-
hw/s390x/s390-stattrib.c | 4 +-
hw/s390x/s390-virtio-ccw.c | 19 +-
hw/s390x/sclp.c | 5 +-
hw/s390x/tod.c | 2 +-
hw/s390x/virtio-ccw-balloon.c | 4 +-
hw/s390x/virtio-ccw-blk.c | 2 +-
hw/s390x/virtio-ccw-net.c | 2 +-
hw/s390x/virtio-ccw.c | 8 +-
hw/scsi/lsi53c895a.c | 2 +-
hw/scsi/scsi-bus.c | 17 +-
hw/scsi/scsi-disk.c | 2 +-
hw/scsi/vhost-scsi.c | 4 +-
hw/scsi/vhost-user-scsi.c | 4 +-
hw/scsi/virtio-scsi.c | 2 +-
hw/sd/sdhci-pci.c | 2 +-
hw/sd/sdhci.c | 6 +-
hw/sparc/sun4m.c | 7 +-
hw/sparc64/sun4u.c | 2 +-
hw/ssi/xilinx_spips.c | 3 +-
hw/usb/bus.c | 18 +-
hw/usb/ccid-card-emulated.c | 2 +-
hw/usb/dev-audio.c | 2 +-
hw/usb/dev-hid.c | 2 +-
hw/usb/dev-hub.c | 2 +-
hw/usb/dev-network.c | 4 +-
hw/usb/dev-smartcard-reader.c | 11 +-
hw/usb/dev-storage.c | 2 +-
hw/usb/dev-uas.c | 2 +-
hw/usb/dev-wacom.c | 2 +-
hw/usb/hcd-ehci-pci.c | 2 +-
hw/usb/hcd-ehci.c | 2 +-
hw/usb/host-libusb.c | 4 +-
hw/usb/redirect.c | 4 +-
hw/vfio/ap.c | 2 +-
hw/vfio/ccw.c | 6 +-
hw/vfio/pci-quirks.c | 6 +-
hw/vfio/pci.c | 2 +-
hw/virtio/vhost-scsi-pci.c | 2 +-
hw/virtio/vhost-user-blk-pci.c | 2 +-
hw/virtio/vhost-user-fs.c | 2 +-
hw/virtio/vhost-user-input-pci.c | 3 +-
hw/virtio/vhost-user-scsi-pci.c | 2 +-
hw/virtio/vhost-vsock.c | 2 +-
hw/virtio/virtio-balloon-pci.c | 4 +-
hw/virtio/virtio-balloon.c | 6 +-
hw/virtio/virtio-blk-pci.c | 2 +-
hw/virtio/virtio-crypto.c | 2 +-
hw/virtio/virtio-iommu.c | 2 +-
hw/virtio/virtio-net-pci.c | 2 +-
hw/virtio/virtio-pmem.c | 2 +-
hw/virtio/virtio-rng.c | 4 +-
hw/virtio/virtio.c | 11 +-
hw/watchdog/wdt_diag288.c | 2 +-
hw/xen/xen-bus.c | 12 +-
hw/xen/xen-common.c | 5 +-
iothread.c | 6 +-
memory.c | 14 +-
net/can/can_host.c | 3 +-
net/can/can_socketcan.c | 3 +-
net/colo-compare.c | 20 +-
net/dump.c | 4 +-
net/filter-buffer.c | 2 +-
net/filter-mirror.c | 10 +-
net/filter-rewriter.c | 2 +-
net/filter.c | 15 +-
qdev-monitor.c | 4 +-
qom/container.c | 4 +-
qom/object.c | 499 +++++++++++-----------------
qom/object_interfaces.c | 8 +-
scsi/pr-manager-helper.c | 3 +-
softmmu/vl.c | 7 +-
target/arm/cpu.c | 11 +-
target/arm/cpu64.c | 11 +-
target/arm/kvm.c | 4 +-
target/i386/cpu.c | 92 +++--
target/i386/sev.c | 23 +-
target/ppc/compat.c | 14 +-
target/ppc/translate_init.inc.c | 9 +-
target/s390x/cpu.c | 2 +-
target/s390x/cpu_models.c | 15 +-
tests/check-qom-proplist.c | 70 ++--
tests/test-qdev-global-props.c | 4 +-
ui/console.c | 7 +-
ui/input-barrier.c | 14 +-
ui/input-linux.c | 8 +-
288 files changed, 1127 insertions(+), 1604 deletions(-)
--
2.21.1
- [PATCH 00/17] qom: Spring cleaning,
Markus Armbruster <=
- [PATCH 01/17] qom: Clearer reference counting in object_initialize_childv(), Markus Armbruster, 2020/04/28
- [PATCH 04/17] qom: Change object_property_get_uint16List() to match its doc, Markus Armbruster, 2020/04/28
- [PATCH 03/17] qom: Drop object_property_del_child()'s unused parameter @errp, Markus Armbruster, 2020/04/28
- [PATCH 02/17] qom: Clean up inconsistent use of gchar * vs. char *, Markus Armbruster, 2020/04/28
- [PATCH 07/17] tests/check-qom-proplist: Improve iterator coverage, Markus Armbruster, 2020/04/28