qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] ce35e2: qdev: Move softmmu properties to qdev


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] ce35e2: qdev: Move softmmu properties to qdev-properties-s...
Date: Sat, 02 Jan 2021 05:34:44 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: ce35e2295ea10caa97e223c1254e345a888e7ed8
      
https://github.com/qemu/qemu/commit/ce35e2295ea10caa97e223c1254e345a888e7ed8
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-12-18 (Fri, 18 Dec 2020)

  Changed paths:
    M audio/audio.h
    M hw/acpi/vmgenid.c
    M hw/arm/pxa2xx.c
    M hw/arm/strongarm.c
    M hw/block/fdc.c
    M hw/block/m25p80.c
    M hw/block/nand.c
    M hw/block/onenand.c
    M hw/block/pflash_cfi01.c
    M hw/block/pflash_cfi02.c
    M hw/block/vhost-user-blk.c
    M hw/char/avr_usart.c
    M hw/char/bcm2835_aux.c
    M hw/char/cadence_uart.c
    M hw/char/cmsdk-apb-uart.c
    M hw/char/debugcon.c
    M hw/char/digic-uart.c
    M hw/char/escc.c
    M hw/char/etraxfs_ser.c
    M hw/char/exynos4210_uart.c
    M hw/char/grlib_apbuart.c
    M hw/char/ibex_uart.c
    M hw/char/imx_serial.c
    M hw/char/ipoctal232.c
    M hw/char/lm32_juart.c
    M hw/char/lm32_uart.c
    M hw/char/mcf_uart.c
    M hw/char/milkymist-uart.c
    M hw/char/nrf51_uart.c
    M hw/char/parallel.c
    M hw/char/pl011.c
    M hw/char/renesas_sci.c
    M hw/char/sclpconsole-lm.c
    M hw/char/sclpconsole.c
    M hw/char/serial-pci-multi.c
    M hw/char/serial.c
    M hw/char/spapr_vty.c
    M hw/char/stm32f2xx_usart.c
    M hw/char/terminal3270.c
    M hw/char/virtio-console.c
    M hw/char/xilinx_uartlite.c
    M hw/core/qdev-properties-system.c
    M hw/hyperv/vmbus.c
    M hw/i386/kvm/i8254.c
    M hw/ide/qdev.c
    M hw/ipmi/ipmi_bmc_extern.c
    M hw/ipmi/ipmi_bmc_sim.c
    M hw/misc/allwinner-sid.c
    M hw/misc/ivshmem.c
    M hw/misc/mac_via.c
    M hw/misc/sifive_u_otp.c
    M hw/net/rocker/rocker.c
    M hw/nvram/eeprom_at24c.c
    M hw/nvram/spapr_nvram.c
    M hw/pci-bridge/gen_pcie_root_port.c
    M hw/pci/pci.c
    M hw/ppc/pnv_pnor.c
    M hw/rdma/vmw/pvrdma_main.c
    M hw/rtc/mc146818rtc.c
    M hw/scsi/scsi-disk.c
    M hw/scsi/scsi-generic.c
    M hw/scsi/vhost-user-scsi.c
    M hw/sd/sd.c
    M hw/usb/ccid-card-passthru.c
    M hw/usb/dev-serial.c
    M hw/usb/redirect.c
    M hw/vfio/pci.c
    M hw/virtio/vhost-user-fs.c
    M hw/virtio/vhost-user-vsock.c
    M hw/virtio/virtio-iommu-pci.c
    M hw/xen/xen_pt.c
    M include/hw/block/block.h
    A include/hw/qdev-properties-system.h
    M include/hw/qdev-properties.h
    M include/net/net.h
    M migration/migration.c

  Log Message:
  -----------
  qdev: Move softmmu properties to qdev-properties-system.h

Move the property types and property macros implemented in
qdev-properties-system.c to a new qdev-properties-system.h
header.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20201211220529.2290218-16-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 45efa07f0f0cc8b3a6514c9743d29d73693aa8b1
      
https://github.com/qemu/qemu/commit/45efa07f0f0cc8b3a6514c9743d29d73693aa8b1
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-12-18 (Fri, 18 Dec 2020)

  Changed paths:
    M include/hw/qdev-properties-system.h
    M include/hw/qdev-properties.h

  Log Message:
  -----------
  qdev: Reuse DEFINE_PROP in all DEFINE_PROP_* macros

Instead of duplicating the code that sets name, info, offset,
and does type checking, make DEFINE_PROP accept a variable number
of arguments and reuse it in all DEFINE_PROP_* macros.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20201211220529.2290218-17-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 43b6ab4c673418e3dd4391a137132ca8ed7f9a99
      
https://github.com/qemu/qemu/commit/43b6ab4c673418e3dd4391a137132ca8ed7f9a99
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-12-18 (Fri, 18 Dec 2020)

  Changed paths:
    M target/sparc/cpu.c

  Log Message:
  -----------
  sparc: Use DEFINE_PROP for nwindows property

Use the DEFINE_PROP macro (which will set extra fields in the
struct) instead of initializing a Property struct manually.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20201211220529.2290218-18-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: e68c2cb75af2960dc6ad9705e71ab9cd97b901f6
      
https://github.com/qemu/qemu/commit/e68c2cb75af2960dc6ad9705e71ab9cd97b901f6
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-12-18 (Fri, 18 Dec 2020)

  Changed paths:
    M hw/core/qdev-properties-system.c
    M hw/core/qdev-properties.c
    M hw/s390x/css.c
    M include/hw/qdev-properties.h

  Log Message:
  -----------
  qdev: Get just property name at error_set_from_qdev_prop_error()

Replace `Property *prop` parameter with `char *name`, to reduce
dependency of getter and setter functions on the Property struct
(which will be changed in following patches).

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20201211220529.2290218-19-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 991f0ac90151fe1bf51a1630938041a5c5745fb9
      
https://github.com/qemu/qemu/commit/991f0ac90151fe1bf51a1630938041a5c5745fb9
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-12-18 (Fri, 18 Dec 2020)

  Changed paths:
    M backends/tpm/tpm_util.c
    M hw/core/qdev-properties-system.c
    M hw/core/qdev-properties.c

  Log Message:
  -----------
  qdev: Avoid using prop->name unnecessarily

We already get the property name as argument to the property
getter and setters, we don't need to use prop->name.  This will
make it easier to remove the Property.name field in the future.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20201211220529.2290218-20-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 23a1dae8c16e7e9e728dc8ae2daaece974bd7d01
      
https://github.com/qemu/qemu/commit/23a1dae8c16e7e9e728dc8ae2daaece974bd7d01
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-12-18 (Fri, 18 Dec 2020)

  Changed paths:
    M hw/core/qdev-properties.c

  Log Message:
  -----------
  qdev: Add name parameter to qdev_class_add_property()

This will make it easier to remove Property.name in the future.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20201211220529.2290218-21-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: c80fab0b61ee7d801caa4d04c3d014e76cd836c8
      
https://github.com/qemu/qemu/commit/c80fab0b61ee7d801caa4d04c3d014e76cd836c8
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-12-18 (Fri, 18 Dec 2020)

  Changed paths:
    M hw/core/qdev-properties.c
    M include/hw/qdev-properties.h

  Log Message:
  -----------
  qdev: Add name argument to PropertyInfo.create method

This will make it easier to remove the Property.name field in the
future.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20201211220529.2290218-22-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 7ed854af1401d62be9b232d4b67d8a75418e96b2
      
https://github.com/qemu/qemu/commit/7ed854af1401d62be9b232d4b67d8a75418e96b2
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-12-18 (Fri, 18 Dec 2020)

  Changed paths:
    M hw/core/qdev-properties.c

  Log Message:
  -----------
  qdev: Wrap getters and setters in separate helpers

We'll add extra code to the qdev property getters and setters, so
add wrapper functions where additional actions can be performed.

The new functions have a "field_prop_" prefix instead of "qdev_"
because the code will eventually be moved outside
qdev-properties.c, to common QOM code.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20201211220529.2290218-23-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: ea7c1e5c3ed0f138f67a7c26a4219827845eb545
      
https://github.com/qemu/qemu/commit/ea7c1e5c3ed0f138f67a7c26a4219827845eb545
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-12-18 (Fri, 18 Dec 2020)

  Changed paths:
    M backends/tpm/tpm_util.c
    M hw/block/xen-block.c
    M hw/core/qdev-properties-system.c
    M hw/core/qdev-properties.c
    M hw/s390x/css.c
    M hw/s390x/s390-pci-bus.c
    M hw/vfio/pci-quirks.c
    M target/sparc/cpu.c

  Log Message:
  -----------
  qdev: Move dev->realized check to qdev_property_set()

Every single qdev property setter function manually checks
dev->realized.  We can just check dev->realized inside
qdev_property_set() instead.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Paul Durrant <paul@xen.org>
Message-Id: <20201211220529.2290218-24-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: f59c6d223def66df90c0b91415eb96d7ed5e058b
      
https://github.com/qemu/qemu/commit/f59c6d223def66df90c0b91415eb96d7ed5e058b
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-12-18 (Fri, 18 Dec 2020)

  Changed paths:
    M hw/core/qdev-properties.c
    M include/hw/qdev-properties.h

  Log Message:
  -----------
  qdev: Make PropertyInfo.create return ObjectProperty*

Returning ObjectProperty* will be useful for new property
registration code that will add additional callbacks
to ObjectProperty after registering it.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20201211220529.2290218-25-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 0d5d5bc58b3b1af3b25411642537464bac1d0583
      
https://github.com/qemu/qemu/commit/0d5d5bc58b3b1af3b25411642537464bac1d0583
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-12-18 (Fri, 18 Dec 2020)

  Changed paths:
    M hw/core/qdev-properties.c

  Log Message:
  -----------
  qdev: Make qdev_class_add_property() more flexible

Support Property.set_default and PropertyInfo.description even if
PropertyInfo.create is set.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20201211220529.2290218-26-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 8f2aff643caad71c45c70da1af285e5a3330d518
      
https://github.com/qemu/qemu/commit/8f2aff643caad71c45c70da1af285e5a3330d518
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-12-18 (Fri, 18 Dec 2020)

  Changed paths:
    M hw/tpm/tpm_prop.h
    M include/hw/qdev-properties.h

  Log Message:
  -----------
  qdev: Move qdev_prop_tpm declaration to tpm_prop.h

Move the variable declaration close to the macro that uses it.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20201211220529.2290218-29-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 1e198715e12ae86c4942a0a2d1df29beabccc295
      
https://github.com/qemu/qemu/commit/1e198715e12ae86c4942a0a2d1df29beabccc295
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-12-18 (Fri, 18 Dec 2020)

  Changed paths:
    M backends/tpm/tpm_util.c
    M hw/block/xen-block.c
    M hw/core/qdev-properties-system.c
    M hw/core/qdev-properties.c
    M hw/s390x/css.c
    M hw/s390x/s390-pci-bus.c
    M hw/vfio/pci-quirks.c
    M include/hw/qdev-properties.h

  Log Message:
  -----------
  qdev: Rename qdev_get_prop_ptr() to object_field_prop_ptr()

The function will be moved to common QOM code, as it is not
specific to TYPE_DEVICE anymore.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Paul Durrant <paul@xen.org>
Message-Id: <20201211220529.2290218-31-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: f405e3cdffe9d370867aeeef899863d619c32e26
      
https://github.com/qemu/qemu/commit/f405e3cdffe9d370867aeeef899863d619c32e26
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-12-18 (Fri, 18 Dec 2020)

  Changed paths:
    M hw/core/qdev-properties.c

  Log Message:
  -----------
  qdev: Avoid unnecessary DeviceState* variable at set_prop_arraylen()

We're just doing pointer math with the device pointer, we can
simply use obj instead.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20201211220529.2290218-32-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: bdd5ce050d086e9f63874f1f36e9e39fa27a976c
      
https://github.com/qemu/qemu/commit/bdd5ce050d086e9f63874f1f36e9e39fa27a976c
  Author: Keqian Zhu <zhukeqian1@huawei.com>
  Date:   2020-12-18 (Fri, 18 Dec 2020)

  Changed paths:
    M backends/hostmem.c

  Log Message:
  -----------
  bugfix: hostmem: Free host_nodes list right after visited

In host_memory_backend_get_host_nodes, we build host_nodes
list and output it to v (a StringOutputVisitor) but forget
to free the list. This fixes the memory leak.

The memory leak stack:

 Direct leak of 32 byte(s) in 2 object(s) allocated from:
    #0 0xfffda30b3393 in __interceptor_calloc (/usr/lib64/libasan.so.4+0xd3393)
    #1 0xfffda1d28b9b in g_malloc0 (/usr/lib64/libglib-2.0.so.0+0x58b9b)
    #2 0xaaab05ca6e43 in host_memory_backend_get_host_nodes 
backends/hostmem.c:94
    #3 0xaaab061ddf83 in object_property_get_uint16List qom/object.c:1478
    #4 0xaaab05866513 in query_memdev hw/core/machine-qmp-cmds.c:312
    #5 0xaaab061d980b in do_object_child_foreach qom/object.c:1001
    #6 0xaaab0586779b in qmp_query_memdev hw/core/machine-qmp-cmds.c:328
    #7 0xaaab0615ed3f in qmp_marshal_query_memdev 
qapi/qapi-commands-machine.c:327
    #8 0xaaab0632d647 in do_qmp_dispatch qapi/qmp-dispatch.c:147
    #9 0xaaab0632d647 in qmp_dispatch qapi/qmp-dispatch.c:190
    #10 0xaaab0610f74b in monitor_qmp_dispatch monitor/qmp.c:120
    #11 0xaaab0611074b in monitor_qmp_bh_dispatcher monitor/qmp.c:209
    #12 0xaaab063caefb in aio_bh_poll util/async.c:117
    #13 0xaaab063d30fb in aio_dispatch util/aio-posix.c:459
    #14 0xaaab063cac8f in aio_ctx_dispatch util/async.c:268
    #15 0xfffda1d22a6b in g_main_context_dispatch 
(/usr/lib64/libglib-2.0.so.0+0x52a6b)
    #16 0xaaab063d0e97 in glib_pollfds_poll util/main-loop.c:218
    #17 0xaaab063d0e97 in os_host_main_loop_wait util/main-loop.c:241
    #18 0xaaab063d0e97 in main_loop_wait util/main-loop.c:517
    #19 0xaaab05c8bfa7 in main_loop /root/rpmbuild/BUILD/qemu-4.1.0/vl.c:1791
    #20 0xaaab05713bc3 in main /root/rpmbuild/BUILD/qemu-4.1.0/vl.c:4473
    #21 0xfffda0a83ebf in __libc_start_main (/usr/lib64/libc.so.6+0x23ebf)
    #22 0xaaab0571ed5f  (aarch64-softmmu/qemu-system-aarch64+0x88ed5f)
 SUMMARY: AddressSanitizer: 32 byte(s) leaked in 2 allocation(s).

Fixes: 4cf1b76bf1e2 (hostmem: add properties for NUMA memory policy)
Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com>
Tested-by: Chen Qun <kuhn.chenqun@huawei.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20201210075226.20196-1-zhukeqian1@huawei.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 41192db338588051f21501abc13743e62b0a5605
      
https://github.com/qemu/qemu/commit/41192db338588051f21501abc13743e62b0a5605
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-01-01 (Fri, 01 Jan 2021)

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

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/ehabkost-gl/tags/machine-next-pull-request' into staging

Machine queue, 2020-12-23

Cleanup:
* qdev code cleanup (Eduardo Habkost)

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

# gpg: Signature made Wed 23 Dec 2020 21:25:58 GMT
# gpg:                using RSA key 5A322FD5ABC4D3DBACCFD1AA2807936F984DC5A6
# gpg:                issuer "ehabkost@redhat.com"
# gpg: Good signature from "Eduardo Habkost <ehabkost@redhat.com>" [full]
# Primary key fingerprint: 5A32 2FD5 ABC4 D3DB ACCF  D1AA 2807 936F 984D C5A6

* remotes/ehabkost-gl/tags/machine-next-pull-request:
  bugfix: hostmem: Free host_nodes list right after visited
  qdev: Avoid unnecessary DeviceState* variable at set_prop_arraylen()
  qdev: Rename qdev_get_prop_ptr() to object_field_prop_ptr()
  qdev: Move qdev_prop_tpm declaration to tpm_prop.h
  qdev: Make qdev_class_add_property() more flexible
  qdev: Make PropertyInfo.create return ObjectProperty*
  qdev: Move dev->realized check to qdev_property_set()
  qdev: Wrap getters and setters in separate helpers
  qdev: Add name argument to PropertyInfo.create method
  qdev: Add name parameter to qdev_class_add_property()
  qdev: Avoid using prop->name unnecessarily
  qdev: Get just property name at error_set_from_qdev_prop_error()
  sparc: Use DEFINE_PROP for nwindows property
  qdev: Reuse DEFINE_PROP in all DEFINE_PROP_* macros
  qdev: Move softmmu properties to qdev-properties-system.h

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/83734919c408...41192db33858



reply via email to

[Prev in Thread] Current Thread [Next in Thread]