qom: Rename macros for consistency
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest63 patches 48 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/63 | gpex: Fix type checking function nameinclude/ | +1 | 1 reply | |
| 2/63 | chardev: Rename TYPE_CHARDEV_* to TYPE_*_CHARDEVchardev/ chardev/ chardev/ +30 more | +94 | 2 replies | |
| 3/63 | chardev: Rename TYPE_BRAILLE_CHARDEV to TYPE_BAUM_CHARDEVchardev/ | +3 | 0 replies | |
| 4/63 | chardev: Rename TYPE_MSMOUSE_CHARDEV to TYPE_MOUSE_CHARDEVchardev/ | +3 | 0 replies | |
| 5/63 | ap-device: Rename AP_DEVICE_TYPE to TYPE_AP_DEVICEhw/ hw/ include/ | +4 | 2 replies | |
| 6/63 | dev-smartcard-reader: Rename CCID_DEV_NAME to TYPE_USB_CCID_DEVhw/ | +4 | 1 reply | |
| 7/63 | rdma: Rename PVRDMA_HW_NAME to TYPE_PVRDMA_DEVhw/ hw/ | +3 | 0 replies | |
| 8/63 | vfio: Rename VFIO_AP_DEVICE_TYPE to TYPE_VFIO_AP_DEVICEhw/ | +4 | 2 replies | |
| 9/63 | vmcoreinfo: Rename VMCOREINFO_DEVICE to TYPE_VMCOREINFOhw/ include/ | +6 | 0 replies | |
| 10/63 | vmgenid: Rename VMGENID_DEVICE to TYPE_VMGENIDhw/ include/ | +6 | 1 reply | |
| 11/63 | edu: Rename TYPE_PCI_EDU_DEVICE to TYPE_EDUhw/ | +3 | 0 replies | |
| 12/63 | etrax: Rename TYPE_ETRAX_FS_SERIAL to TYPE_ETRAX_SERIALhw/ | +3 | 0 replies | |
| 13/63 | etrax: Rename TYPE_ETRAX_FS_TIMER to TYPE_ETRAX_TIMERhw/ | +3 | 0 replies | |
| 14/63 | i8254: Rename TYPE_I8254 to TYPE_PIThw/ include/ | +4 | 6 replies | |
| 15/63 | i8259: Rename TYPE_I8259 to TYPE_PIChw/ | +5 | 3 replies | |
| 16/63 | i8259: Rename TYPE_KVM_I8259 to TYPE_KVM_PIChw/ | +5 | 2 replies | |
| 17/63 | intel-hda: Rename TYPE_INTEL_HDA_GENERIC to TYPE_INTEL_HDAhw/ | +5 | 0 replies | |
| 18/63 | mips: Rename TYPE_MIPS_BOSTON to TYPE_BOSTONhw/ | +4 | 1 reply | |
| 19/63 | mptsas: Rename TYPE_MPTSAS1068 to TYPE_MPT_SAShw/ hw/ | +3 | 0 replies | |
| 20/63 | pc87312: Rename TYPE_PC87312_SUPERIO to TYPE_PC87312hw/ include/ | +3 | 5 replies | |
| 21/63 | pxb: Rename TYPE_PXB_DEVICE to TYPE_PXB_DEVhw/ | +3 | 0 replies | |
| 22/63 | pxb: Rename TYPE_PXB_PCIE_DEVICE to TYPE_PXB_PCIE_DEVhw/ | +3 | 0 replies | |
| 23/63 | ramfb: Rename TYPE_RAMFB_DEVICE to TYPE_RAMFBhw/ hw/ hw/ +3 more | +7 | 0 replies | |
| 24/63 | scsi: Rename TYPE_AM53C974_DEVICE to TYPE_PCI_ESPhw/ | +4 | 2 replies | |
| 25/63 | scsi: Rename TYPE_DC390_DEVICE to TYPE_DC390hw/ | +3 | 0 replies | |
| 26/63 | sun4m: Rename TYPE_SUN4M_MEMORY to TYPE_SUN4M_RAMhw/ | +3 | 0 replies | |
| 27/63 | sun4u: Rename TYPE_SUN4U_MEMORY to TYPE_SUN4U_RAMhw/ | +4 | 0 replies | |
| 28/63 | tusb6010: Rename TYPE_TUSB6010 to TYPE_TUSBhw/ | +3 | 2 replies | |
| 29/63 | versatile: Rename TYPE_VERSATILE_PCI_HOST to TYPE_PCI_VPB_HOSThw/ | +4 | 0 replies | |
| 30/63 | versatile: Rename TYPE_VERSATILE_PCI to TYPE_PCI_VPBhw/ | +4 | 0 replies | |
| 31/63 | virtio-console: Rename TYPE_VIRTIO_CONSOLE_SERIAL_PORT to TYPE_VIRTIO_CONSOLEhw/ | +4 | 0 replies | |
| 32/63 | ahci: Rename ICH_AHCI to ICH9_AHCIhw/ hw/ include/ | +7 | 1 reply | |
| 33/63 | net/can: Rename TYPE_CAN_CPI constantshw/ hw/ hw/ | +9 | 2 replies | |
| 34/63 | can: Rename KVASER_PCI_DEV to KVASER_PCIhw/ | +5 | 0 replies | |
| 35/63 | can: Rename MIOe3680_PCI_DEV to MIOE3680_PCIhw/ | +5 | 0 replies | |
| 36/63 | can: Rename PCM3680i_PCI_DEV to PCM3680_PCIhw/ | +5 | 0 replies | |
| 37/63 | ccid-card-emulated: Rename EMULATED_CCID_CARD to EMULATED_CCIDhw/ | +5 | 0 replies | |
| 38/63 | ccid-card-passthru: Rename PASSTHRU_CCID_CARD to CCID_PASSTHRUhw/ | +4 | 0 replies | |
| 39/63 | esp: Rename ESP_STATE to ESPhw/ hw/ hw/ +3 more | +8 | 3 replies | |
| 40/63 | filter-rewriter: Rename FILTER_COLO_REWRITER to FILTER_REWRITERnet/ | +9 | 1 reply | |
| 41/63 | lance: Rename SYSBUS_PCNET to LANCEhw/ hw/ include/ | +5 | 0 replies | |
| 42/63 | lasi_i82596: Rename SYSBUS_I82596 to LASI_82596hw/ include/ | +5 | 0 replies | |
| 43/63 | pvpanic: Rename ISA_PVPANIC_DEVICE to PVPANIChw/ | +3 | 0 replies | |
| 44/63 | renesas: Rename RCMT to RENESAS_CMThw/ include/ | +3 | 0 replies | |
| 45/63 | renesas: Rename RSCI to RENESAS_SCIhw/ include/ | +10 | 0 replies | |
| 46/63 | renesas: Rename RTMR to RENESAS_TMRhw/ hw/ include/ | +7 | 1 reply | |
| 47/63 | rs6000_mc: Rename RS6000MC_DEVICE to RS6000MChw/ | +2 | 2 replies | |
| 48/63 | sabre: Rename SABRE_DEVICE to SABREhw/ hw/ include/ | +6 | 1 reply | |
| 49/63 | stm32f205: Rename STM32F2XXTIMER to STM32F2XX_TIMERhw/ include/ | +4 | 1 reply | |
| 50/63 | tpm_crb: Rename CRB to TPM_CRBhw/ | +7 | 1 reply | |
| 51/63 | tpm_spapr: Rename VIO_SPAPR_VTPM to TPM_SPAPRhw/ | +7 | 1 reply | |
| 52/63 | usb: Rename USB_REDIRECT to USB_REDIRhw/ | +11 | 0 replies | |
| 53/63 | usb: Rename USB_SERIAL_DEV to USB_SERIALhw/ | +2 | 1 reply | |
| 54/63 | usb: Rename USB_STORAGE_DEV to USB_STORAGEhw/ | +6 | 0 replies | |
| 55/63 | vfio: Rename PCI_VFIO to VFIO_PCIhw/ hw/ | +12 | 1 reply | |
| 56/63 | vmxnet3: Rename VMXNET3_DEVICE* to VMXNET3*hw/ | +3 | 0 replies | |
| 57/63 | xen: Rename XENBACKEND_DEVICE to XENBACKENDinclude/ | +1 | 1 reply | |
| 58/63 | hvf: Rename HVF_STATE to HVF_ACCELinclude/ | +1 | 0 replies | |
| 59/63 | kvm: Rename KVM_STATE to KVM_ACCELaccel/ include/ target/ +3 more | +15 | 0 replies | |
| 60/63 | tcg: Rename TCG_STATE to TCG_ACCELaccel/ | +7 | 0 replies | |
| 61/63 | tests: Rename TYPE_DUMMY to TYPE_DUMMY_OBJECTtests/ tests/ | +22 | 0 replies | |
| 62/63 | tests: Rename DYNAMIC_TYPE to DYNAMIC_PROPStests/ | +4 | 0 replies | |
| 63/63 | tests: Rename STATIC_TYPE to STATIC_PROPStests/ | +4 | 0 replies |
Reviews trailers per patch
19 of 63 patches have a Reviewed-by or Acked-by.
| Patch | Zhang Chen | Eric Auger | Thomas Huth | Hervé Poussineau | Philippe Mathieu-Daudé | Stefan Berger | Alistair Francis | Cornelia Huck | Anthony PERARD |
|---|---|---|---|---|---|---|---|---|---|
| 1/63 | R-b | ||||||||
| 2/63 | R-b | ||||||||
| 3/63 | |||||||||
| 4/63 | |||||||||
| 5/63 | R-b | A-b | |||||||
| 6/63 | R-b | ||||||||
| 7/63 | |||||||||
| 8/63 | R-b | A-b | |||||||
| 9/63 | |||||||||
| 10/63 | R-b | ||||||||
| 11/63 | |||||||||
| 12/63 | |||||||||
| 13/63 | |||||||||
| 14/63 | |||||||||
| 15/63 | |||||||||
| 16/63 | |||||||||
| 17/63 | |||||||||
| 18/63 | R-b T-b | ||||||||
| 19/63 | |||||||||
| 20/63 | R-b | ||||||||
| 21/63 | |||||||||
| 22/63 | |||||||||
| 23/63 | |||||||||
| 24/63 | |||||||||
| 25/63 | |||||||||
| 26/63 | |||||||||
| 27/63 | |||||||||
| 28/63 | |||||||||
| 29/63 | |||||||||
| 30/63 | |||||||||
| 31/63 | |||||||||
| 32/63 | R-b | ||||||||
| 33/63 | |||||||||
| 34/63 | |||||||||
| 35/63 | |||||||||
| 36/63 | |||||||||
| 37/63 | |||||||||
| 38/63 | |||||||||
| 39/63 | R-b | ||||||||
| 40/63 | R-b | ||||||||
| 41/63 | |||||||||
| 42/63 | |||||||||
| 43/63 | |||||||||
| 44/63 | |||||||||
| 45/63 | |||||||||
| 46/63 | |||||||||
| 47/63 | R-b | R-b | |||||||
| 48/63 | R-b | ||||||||
| 49/63 | R-b | ||||||||
| 50/63 | R-b | ||||||||
| 51/63 | R-b | ||||||||
| 52/63 | |||||||||
| 53/63 | R-b | ||||||||
| 54/63 | |||||||||
| 55/63 | R-b | ||||||||
| 56/63 | |||||||||
| 57/63 | A-b | ||||||||
| 58/63 | |||||||||
| 59/63 | |||||||||
| 60/63 | |||||||||
| 61/63 | |||||||||
| 62/63 | |||||||||
| 63/63 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 9 reviewers.
Cover letter [PATCH 00/63] qom: Rename macros for consistency
Reducing boilerplate QOM code using the new OBJECT_DEFINE_* and OBJECT_DECLARE_* macros is quite difficult when there are multiple ways a TYPE_* constant name is written.
This series renames many type checking macros and/or TYPE_* constants to make sure they are consistent.
This series is based on machine-next and can be fetched from:
https://github.com/ehabkost/qemu-hacks work/qom-rename-macros
Eduardo Habkost (63):
gpex: Fix type checking function name
chardev: Rename TYPE_CHARDEV_* to TYPE_*_CHARDEV
chardev: Rename TYPE_BRAILLE_CHARDEV to TYPE_BAUM_CHARDEV
chardev: Rename TYPE_MSMOUSE_CHARDEV to TYPE_MOUSE_CHARDEV
ap-device: Rename AP_DEVICE_TYPE to TYPE_AP_DEVICE
dev-smartcard-reader: Rename CCID_DEV_NAME to TYPE_USB_CCID_DEV
rdma: Rename PVRDMA_HW_NAME to TYPE_PVRDMA_DEV
vfio: Rename VFIO_AP_DEVICE_TYPE to TYPE_VFIO_AP_DEVICE
vmcoreinfo: Rename VMCOREINFO_DEVICE to TYPE_VMCOREINFO
vmgenid: Rename VMGENID_DEVICE to TYPE_VMGENID
edu: Rename TYPE_PCI_EDU_DEVICE to TYPE_EDU
etrax: Rename TYPE_ETRAX_FS_SERIAL to TYPE_ETRAX_SERIAL
etrax: Rename TYPE_ETRAX_FS_TIMER to TYPE_ETRAX_TIMER
i8254: Rename TYPE_I8254 to TYPE_PIT
i8259: Rename TYPE_I8259 to TYPE_PIC
i8259: Rename TYPE_KVM_I8259 to TYPE_KVM_PIC
intel-hda: Rename TYPE_INTEL_HDA_GENERIC to TYPE_INTEL_HDA
mips: Rename TYPE_MIPS_BOSTON to TYPE_BOSTON
mptsas: Rename TYPE_MPTSAS1068 to TYPE_MPT_SAS
pc87312: Rename TYPE_PC87312_SUPERIO to TYPE_PC87312
pxb: Rename TYPE_PXB_DEVICE to TYPE_PXB_DEV
pxb: Rename TYPE_PXB_PCIE_DEVICE to TYPE_PXB_PCIE_DEV
ramfb: Rename TYPE_RAMFB_DEVICE to TYPE_RAMFB
scsi: Rename TYPE_AM53C974_DEVICE to TYPE_PCI_ESP
scsi: Rename TYPE_DC390_DEVICE to TYPE_DC390
sun4m: Rename TYPE_SUN4M_MEMORY to TYPE_SUN4M_RAM
sun4u: Rename TYPE_SUN4U_MEMORY to TYPE_SUN4U_RAM
tusb6010: Rename TYPE_TUSB6010 to TYPE_TUSB
versatile: Rename TYPE_VERSATILE_PCI_HOST to TYPE_PCI_VPB_HOST
versatile: Rename TYPE_VERSATILE_PCI to TYPE_PCI_VPB
virtio-console: Rename TYPE_VIRTIO_CONSOLE_SERIAL_PORT to
TYPE_VIRTIO_CONSOLE
ahci: Rename ICH_AHCI to ICH9_AHCI
net/can: Rename TYPE_CAN_CPI constants
can: Rename KVASER_PCI_DEV to KVASER_PCI
can: Rename MIOe3680_PCI_DEV to MIOE3680_PCI
can: Rename PCM3680i_PCI_DEV to PCM3680_PCI
ccid-card-emulated: Rename EMULATED_CCID_CARD to EMULATED_CCID
ccid-card-passthru: Rename PASSTHRU_CCID_CARD to CCID_PASSTHRU
esp: Rename ESP_STATE to ESP
filter-rewriter: Rename FILTER_COLO_REWRITER to FILTER_REWRITER
lance: Rename SYSBUS_PCNET to LANCE
lasi_i82596: Rename SYSBUS_I82596 to LASI_82596
pvpanic: Rename ISA_PVPANIC_DEVICE to PVPANIC
renesas: Rename RCMT to RENESAS_CMT
renesas: Rename RSCI to RENESAS_SCI
renesas: Rename RTMR to RENESAS_TMR
rs6000_mc: Rename RS6000MC_DEVICE to RS6000MC
sabre: Rename SABRE_DEVICE to SABRE
stm32f205: Rename STM32F2XXTIMER to STM32F2XX_TIMER
tpm_crb: Rename CRB to TPM_CRB
tpm_spapr: Rename VIO_SPAPR_VTPM to TPM_SPAPR
usb: Rename USB_REDIRECT to USB_REDIR
usb: Rename USB_SERIAL_DEV to USB_SERIAL
usb: Rename USB_STORAGE_DEV to USB_STORAGE
vfio: Rename PCI_VFIO to VFIO_PCI
vmxnet3: Rename VMXNET3_DEVICE* to VMXNET3*
xen: Rename XENBACKEND_DEVICE to XENBACKEND
hvf: Rename HVF_STATE to HVF_ACCEL
kvm: Rename KVM_STATE to KVM_ACCEL
tcg: Rename TCG_STATE to TCG_ACCEL
tests: Rename TYPE_DUMMY to TYPE_DUMMY_OBJECT
tests: Rename DYNAMIC_TYPE to DYNAMIC_PROPS
tests: Rename STATIC_TYPE to STATIC_PROPS
chardev/chardev-internal.h | 4 ++-- hw/rdma/vmw/pvrdma.h | 4 ++-- hw/scsi/mptsas.h | 4 ++-- hw/vfio/pci.h | 2 +- include/chardev/char-fd.h | 4 ++-- include/chardev/char-win-stdio.h | 2 +- include/chardev/char-win.h | 4 ++-- include/chardev/char.h | 30 ++++++++++++++--------------- include/chardev/spice.h | 8 ++++---- include/hw/acpi/vmgenid.h | 6 +++--- include/hw/char/renesas_sci.h | 2 +- include/hw/display/ramfb.h | 2 +- include/hw/ide/ahci.h | 2 +- include/hw/isa/pc87312.h | 4 ++-- include/hw/misc/vmcoreinfo.h | 6 +++--- include/hw/net/lance.h | 2 +- include/hw/net/lasi_82596.h | 2 +- include/hw/pci-host/gpex.h | 2 +- include/hw/pci-host/sabre.h | 2 +- include/hw/s390x/ap-device.h | 4 ++-- include/hw/scsi/esp.h | 2 +- include/hw/timer/i8254.h | 4 ++-- include/hw/timer/renesas_cmt.h | 2 +- include/hw/timer/renesas_tmr.h | 6 +++--- include/hw/timer/stm32f2xx_timer.h | 2 +- include/hw/xen/xen-legacy-backend.h | 2 +- include/sysemu/hvf.h | 2 +- include/sysemu/kvm.h | 2 +- accel/kvm/kvm-all.c | 18 ++++++++--------- accel/tcg/tcg-all.c | 14 +++++++------- chardev/baum.c | 6 +++--- chardev/char-console.c | 4 ++-- chardev/char-fd.c | 2 +- chardev/char-file.c | 6 +++--- chardev/char-mux.c | 2 +- chardev/char-null.c | 2 +- chardev/char-parallel.c | 4 ++-- chardev/char-pipe.c | 6 +++--- chardev/char-pty.c | 4 ++-- chardev/char-ringbuf.c | 8 ++++---- chardev/char-serial.c | 6 +++--- chardev/char-socket.c | 4 ++-- chardev/char-stdio.c | 6 +++--- chardev/char-udp.c | 4 ++-- chardev/char-win-stdio.c | 4 ++-- chardev/char-win.c | 2 +- chardev/char.c | 2 +- chardev/msmouse.c | 6 +++--- chardev/spice.c | 10 +++++----- chardev/testdev.c | 6 +++--- chardev/wctablet.c | 6 +++--- gdbstub.c | 6 +++--- hw/acpi/vmgenid.c | 6 +++--- hw/arm/sysbus-fdt.c | 2 +- hw/arm/virt.c | 2 +- hw/audio/intel-hda.c | 10 +++++----- hw/char/etraxfs_ser.c | 6 +++--- hw/char/renesas_sci.c | 18 ++++++++--------- hw/char/virtio-console.c | 8 ++++---- hw/display/ramfb-standalone.c | 4 ++-- hw/display/vhost-user-gpu.c | 2 +- hw/dma/sparc32_dma.c | 2 +- hw/i386/kvm/i8259.c | 10 +++++----- hw/i386/pc_piix.c | 2 +- hw/i386/pc_q35.c | 2 +- hw/ide/ahci.c | 4 ++-- hw/ide/ich.c | 8 ++++---- hw/intc/i8259.c | 10 +++++----- hw/isa/pc87312.c | 2 +- hw/m68k/q800.c | 2 +- hw/mips/boston.c | 8 ++++---- hw/mips/jazz.c | 2 +- hw/misc/edu.c | 6 +++--- hw/misc/pvpanic.c | 6 +++--- hw/misc/vmcoreinfo.c | 6 +++--- hw/net/can/can_kvaser_pci.c | 16 +++++++-------- hw/net/can/can_mioe3680_pci.c | 16 +++++++-------- hw/net/can/can_pcm3680_pci.c | 16 +++++++-------- hw/net/lance.c | 6 +++--- hw/net/lasi_i82596.c | 8 ++++---- hw/net/vmxnet3.c | 6 +++--- hw/pci-bridge/pci_expander_bridge.c | 12 ++++++------ hw/pci-host/sabre.c | 8 ++++---- hw/pci-host/versatile.c | 16 +++++++-------- hw/ppc/rs6000_mc.c | 4 ++-- hw/rdma/vmw/pvrdma_main.c | 2 +- hw/rx/rx62n.c | 2 +- hw/s390x/ap-device.c | 2 +- hw/scsi/esp-pci.c | 14 +++++++------- hw/scsi/esp.c | 6 +++--- hw/scsi/mptsas.c | 2 +- hw/sparc/sun4m.c | 10 +++++----- hw/sparc64/sun4u.c | 10 +++++----- hw/timer/etraxfs_timer.c | 6 +++--- hw/timer/i8254.c | 4 ++-- hw/timer/renesas_cmt.c | 4 ++-- hw/timer/renesas_tmr.c | 6 +++--- hw/timer/stm32f2xx_timer.c | 6 +++--- hw/tpm/tpm_crb.c | 14 +++++++------- hw/tpm/tpm_spapr.c | 14 +++++++------- hw/usb/ccid-card-emulated.c | 10 +++++----- hw/usb/ccid-card-passthru.c | 8 ++++---- hw/usb/dev-serial.c | 4 ++-- hw/usb/dev-smartcard-reader.c | 8 ++++---- hw/usb/dev-storage.c | 12 ++++++------ hw/usb/redirect.c | 22 ++++++++++----------- hw/usb/tusb6010.c | 6 +++--- hw/vfio/ap.c | 10 +++++----- hw/vfio/pci.c | 22 ++++++++++----------- net/filter-rewriter.c | 18 ++++++++--------- target/arm/kvm.c | 2 +- target/i386/kvm.c | 2 +- target/mips/kvm.c | 2 +- target/ppc/kvm.c | 4 ++-- tests/check-qom-proplist.c | 30 ++++++++++++++--------------- tests/test-char.c | 4 ++-- tests/test-io-task.c | 14 +++++++------- tests/test-qdev-global-props.c | 16 +++++++-------- ui/console.c | 8 ++++---- ui/gtk.c | 6 +++--- ui/spice-app.c | 10 +++++----- 121 files changed, 406 insertions(+), 406 deletions(-)
Signature · 1 line
2.26.2