qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] fadb05: numa: hmat: fix cache size check


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] fadb05: numa: hmat: fix cache size check
Date: Fri, 28 Aug 2020 04:34:50 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: fadb055bd4abcb3f356854742c1493560a7d136e
      
https://github.com/qemu/qemu/commit/fadb055bd4abcb3f356854742c1493560a7d136e
  Author: Igor Mammedov <imammedo@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/core/numa.c

  Log Message:
  -----------
  numa: hmat: fix cache size check

when QEMU is started like:

qemu-system-x86_64 -smp 2 -machine hmat=on \
 -m 2G \
 -object memory-backend-ram,size=1G,id=m0 \
 -object memory-backend-ram,size=1G,id=m1 \
 -numa node,nodeid=0,memdev=m0 \
 -numa node,nodeid=1,memdev=m1,initiator=0 \
 -numa cpu,node-id=0,socket-id=0 \
 -numa cpu,node-id=0,socket-id=1 \
 -numa 
hmat-lb,initiator=0,target=0,hierarchy=memory,data-type=access-latency,latency=5
 \
 -numa 
hmat-lb,initiator=0,target=0,hierarchy=memory,data-type=access-bandwidth,bandwidth=200M
 \
 -numa 
hmat-lb,initiator=0,target=1,hierarchy=memory,data-type=access-latency,latency=10
 \
 -numa 
hmat-lb,initiator=0,target=1,hierarchy=memory,data-type=access-bandwidth,bandwidth=100M
 \
 -numa 
hmat-cache,node-id=0,size=8K,level=1,associativity=direct,policy=write-back,line=5
 \
 -numa 
hmat-cache,node-id=0,size=16K,level=2,associativity=direct,policy=write-back,line=5

it errors out with:
 -numa 
hmat-cache,node-id=0,size=16K,level=2,associativity=direct,policy=write-back,line=5:
        Invalid size=16384, the size of level=2 should be less than the 
size(8192) of level=1

which doesn't look right as one would expect that L1 < L2 < L3 ...
Fix it by sawpping relevant size checks.

Fixes: c412a48d4d91 (numa: Extend CLI to provide memory side cache information)
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20200821100519.1325691-1-imammedo@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: c51325d865110fc356f855544ac47d0afdeb0df6
      
https://github.com/qemu/qemu/commit/c51325d865110fc356f855544ac47d0afdeb0df6
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/net/e1000.c

  Log Message:
  -----------
  e1000: Rename QOM class cast macros

Rename the E1000_DEVICE_CLASS() and E1000_DEVICE_GET_CLASS()
macros to be consistent with the E1000() instance cast macro.

This will allow us to register the type cast macros using
OBJECT_DECLARE_TYPE later.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-2-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 2e0aec15905571fc485bff0ff9138c3bac48a5ad
      
https://github.com/qemu/qemu/commit/2e0aec15905571fc485bff0ff9138c3bac48a5ad
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/scsi/megasas.c

  Log Message:
  -----------
  megasas: Rename QOM class cast macros

Rename the MEGASAS_DEVICE_CLASS() and MEGASAS_DEVICE_GET_CLASS()
macros to be consistent with the MEGASAS() instance cast macro.

This will allow us to register the type cast macros using
OBJECT_DECLARE_TYPE later.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-3-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: bd7dff94607c77bbcb54295bcd075a79513e2c52
      
https://github.com/qemu/qemu/commit/bd7dff94607c77bbcb54295bcd075a79513e2c52
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/scsi/vmw_pvscsi.c

  Log Message:
  -----------
  vmw_pvscsi: Rename QOM class cast macros

Rename the PVSCSI_DEVICE_CLASS() and PVSCSI_DEVICE_GET_CLASS()
macros to be consistent with the PVSCSI() instance cast macro.

This will allow us to register the type cast macros using
OBJECT_DECLARE_TYPE later.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-4-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: c7bf34922d664fed6534492724160de71977f908
      
https://github.com/qemu/qemu/commit/c7bf34922d664fed6534492724160de71977f908
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/display/pl110.c

  Log Message:
  -----------
  pl110: Rename pl110_version enum values

The PL110 enum value name will conflict with the PL110 type cast
checker, when we replace the existing macro with an inline
function.  Add a VERSION_ prefix to all pl110_version enum
values, to avoid conflicts.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-5-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 4af44e1eca3a36cd7a1c68d73692bdd76fb8f7e4
      
https://github.com/qemu/qemu/commit/4af44e1eca3a36cd7a1c68d73692bdd76fb8f7e4
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/arm/allwinner-h3.c
    M hw/arm/orangepi.c
    M include/hw/arm/allwinner-h3.h

  Log Message:
  -----------
  allwinner-h3: Rename memmap enum constants

Some of the enum constant names conflict with the QOM type check
macros (AW_H3_CCU, AW_H3_SYSCTRL).  This needs to be addressed to
allow us to transform the QOM type check macros into functions
generated by OBJECT_DECLARE_TYPE().

Rename all the constants to AW_H3_DEV_*, to avoid conflicts.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Niek Linnenbank <nieklinnenbank@gmail.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-6-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 347df6f87616fbc496a1fef597dda2ab7b73be36
      
https://github.com/qemu/qemu/commit/347df6f87616fbc496a1fef597dda2ab7b73be36
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/arm/aspeed.c
    M hw/arm/aspeed_ast2600.c
    M hw/arm/aspeed_soc.c
    M include/hw/arm/aspeed_soc.h

  Log Message:
  -----------
  aspeed_soc: Rename memmap/irqmap enum constants

Some of the enum constant names conflict with the QOM type check
macros:

ASPEED_GPIO
ASPEED_I2C
ASPEED_RTC
ASPEED_SCU
ASPEED_SDHCI
ASPEED_SDMC
ASPEED_VIC
ASPEED_WDT
ASPEED_XDMA

This needs to be addressed to allow us to transform the QOM type
check macros into functions generated by OBJECT_DECLARE_TYPE().

Rename all the constants to ASPEED_DEV_*, to avoid conflicts.

Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-7-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 30c717cb50a6a2b65ffbdb7c95672feb09b26bba
      
https://github.com/qemu/qemu/commit/30c717cb50a6a2b65ffbdb7c95672feb09b26bba
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/riscv/opentitan.c
    M include/hw/riscv/opentitan.h

  Log Message:
  -----------
  opentitan: Rename memmap enum constants

Some of the enum constant names conflict with the QOM type check
macros (IBEX_PLIC, IBEX_UART).  This needs to be addressed to
allow us to transform the QOM type check macros into functions
generated by OBJECT_DECLARE_TYPE().

Rename all the constants to IBEX_DEV_*, to avoid conflicts.

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-8-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 0a258e94615fccf4faefec17378bcbc9e1f2be9c
      
https://github.com/qemu/qemu/commit/0a258e94615fccf4faefec17378bcbc9e1f2be9c
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M include/hw/timer/aspeed_timer.h

  Log Message:
  -----------
  aspeed_timer: Fix ASPEED_TIMER macro definition

The macro definition had an extra semicolon.  This was never
noticed because the macro was only being used where it didn't
make a difference.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-11-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 1fdbdaa7081eb1d3c9260d3a5399190688b20aed
      
https://github.com/qemu/qemu/commit/1fdbdaa7081eb1d3c9260d3a5399190688b20aed
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/pci-host/versatile.c

  Log Message:
  -----------
  versatile: Fix typo in PCI_VPB_HOST definition

Fixes: cd93dbf375bd ("versatile_pci: Update to realize and instance init 
functions")
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-12-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: f58b770fbbd9a9849f98d6a7ae63027a1c56d8b9
      
https://github.com/qemu/qemu/commit/f58b770fbbd9a9849f98d6a7ae63027a1c56d8b9
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/s390x/virtio-ccw.h

  Log Message:
  -----------
  virtio-ccw: Fix definition of VIRTIO_CCW_BUS_GET_CLASS

The macro was incorrectly defined using OBJECT_CHECK.

Acked-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-13-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: d48ad737df66be7d957c2cbc3db7a1b520101fce
      
https://github.com/qemu/qemu/commit/d48ad737df66be7d957c2cbc3db7a1b520101fce
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M include/sysemu/hvf.h

  Log Message:
  -----------
  hvf: Add missing include

The sysemu/accel.h header is needed for the ACCEL_CLASS_NAME
macro.  This will be necessary to allow us to use OBJECT_DEFINE*()
for TYPE_HVF_ACCEL.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Roman Bolshakov <r.bolshakov@yadro.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-14-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 79f6cf7e5976886d24276afc1fd4a0039e8f5972
      
https://github.com/qemu/qemu/commit/79f6cf7e5976886d24276afc1fd4a0039e8f5972
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/usb/hcd-dwc2.c
    M hw/usb/hcd-dwc2.h

  Log Message:
  -----------
  hcd-dwc2: Rename USB_*CLASS macros for consistency

Rename the DWC2_CLASS to DWC2_USB_CLASS and DWC2_GET_CLASS to
DWC2_USB_GET_CLASS, for consistency with the DWC2_USB macro.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-15-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 57af4d7fbcd0e9cf28f35d9480c0831d5657d9f2
      
https://github.com/qemu/qemu/commit/57af4d7fbcd0e9cf28f35d9480c0831d5657d9f2
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/net/tulip.c
    M hw/net/tulip.h

  Log Message:
  -----------
  tulip: Move TulipState typedef to header

Move typedef closer to the type check macros, to make it easier
to convert the code to OBJECT_DEFINE_TYPE() in the future.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-16-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 7c9dcd6cabfa96ea2a89dd12041f3e63aa20a09c
      
https://github.com/qemu/qemu/commit/7c9dcd6cabfa96ea2a89dd12041f3e63aa20a09c
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M block/throttle-groups.c
    M include/block/throttle-groups.h

  Log Message:
  -----------
  throttle-groups: Move ThrottleGroup typedef to header

Move typedef closer to the type check macros, to make it easier
to convert the code to OBJECT_DEFINE_TYPE() in the future.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-17-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 616bbde34293226e5c957761982ebaf1eff69d90
      
https://github.com/qemu/qemu/commit/616bbde34293226e5c957761982ebaf1eff69d90
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M include/hw/pci/pci.h
    M include/hw/pci/pci_bus.h

  Log Message:
  -----------
  pci: Move PCIBusClass typedef to pci.h

Move typedef closer to the type check macros, to make it easier
to convert the code to OBJECT_DEFINE_TYPE() in the future.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-18-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: cc963dcd7248db55b877d2ddd7b20a794d7ec182
      
https://github.com/qemu/qemu/commit/cc963dcd7248db55b877d2ddd7b20a794d7ec182
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M include/hw/timer/i8254.h
    M include/hw/timer/i8254_internal.h

  Log Message:
  -----------
  i8254: Move PITCommonState/PITCommonClass typedefs to i8254.h

Move typedef closer to the type check macros, to make it easier
to convert the code to OBJECT_DEFINE_TYPE() in the future.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-19-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 3932885af6878cc2486213c71c308cd5bc0db36b
      
https://github.com/qemu/qemu/commit/3932885af6878cc2486213c71c308cd5bc0db36b
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M include/sysemu/hvf.h
    M target/i386/hvf/hvf-i386.h

  Log Message:
  -----------
  hvf: Move HVFState typedef to hvf.h

Move typedef closer to the type check macros, to make it easier
to convert the code to OBJECT_DEFINE_TYPE() in the future.

Reviewed-by: Roman Bolshakov <r.bolshakov@yadro.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-20-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 3c03b563706bcf64ad4d8d63bd56e5bfb8141efc
      
https://github.com/qemu/qemu/commit/3c03b563706bcf64ad4d8d63bd56e5bfb8141efc
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/net/mcf_fec.c
    M include/hw/m68k/mcf_fec.h

  Log Message:
  -----------
  mcf_fec: Move mcf_fec_state typedef to header

Move typedef closer to the type check macros, to make it easier
to convert the code to OBJECT_DEFINE_TYPE() in the future.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-21-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: b13f9bdf318ddfe2e15ea619aadf71bed18bd555
      
https://github.com/qemu/qemu/commit/b13f9bdf318ddfe2e15ea619aadf71bed18bd555
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/intc/s390_flic_kvm.c
    M include/hw/s390x/s390_flic.h

  Log Message:
  -----------
  s390_flic: Move KVMS390FLICState typedef to header

Move typedef closer to the type check macros, to make it easier
to convert the code to OBJECT_DEFINE_TYPE() in the future.

Acked-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-22-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 5c8b0f2cc799e2431cedc60f8021b3cd78bd944a
      
https://github.com/qemu/qemu/commit/5c8b0f2cc799e2431cedc60f8021b3cd78bd944a
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M include/net/can_emu.h

  Log Message:
  -----------
  can_emu: Delete macros for non-existing typedef

CanBusClass doesn't exist.  This will break when we automatically
convert the code to use OBJECT_DEFINE_TYPE().  Delete the macros
that reference the non-existing typedef.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-23-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 6a567fbcf0b81b7e78bed9ef8397e4398c0cf059
      
https://github.com/qemu/qemu/commit/6a567fbcf0b81b7e78bed9ef8397e4398c0cf059
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M include/hw/nubus/nubus.h

  Log Message:
  -----------
  nubus: Delete unused NUBUS_BRIDGE macro

The macro never worked because the NubusBridge typedef doesn't
exist.  Delete it.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Acked-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-24-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 08e14bb7e060daa4415e52c85047b9332db0c9b0
      
https://github.com/qemu/qemu/commit/08e14bb7e060daa4415e52c85047b9332db0c9b0
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M include/hw/platform-bus.h

  Log Message:
  -----------
  platform-bus: Delete macros for non-existing typedef

PlatformBusDeviceClass doesn't exist.  This will break when we
automatically convert the code to use OBJECT_DEFINE_TYPE().
Delete the macros that reference the non-existing typedef.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-25-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 8055340fa5ec84640d6f9b3b9f427e9a4132011d
      
https://github.com/qemu/qemu/commit/8055340fa5ec84640d6f9b3b9f427e9a4132011d
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/arm/armsse.c
    M include/hw/arm/armsse.h

  Log Message:
  -----------
  armsse: Rename QOM macros to avoid conflicts

Rename TYPE_ARMSSE to TYPE_ARM_SSE, and ARMSSE*() type checking
macros to ARM_SSE*().

This will avoid a future conflict between an ARM_SSE() type
checking macro and the ARMSSE typedef name.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-26-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 694b3d28975d53c6c6ac444a6a896ce0d195c7d9
      
https://github.com/qemu/qemu/commit/694b3d28975d53c6c6ac444a6a896ce0d195c7d9
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M include/hw/xen/xen-legacy-backend.h

  Log Message:
  -----------
  xen-legacy-backend: Add missing typedef XenLegacyDevice

The typedef was used in the XENBACKEND_DEVICE macro, but it was
never defined.  Define the typedef close to the type checking
macro.

Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-27-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 82d1e74f1befb888b308ec9bce4ebce843b11a47
      
https://github.com/qemu/qemu/commit/82d1e74f1befb888b308ec9bce4ebce843b11a47
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M include/hw/ppc/spapr.h
    M include/hw/ppc/spapr_irq.h
    M include/hw/ppc/spapr_xive.h

  Log Message:
  -----------
  spapr: Move typedef SpaprMachineState to spapr.h

Move the typedef from spapr_irq.h to spapr.h, and use "struct
SpaprMachineState" in the spapr_*.h headers (to avoid circular
header dependencies).

This will make future conversion to OBJECT_DECLARE* easier.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-28-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 43f014407b83857aa7adb0b0becf76bedf35bc6f
      
https://github.com/qemu/qemu/commit/43f014407b83857aa7adb0b0becf76bedf35bc6f
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M include/hw/s390x/event-facility.h
    M include/hw/s390x/sclp.h

  Log Message:
  -----------
  s390x: Move typedef SCLPEventFacility to event-facility.h

This will make future conversion to OBJECT_DECLARE* easier.

In sclp.h, use "struct SCLPEventFacility" to avoid introducing
unnecessary header dependencies.

Acked-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-29-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 2504f868f3e69ce923bf9997ca1051ab053859fa
      
https://github.com/qemu/qemu/commit/2504f868f3e69ce923bf9997ca1051ab053859fa
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/display/vhost-user-gpu.c
    M include/hw/virtio/virtio-gpu.h

  Log Message:
  -----------
  vhost-user-gpu: Move QOM macro to header

Move the VHOST_USER_GPU type checking macro to virtio-gpu.h,
close to the TYPE_VHOST_USER_GPU #define.

This will make future conversion to OBJECT_DECLARE* easier.

Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-30-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 5e748ffbbf027ad1a8fcc41a24376d63d48992ac
      
https://github.com/qemu/qemu/commit/5e748ffbbf027ad1a8fcc41a24376d63d48992ac
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/ide/ahci_internal.h
    M include/hw/ide/ahci.h

  Log Message:
  -----------
  ahci: Move QOM macros to header

The TYPE_* constants and the typedefs are defined in ahci.h, so
we can move the type checking macros there too.

This will make future conversion to OBJECT_DECLARE* easier.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-31-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: e6fcd78008e2ba757e1577c6d67520d6be62c96c
      
https://github.com/qemu/qemu/commit/e6fcd78008e2ba757e1577c6d67520d6be62c96c
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/dma/i8257.c
    M include/hw/dma/i8257.h

  Log Message:
  -----------
  i8257: Move QOM macro to header

Move the I8257 macro to i8257.h, close to the TYPE_I8257 define.

This will make future conversion to OBJECT_DECLARE* easier.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-32-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: dc15d9eb419c9c27e3c76741320b5134b15f4d57
      
https://github.com/qemu/qemu/commit/dc15d9eb419c9c27e3c76741320b5134b15f4d57
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/ide/ahci-allwinner.c
    M include/hw/ide/ahci.h

  Log Message:
  -----------
  ahci: Move QOM macro to header

Move the ALLWINNER_AHCI macro close to the TYPE_ALLWINNER_AHCI
define.

This will make future conversion to OBJECT_DECLARE* easier.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-33-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 41ea82055c7cd5dbcdeb61236eae4272a64bb5f6
      
https://github.com/qemu/qemu/commit/41ea82055c7cd5dbcdeb61236eae4272a64bb5f6
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/input/pckbd.c
    M include/hw/input/i8042.h

  Log Message:
  -----------
  pckbd: Move QOM macro to header

Move the I8042 macro close to the TYPE_I8042 define.

This will make future conversion to OBJECT_DECLARE* easier.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-34-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 240b6cd71798e423f55b347bba6bf05da2da7e18
      
https://github.com/qemu/qemu/commit/240b6cd71798e423f55b347bba6bf05da2da7e18
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/hyperv/vmbus.c
    M include/hw/hyperv/vmbus-bridge.h
    M include/hw/hyperv/vmbus.h

  Log Message:
  -----------
  vmbus: Move QOM macros to vmbus.h

Move all declarations related to TYPE_VMBUS to the same place in
vmbus.h.

This will make future conversion to OBJECT_DECLARE* easier.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-35-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: b28b80376bdea1c73f6ab398fd44ebd30e91f2f9
      
https://github.com/qemu/qemu/commit/b28b80376bdea1c73f6ab398fd44ebd30e91f2f9
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/char/virtio-serial-bus.c
    M include/hw/virtio/virtio-serial.h

  Log Message:
  -----------
  virtio-serial-bus: Move QOM macros to header

This will make future conversion to OBJECT_DECLARE* easier.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-36-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: fe47ad3aa98b7741b3749fbd60205b39b444d05a
      
https://github.com/qemu/qemu/commit/fe47ad3aa98b7741b3749fbd60205b39b444d05a
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/isa/piix3.c
    M include/hw/southbridge/piix.h

  Log Message:
  -----------
  piix: Move QOM macros to header

This will make future conversion to OBJECT_DECLARE* easier.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-37-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: cb8cf86b3e4a9384f847c05e3825a20a0786efd0
      
https://github.com/qemu/qemu/commit/cb8cf86b3e4a9384f847c05e3825a20a0786efd0
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/misc/auxbus.c
    M include/hw/misc/auxbus.h

  Log Message:
  -----------
  auxbus: Move QOM macros to header

This will make future conversion to OBJECT_DECLARE* easier.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-38-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 8eeb6f3624e2bfd7acda5482b81c1f429f48dacb
      
https://github.com/qemu/qemu/commit/8eeb6f3624e2bfd7acda5482b81c1f429f48dacb
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/net/rocker/rocker.c
    M hw/net/rocker/rocker.h

  Log Message:
  -----------
  rocker: Move QOM macros to header

This will make future conversion to OBJECT_DECLARE* easier.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-39-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 2d8eb5f85f054cbde8786dc7db56eb2c6feb0db3
      
https://github.com/qemu/qemu/commit/2d8eb5f85f054cbde8786dc7db56eb2c6feb0db3
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/arm/pxa2xx.c
    M hw/pcmcia/pxa2xx.c
    M hw/sd/pxa2xx_mmci.c
    M include/hw/arm/pxa.h

  Log Message:
  -----------
  pxa2xx: Move QOM macros to header

This will make future conversion to OBJECT_DECLARE* easier.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-40-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 040c1fd35c7c352759e710a4caa01a633049ade6
      
https://github.com/qemu/qemu/commit/040c1fd35c7c352759e710a4caa01a633049ade6
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/scsi/mptsas.c
    M hw/scsi/mptsas.h

  Log Message:
  -----------
  mptsas: Move QOM macros to header

This will make future conversion to OBJECT_DECLARE* easier.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-41-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 97e622ded7f596f95915c32d5a92bf017ffa3959
      
https://github.com/qemu/qemu/commit/97e622ded7f596f95915c32d5a92bf017ffa3959
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M include/sysemu/kvm.h
    M include/sysemu/kvm_int.h

  Log Message:
  -----------
  kvm: Move QOM macros to kvm.h

Move QOM macros close to the KVMState typedef.

This will make future conversion to OBJECT_DECLARE* easier.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-42-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 42db0fb5e090c21fbb88ea1b8e7472035e953259
      
https://github.com/qemu/qemu/commit/42db0fb5e090c21fbb88ea1b8e7472035e953259
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/vfio/pci.c
    M hw/vfio/pci.h

  Log Message:
  -----------
  vfio/pci: Move QOM macros to header

This will make future conversion to OBJECT_DECLARE* easier.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-43-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 001040158d5d46cc111dd9382a4a61153296b611
      
https://github.com/qemu/qemu/commit/001040158d5d46cc111dd9382a4a61153296b611
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/display/macfb.c
    M include/hw/display/macfb.h

  Log Message:
  -----------
  nubus: Rename class type checking macros

Rename the existing class type checking macros to be consistent
with the type name and instance type checking macro.  Use a
NUBUS_MACFB prefix instead of MACFB_NUBUS.

This will make future conversion to OBJECT_DECLARE* easier.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Laurent Vivier <laurent@vivier.eu>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-44-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: b1af5872ff02e5793a94973960d2a68eb6812f94
      
https://github.com/qemu/qemu/commit/b1af5872ff02e5793a94973960d2a68eb6812f94
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/s390x/s390-virtio-ccw.c
    M include/hw/s390x/s390-virtio-ccw.h

  Log Message:
  -----------
  s390-virtio-ccw: Rename S390_MACHINE_CLASS macro

Rename it to be consistent with S390_CCW_MACHINE and
TYPE_S390_CCW_MACHINE.

This will make future conversion to OBJECT_DECLARE* easier.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-49-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: b694ed1f56ade7e2fa0951718c9cdce78b892ddf
      
https://github.com/qemu/qemu/commit/b694ed1f56ade7e2fa0951718c9cdce78b892ddf
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/block/swim.c
    M include/hw/block/swim.h

  Log Message:
  -----------
  swim: Rename struct SWIM to Swim

Currently we have a SWIM typedef and a SWIM type checking macro,
but OBJECT_DECLARE* would transform the SWIM macro into a
function, and the function name would conflict with the SWIM
typedef name.

Rename the struct and typedef to "Swim". This will make future
conversion to OBJECT_DECLARE* easier.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Laurent Vivier <laurent@vivier.eu>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-50-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 6c725351c301dbffd4b197bf85e392a1e9dbef2e
      
https://github.com/qemu/qemu/commit/6c725351c301dbffd4b197bf85e392a1e9dbef2e
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M migration/migration.h

  Log Message:
  -----------
  migration: Rename class type checking macros

Rename the macros to make them consistent with the MIGRATION_OBJ
macro name.

This will make future conversion to OBJECT_DECLARE* easier.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-51-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: f7d82e9bcdac9e22ffaab105a7598dda1ba501fc
      
https://github.com/qemu/qemu/commit/f7d82e9bcdac9e22ffaab105a7598dda1ba501fc
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/net/fsl_etsec/etsec.c

  Log Message:
  -----------
  etsec: Use TYPE_ETSEC_COMMON constant

This will make future conversion to use OBJECT_DECLARE* easier.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Message-Id: <20200826184334.4120620-2-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 04d8dbb102684808e5b670bb6fc26d1b4f2ed5dd
      
https://github.com/qemu/qemu/commit/04d8dbb102684808e5b670bb6fc26d1b4f2ed5dd
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/intc/nios2_iic.c

  Log Message:
  -----------
  nios2_iic: Use TYPE_ALTERA_IIC constant

This will make future conversion to use OBJECT_DECLARE* easier.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Message-Id: <20200826184334.4120620-3-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: e91830b1212bdfb216c3561fcba58bab180be093
      
https://github.com/qemu/qemu/commit/e91830b1212bdfb216c3561fcba58bab180be093
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/i386/amd_iommu.c

  Log Message:
  -----------
  amd_iommu: Use TYPE_AMD_IOMMU_PCI constant

This will make future conversion to use OBJECT_DECLARE* easier.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20200826184334.4120620-4-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 1a3bae794b982d3578af8f667c14ad753db60efd
      
https://github.com/qemu/qemu/commit/1a3bae794b982d3578af8f667c14ad753db60efd
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/char/sclpconsole-lm.c
    M hw/char/sclpconsole.c

  Log Message:
  -----------
  sclpconsole: Use TYPE_* constants

This will make future conversion to use OBJECT_DECLARE* easier.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20200826184334.4120620-5-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 0b43132f3067430687b7dbd7d0c2256fe6471ea2
      
https://github.com/qemu/qemu/commit/0b43132f3067430687b7dbd7d0c2256fe6471ea2
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/arm/xlnx-zcu102.c

  Log Message:
  -----------
  xlnx-zcu102: Use TYPE_ZCU102_MACHINE constant

This will make future conversion to use OBJECT_DECLARE* easier.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Message-Id: <20200826184334.4120620-6-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: c58a7deff8a973f5f7c1d4f9e6a125f6b4c3c4f8
      
https://github.com/qemu/qemu/commit/c58a7deff8a973f5f7c1d4f9e6a125f6b4c3c4f8
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/arm/tosa.c

  Log Message:
  -----------
  tosa: Use TYPE_TOSA_MISC_GPIO constant

This will make future conversion to use OBJECT_DECLARE* easier.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Message-Id: <20200826184334.4120620-7-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 8c2eedcea30eb62b655c0ace09b1ccad5b9ea628
      
https://github.com/qemu/qemu/commit/8c2eedcea30eb62b655c0ace09b1ccad5b9ea628
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/pci-host/ppce500.c

  Log Message:
  -----------
  ppce500: Use TYPE_PPC_E500_PCI_BRIDGE constant

This will make future conversion to use OBJECT_DECLARE* easier.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Message-Id: <20200826184334.4120620-8-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 92951316dc0b66a41b04edb5dcf3f4a7a2470a61
      
https://github.com/qemu/qemu/commit/92951316dc0b66a41b04edb5dcf3f4a7a2470a61
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M hw/scsi/esp-pci.c

  Log Message:
  -----------
  dc390: Use TYPE_DC390_DEVICE constant

This will make future conversion to use OBJECT_DECLARE* easier.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Message-Id: <20200826184334.4120620-9-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 3e39dac0354c39b4b647940e42360c6b1f3edc02
      
https://github.com/qemu/qemu/commit/3e39dac0354c39b4b647940e42360c6b1f3edc02
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2020-08-28 (Fri, 28 Aug 2020)

  Changed paths:
    M block/throttle-groups.c
    M hw/arm/allwinner-h3.c
    M hw/arm/armsse.c
    M hw/arm/aspeed.c
    M hw/arm/aspeed_ast2600.c
    M hw/arm/aspeed_soc.c
    M hw/arm/orangepi.c
    M hw/arm/pxa2xx.c
    M hw/arm/tosa.c
    M hw/arm/xlnx-zcu102.c
    M hw/block/swim.c
    M hw/char/sclpconsole-lm.c
    M hw/char/sclpconsole.c
    M hw/char/virtio-serial-bus.c
    M hw/core/numa.c
    M hw/display/macfb.c
    M hw/display/pl110.c
    M hw/display/vhost-user-gpu.c
    M hw/dma/i8257.c
    M hw/hyperv/vmbus.c
    M hw/i386/amd_iommu.c
    M hw/ide/ahci-allwinner.c
    M hw/ide/ahci_internal.h
    M hw/input/pckbd.c
    M hw/intc/nios2_iic.c
    M hw/intc/s390_flic_kvm.c
    M hw/isa/piix3.c
    M hw/misc/auxbus.c
    M hw/net/e1000.c
    M hw/net/fsl_etsec/etsec.c
    M hw/net/mcf_fec.c
    M hw/net/rocker/rocker.c
    M hw/net/rocker/rocker.h
    M hw/net/tulip.c
    M hw/net/tulip.h
    M hw/pci-host/ppce500.c
    M hw/pci-host/versatile.c
    M hw/pcmcia/pxa2xx.c
    M hw/riscv/opentitan.c
    M hw/s390x/s390-virtio-ccw.c
    M hw/s390x/virtio-ccw.h
    M hw/scsi/esp-pci.c
    M hw/scsi/megasas.c
    M hw/scsi/mptsas.c
    M hw/scsi/mptsas.h
    M hw/scsi/vmw_pvscsi.c
    M hw/sd/pxa2xx_mmci.c
    M hw/usb/hcd-dwc2.c
    M hw/usb/hcd-dwc2.h
    M hw/vfio/pci.c
    M hw/vfio/pci.h
    M include/block/throttle-groups.h
    M include/hw/arm/allwinner-h3.h
    M include/hw/arm/armsse.h
    M include/hw/arm/aspeed_soc.h
    M include/hw/arm/pxa.h
    M include/hw/block/swim.h
    M include/hw/display/macfb.h
    M include/hw/dma/i8257.h
    M include/hw/hyperv/vmbus-bridge.h
    M include/hw/hyperv/vmbus.h
    M include/hw/ide/ahci.h
    M include/hw/input/i8042.h
    M include/hw/m68k/mcf_fec.h
    M include/hw/misc/auxbus.h
    M include/hw/nubus/nubus.h
    M include/hw/pci/pci.h
    M include/hw/pci/pci_bus.h
    M include/hw/platform-bus.h
    M include/hw/ppc/spapr.h
    M include/hw/ppc/spapr_irq.h
    M include/hw/ppc/spapr_xive.h
    M include/hw/riscv/opentitan.h
    M include/hw/s390x/event-facility.h
    M include/hw/s390x/s390-virtio-ccw.h
    M include/hw/s390x/s390_flic.h
    M include/hw/s390x/sclp.h
    M include/hw/southbridge/piix.h
    M include/hw/timer/aspeed_timer.h
    M include/hw/timer/i8254.h
    M include/hw/timer/i8254_internal.h
    M include/hw/virtio/virtio-gpu.h
    M include/hw/virtio/virtio-serial.h
    M include/hw/xen/xen-legacy-backend.h
    M include/net/can_emu.h
    M include/sysemu/hvf.h
    M include/sysemu/kvm.h
    M include/sysemu/kvm_int.h
    M migration/migration.h
    M target/i386/hvf/hvf-i386.h

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

Machine queue + QOM fixes and cleanups

Bug fix:
* numa: hmat: fix cache size check (Igor Mammedov)

QOM fixes and cleanups:
* Move QOM macros and typedefs to header files
* Use TYPE_* constants on TypeInfo structs
* Rename QOM type checking macros for consistency
* Rename enum values and typedefs that conflict with QOM
  type checking amcros
* Fix typos on QOM type checking macros
* Delete unused QOM type checking macros that use
  non-existing typedefs
* hvf: Add missing include
* xen-legacy-backend: Add missing typedef XenLegacyDevice

# gpg: Signature made Thu 27 Aug 2020 20:20:05 BST
# 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/tags/machine-next-pull-request: (53 commits)
  dc390: Use TYPE_DC390_DEVICE constant
  ppce500: Use TYPE_PPC_E500_PCI_BRIDGE constant
  tosa: Use TYPE_TOSA_MISC_GPIO constant
  xlnx-zcu102: Use TYPE_ZCU102_MACHINE constant
  sclpconsole: Use TYPE_* constants
  amd_iommu: Use TYPE_AMD_IOMMU_PCI constant
  nios2_iic: Use TYPE_ALTERA_IIC constant
  etsec: Use TYPE_ETSEC_COMMON constant
  migration: Rename class type checking macros
  swim: Rename struct SWIM to Swim
  s390-virtio-ccw: Rename S390_MACHINE_CLASS macro
  nubus: Rename class type checking macros
  vfio/pci: Move QOM macros to header
  kvm: Move QOM macros to kvm.h
  mptsas: Move QOM macros to header
  pxa2xx: Move QOM macros to header
  rocker: Move QOM macros to header
  auxbus: Move QOM macros to header
  piix: Move QOM macros to header
  virtio-serial-bus: Move QOM macros to header
  ...

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


Compare: https://github.com/qemu/qemu/compare/332657245b59...3e39dac0354c



reply via email to

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