[PULL 00/15] Machine queue, 2020-12-23

Eduardo Habkost posted 15 patches 4 years, 10 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20201223212735.512062-1-ehabkost@redhat.com
Maintainers: Gerd Hoffmann <kraxel@redhat.com>, Andrew Baumann <Andrew.Baumann@microsoft.com>, Jiri Pirko <jiri@resnulli.us>, Michael Rolnik <mrolnik@gmail.com>, Fam Zheng <fam@euphon.net>, Eric Auger <eric.auger@redhat.com>, Anthony Perard <anthony.perard@citrix.com>, Max Reitz <mreitz@redhat.com>, John Snow <jsnow@redhat.com>, Fabien Chouteau <chouteau@adacore.com>, Eduardo Habkost <ehabkost@redhat.com>, Thomas Huth <huth@tuxfamily.org>, Richard Henderson <richard.henderson@linaro.org>, Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, Alex Williamson <alex.williamson@redhat.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, Samuel Thibault <samuel.thibault@ens-lyon.org>, Jason Wang <jasowang@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Christian Borntraeger <borntraeger@de.ibm.com>, Thomas Huth <thuth@redhat.com>, Sarah Harris <S.E.Harris@kent.ac.uk>, Igor Mammedov <imammedo@redhat.com>, "Cédric Le Goater" <clg@kaod.org>, Peter Maydell <peter.maydell@linaro.org>, Igor Mitsyanko <i.mitsyanko@gmail.com>, Yuval Shaia <yuval.shaia.ml@gmail.com>, Stefan Berger <stefanb@linux.vnet.ibm.com>, Antony Pavlov <antonynpavlov@gmail.com>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Kevin Wolf <kwolf@redhat.com>, Greg Kurz <groug@kaod.org>, David Gibson <david@gibson.dropbear.id.au>, Corey Minyard <minyard@acm.org>, Raphael Norwitz <raphael.norwitz@nutanix.com>, Paolo Bonzini <pbonzini@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, Halil Pasic <pasic@linux.ibm.com>, "Michael S. Tsirkin" <mst@redhat.com>, Stefan Hajnoczi <stefanha@redhat.com>, Paul Durrant <paul@xen.org>, Ben Warren <ben@skyportsystems.com>, Alistair Francis <alistair@alistair23.me>, Magnus Damm <magnus.damm@gmail.com>, Peter Chubb <peter.chubb@nicta.com.au>, David Hildenbrand <david@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Juan Quintela <quintela@redhat.com>, "Philippe Mathieu-Daudé" <philmd@redhat.com>, Cornelia Huck <cohuck@redhat.com>, Matthew Rosato <mjrosato@linux.ibm.com>, Andrzej Zaborowski <balrogg@gmail.com>, Michael Walle <michael@walle.cc>, Joel Stanley <joel@jms.id.au>, KONRAD Frederic <frederic.konrad@adacore.com>, Amit Shah <amit@kernel.org>, Stefano Stabellini <sstabellini@kernel.org>, Beniamino Galvani <b.galvani@gmail.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Yoshinori Sato <ysato@users.sourceforge.jp>, Alberto Garcia <berto@igalia.com>, Artyom Tarasenko <atar4qemu@gmail.com>
hw/core/qdev-properties-system.c    | 147 +++++-----------
hw/core/qdev-properties.c           | 253 ++++++++++++----------------
audio/audio.h                       |   1 +
hw/tpm/tpm_prop.h                   |   2 +
include/hw/block/block.h            |   1 +
include/hw/qdev-properties-system.h |  77 +++++++++
include/hw/qdev-properties.h        | 197 +++++-----------------
include/net/net.h                   |   1 +
backends/hostmem.c                  |   1 +
backends/tpm/tpm_util.c             |  14 +-
hw/acpi/vmgenid.c                   |   1 +
hw/arm/pxa2xx.c                     |   1 +
hw/arm/strongarm.c                  |   1 +
hw/block/fdc.c                      |   1 +
hw/block/m25p80.c                   |   1 +
hw/block/nand.c                     |   1 +
hw/block/onenand.c                  |   1 +
hw/block/pflash_cfi01.c             |   1 +
hw/block/pflash_cfi02.c             |   1 +
hw/block/vhost-user-blk.c           |   1 +
hw/block/xen-block.c                |  10 +-
hw/char/avr_usart.c                 |   1 +
hw/char/bcm2835_aux.c               |   1 +
hw/char/cadence_uart.c              |   1 +
hw/char/cmsdk-apb-uart.c            |   1 +
hw/char/debugcon.c                  |   1 +
hw/char/digic-uart.c                |   1 +
hw/char/escc.c                      |   1 +
hw/char/etraxfs_ser.c               |   1 +
hw/char/exynos4210_uart.c           |   1 +
hw/char/grlib_apbuart.c             |   1 +
hw/char/ibex_uart.c                 |   1 +
hw/char/imx_serial.c                |   1 +
hw/char/ipoctal232.c                |   1 +
hw/char/lm32_juart.c                |   1 +
hw/char/lm32_uart.c                 |   1 +
hw/char/mcf_uart.c                  |   1 +
hw/char/milkymist-uart.c            |   1 +
hw/char/nrf51_uart.c                |   1 +
hw/char/parallel.c                  |   1 +
hw/char/pl011.c                     |   1 +
hw/char/renesas_sci.c               |   1 +
hw/char/sclpconsole-lm.c            |   1 +
hw/char/sclpconsole.c               |   1 +
hw/char/serial-pci-multi.c          |   1 +
hw/char/serial.c                    |   1 +
hw/char/spapr_vty.c                 |   1 +
hw/char/stm32f2xx_usart.c           |   1 +
hw/char/terminal3270.c              |   1 +
hw/char/virtio-console.c            |   1 +
hw/char/xilinx_uartlite.c           |   1 +
hw/hyperv/vmbus.c                   |   1 +
hw/i386/kvm/i8254.c                 |   1 +
hw/ide/qdev.c                       |   1 +
hw/ipmi/ipmi_bmc_extern.c           |   1 +
hw/ipmi/ipmi_bmc_sim.c              |   1 +
hw/misc/allwinner-sid.c             |   1 +
hw/misc/ivshmem.c                   |   1 +
hw/misc/mac_via.c                   |   1 +
hw/misc/sifive_u_otp.c              |   1 +
hw/net/rocker/rocker.c              |   1 +
hw/nvram/eeprom_at24c.c             |   1 +
hw/nvram/spapr_nvram.c              |   1 +
hw/pci-bridge/gen_pcie_root_port.c  |   1 +
hw/pci/pci.c                        |   1 +
hw/ppc/pnv_pnor.c                   |   1 +
hw/rdma/vmw/pvrdma_main.c           |   1 +
hw/rtc/mc146818rtc.c                |   1 +
hw/s390x/css.c                      |  12 +-
hw/s390x/s390-pci-bus.c             |  10 +-
hw/scsi/scsi-disk.c                 |   1 +
hw/scsi/scsi-generic.c              |   1 +
hw/scsi/vhost-user-scsi.c           |   1 +
hw/sd/sd.c                          |   1 +
hw/usb/ccid-card-passthru.c         |   1 +
hw/usb/dev-serial.c                 |   1 +
hw/usb/redirect.c                   |   1 +
hw/vfio/pci-quirks.c                |  10 +-
hw/vfio/pci.c                       |   1 +
hw/virtio/vhost-user-fs.c           |   1 +
hw/virtio/vhost-user-vsock.c        |   1 +
hw/virtio/virtio-iommu-pci.c        |   1 +
hw/xen/xen_pt.c                     |   1 +
migration/migration.c               |   1 +
target/sparc/cpu.c                  |   9 +-
85 files changed, 363 insertions(+), 452 deletions(-)
create mode 100644 include/hw/qdev-properties-system.h
[PULL 00/15] Machine queue, 2020-12-23
Posted by Eduardo Habkost 4 years, 10 months ago
The following changes since commit a05f8ecd88f15273d033b6f044b850a8af84a5b8:

  Merge remote-tracking branch 'remotes/alistair/tags/pull-riscv-to-apply-20201217-1' into staging (2020-12-18 11:12:35 +0000)

are available in the Git repository at:

  https://gitlab.com/ehabkost/qemu.git tags/machine-next-pull-request

for you to fetch changes up to bdd5ce050d086e9f63874f1f36e9e39fa27a976c:

  bugfix: hostmem: Free host_nodes list right after visited (2020-12-18 15:20:23 -0500)

----------------------------------------------------------------
Machine queue, 2020-12-23

Cleanup:
* qdev code cleanup (Eduardo Habkost)

Bug fix:
* hostmem: Free host_nodes list right after visited (Keqian Zhu)

----------------------------------------------------------------

Eduardo Habkost (14):
  qdev: Move softmmu properties to qdev-properties-system.h
  qdev: Reuse DEFINE_PROP in all DEFINE_PROP_* macros
  sparc: Use DEFINE_PROP for nwindows property
  qdev: Get just property name at error_set_from_qdev_prop_error()
  qdev: Avoid using prop->name unnecessarily
  qdev: Add name parameter to qdev_class_add_property()
  qdev: Add name argument to PropertyInfo.create method
  qdev: Wrap getters and setters in separate helpers
  qdev: Move dev->realized check to qdev_property_set()
  qdev: Make PropertyInfo.create return ObjectProperty*
  qdev: Make qdev_class_add_property() more flexible
  qdev: Move qdev_prop_tpm declaration to tpm_prop.h
  qdev: Rename qdev_get_prop_ptr() to object_field_prop_ptr()
  qdev: Avoid unnecessary DeviceState* variable at set_prop_arraylen()

Keqian Zhu (1):
  bugfix: hostmem: Free host_nodes list right after visited

 hw/core/qdev-properties-system.c    | 147 +++++-----------
 hw/core/qdev-properties.c           | 253 ++++++++++++----------------
 audio/audio.h                       |   1 +
 hw/tpm/tpm_prop.h                   |   2 +
 include/hw/block/block.h            |   1 +
 include/hw/qdev-properties-system.h |  77 +++++++++
 include/hw/qdev-properties.h        | 197 +++++-----------------
 include/net/net.h                   |   1 +
 backends/hostmem.c                  |   1 +
 backends/tpm/tpm_util.c             |  14 +-
 hw/acpi/vmgenid.c                   |   1 +
 hw/arm/pxa2xx.c                     |   1 +
 hw/arm/strongarm.c                  |   1 +
 hw/block/fdc.c                      |   1 +
 hw/block/m25p80.c                   |   1 +
 hw/block/nand.c                     |   1 +
 hw/block/onenand.c                  |   1 +
 hw/block/pflash_cfi01.c             |   1 +
 hw/block/pflash_cfi02.c             |   1 +
 hw/block/vhost-user-blk.c           |   1 +
 hw/block/xen-block.c                |  10 +-
 hw/char/avr_usart.c                 |   1 +
 hw/char/bcm2835_aux.c               |   1 +
 hw/char/cadence_uart.c              |   1 +
 hw/char/cmsdk-apb-uart.c            |   1 +
 hw/char/debugcon.c                  |   1 +
 hw/char/digic-uart.c                |   1 +
 hw/char/escc.c                      |   1 +
 hw/char/etraxfs_ser.c               |   1 +
 hw/char/exynos4210_uart.c           |   1 +
 hw/char/grlib_apbuart.c             |   1 +
 hw/char/ibex_uart.c                 |   1 +
 hw/char/imx_serial.c                |   1 +
 hw/char/ipoctal232.c                |   1 +
 hw/char/lm32_juart.c                |   1 +
 hw/char/lm32_uart.c                 |   1 +
 hw/char/mcf_uart.c                  |   1 +
 hw/char/milkymist-uart.c            |   1 +
 hw/char/nrf51_uart.c                |   1 +
 hw/char/parallel.c                  |   1 +
 hw/char/pl011.c                     |   1 +
 hw/char/renesas_sci.c               |   1 +
 hw/char/sclpconsole-lm.c            |   1 +
 hw/char/sclpconsole.c               |   1 +
 hw/char/serial-pci-multi.c          |   1 +
 hw/char/serial.c                    |   1 +
 hw/char/spapr_vty.c                 |   1 +
 hw/char/stm32f2xx_usart.c           |   1 +
 hw/char/terminal3270.c              |   1 +
 hw/char/virtio-console.c            |   1 +
 hw/char/xilinx_uartlite.c           |   1 +
 hw/hyperv/vmbus.c                   |   1 +
 hw/i386/kvm/i8254.c                 |   1 +
 hw/ide/qdev.c                       |   1 +
 hw/ipmi/ipmi_bmc_extern.c           |   1 +
 hw/ipmi/ipmi_bmc_sim.c              |   1 +
 hw/misc/allwinner-sid.c             |   1 +
 hw/misc/ivshmem.c                   |   1 +
 hw/misc/mac_via.c                   |   1 +
 hw/misc/sifive_u_otp.c              |   1 +
 hw/net/rocker/rocker.c              |   1 +
 hw/nvram/eeprom_at24c.c             |   1 +
 hw/nvram/spapr_nvram.c              |   1 +
 hw/pci-bridge/gen_pcie_root_port.c  |   1 +
 hw/pci/pci.c                        |   1 +
 hw/ppc/pnv_pnor.c                   |   1 +
 hw/rdma/vmw/pvrdma_main.c           |   1 +
 hw/rtc/mc146818rtc.c                |   1 +
 hw/s390x/css.c                      |  12 +-
 hw/s390x/s390-pci-bus.c             |  10 +-
 hw/scsi/scsi-disk.c                 |   1 +
 hw/scsi/scsi-generic.c              |   1 +
 hw/scsi/vhost-user-scsi.c           |   1 +
 hw/sd/sd.c                          |   1 +
 hw/usb/ccid-card-passthru.c         |   1 +
 hw/usb/dev-serial.c                 |   1 +
 hw/usb/redirect.c                   |   1 +
 hw/vfio/pci-quirks.c                |  10 +-
 hw/vfio/pci.c                       |   1 +
 hw/virtio/vhost-user-fs.c           |   1 +
 hw/virtio/vhost-user-vsock.c        |   1 +
 hw/virtio/virtio-iommu-pci.c        |   1 +
 hw/xen/xen_pt.c                     |   1 +
 migration/migration.c               |   1 +
 target/sparc/cpu.c                  |   9 +-
 85 files changed, 363 insertions(+), 452 deletions(-)
 create mode 100644 include/hw/qdev-properties-system.h

-- 
2.28.0



Re: [PULL 00/15] Machine queue, 2020-12-23
Posted by Peter Maydell 4 years, 10 months ago
On Wed, 23 Dec 2020 at 21:27, Eduardo Habkost <ehabkost@redhat.com> wrote:
>
> The following changes since commit a05f8ecd88f15273d033b6f044b850a8af84a5b8:
>
>   Merge remote-tracking branch 'remotes/alistair/tags/pull-riscv-to-apply-20201217-1' into staging (2020-12-18 11:12:35 +0000)
>
> are available in the Git repository at:
>
>   https://gitlab.com/ehabkost/qemu.git tags/machine-next-pull-request
>
> for you to fetch changes up to bdd5ce050d086e9f63874f1f36e9e39fa27a976c:
>
>   bugfix: hostmem: Free host_nodes list right after visited (2020-12-18 15:20:23 -0500)
>
> ----------------------------------------------------------------
> Machine queue, 2020-12-23
>
> Cleanup:
> * qdev code cleanup (Eduardo Habkost)
>
> Bug fix:
> * hostmem: Free host_nodes list right after visited (Keqian Zhu)
>
> ----------------------------------------------------------------
>
> Eduardo Habkost (14):
>   qdev: Move softmmu properties to qdev-properties-system.h
>   qdev: Reuse DEFINE_PROP in all DEFINE_PROP_* macros
>   sparc: Use DEFINE_PROP for nwindows property
>   qdev: Get just property name at error_set_from_qdev_prop_error()
>   qdev: Avoid using prop->name unnecessarily
>   qdev: Add name parameter to qdev_class_add_property()
>   qdev: Add name argument to PropertyInfo.create method
>   qdev: Wrap getters and setters in separate helpers
>   qdev: Move dev->realized check to qdev_property_set()
>   qdev: Make PropertyInfo.create return ObjectProperty*
>   qdev: Make qdev_class_add_property() more flexible
>   qdev: Move qdev_prop_tpm declaration to tpm_prop.h
>   qdev: Rename qdev_get_prop_ptr() to object_field_prop_ptr()
>   qdev: Avoid unnecessary DeviceState* variable at set_prop_arraylen()
>
> Keqian Zhu (1):
>   bugfix: hostmem: Free host_nodes list right after visited


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/6.0
for any user-visible changes.

-- PMM