qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 0380ae: qom-test: Test qom-list on link<> pro


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 0380ae: qom-test: Test qom-list on link<> properties
Date: Wed, 28 May 2014 11:30:06 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 0380aef323154205a7d838fb9953423621290d41
      
https://github.com/qemu/qemu/commit/0380aef323154205a7d838fb9953423621290d41
  Author: Cole Robinson <address@hidden>
  Date:   2014-05-28 (Wed, 28 May 2014)

  Changed paths:
    M tests/qom-test.c

  Log Message:
  -----------
  qom-test: Test qom-list on link<> properties

But don't test their properties, otherwise we will recurse forever.
Their properties are already tested when we encounter them as child<>
properties elsewhere in the hierarchy, like /machine/unattached/...

This would have caught the crash fixed by 92b3eead.

Signed-off-by: Cole Robinson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 3ef9622182e598392855931e7a0437d3855cef5e
      
https://github.com/qemu/qemu/commit/3ef9622182e598392855931e7a0437d3855cef5e
  Author: Marcel Apfelbaum <address@hidden>
  Date:   2014-05-28 (Wed, 28 May 2014)

  Changed paths:
    M hw/alpha/dp264.c
    M hw/arm/collie.c
    M hw/arm/cubieboard.c
    M hw/arm/digic_boards.c
    M hw/arm/exynos4_boards.c
    M hw/arm/gumstix.c
    M hw/arm/highbank.c
    M hw/arm/integratorcp.c
    M hw/arm/kzm.c
    M hw/arm/mainstone.c
    M hw/arm/musicpal.c
    M hw/arm/nseries.c
    M hw/arm/omap_sx1.c
    M hw/arm/palm.c
    M hw/arm/realview.c
    M hw/arm/spitz.c
    M hw/arm/stellaris.c
    M hw/arm/tosa.c
    M hw/arm/versatilepb.c
    M hw/arm/vexpress.c
    M hw/arm/virt.c
    M hw/arm/xilinx_zynq.c
    M hw/arm/z2.c
    M hw/core/null-machine.c
    M hw/cris/axis_dev88.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M hw/lm32/lm32_boards.c
    M hw/lm32/milkymist.c
    M hw/m68k/an5206.c
    M hw/m68k/dummy_m68k.c
    M hw/m68k/mcf5208.c
    M hw/microblaze/petalogix_ml605_mmu.c
    M hw/microblaze/petalogix_s3adsp1800_mmu.c
    M hw/mips/mips_fulong2e.c
    M hw/mips/mips_jazz.c
    M hw/mips/mips_malta.c
    M hw/mips/mips_mipssim.c
    M hw/mips/mips_r4k.c
    M hw/moxie/moxiesim.c
    M hw/openrisc/openrisc_sim.c
    M hw/ppc/e500.c
    M hw/ppc/e500.h
    M hw/ppc/e500plat.c
    M hw/ppc/mac_newworld.c
    M hw/ppc/mac_oldworld.c
    M hw/ppc/mpc8544ds.c
    M hw/ppc/ppc405_boards.c
    M hw/ppc/ppc440_bamboo.c
    M hw/ppc/prep.c
    M hw/ppc/spapr.c
    M hw/ppc/virtex_ml507.c
    M hw/s390x/s390-virtio-ccw.c
    M hw/s390x/s390-virtio.c
    M hw/sh4/r2d.c
    M hw/sh4/shix.c
    M hw/sparc/leon3.c
    M hw/sparc/sun4m.c
    M hw/sparc64/sun4u.c
    M hw/unicore32/puv3.c
    M hw/xenpv/xen_machine_pv.c
    M hw/xtensa/xtensa_lx60.c
    M hw/xtensa/xtensa_sim.c
    M include/hw/boards.h
    M vl.c

  Log Message:
  -----------
  machine: Conversion of QEMUMachineInitArgs to MachineState

Total removal of QEMUMachineInitArgs struct. QEMUMachineInitArgs's fields
are copied into MachineState. Removed duplicated fields from MachineState.

All the other changes are only mechanical refactoring, no semantic changes.

Signed-off-by: Marcel Apfelbaum <address@hidden>
Acked-by: Cornelia Huck <address@hidden> (s390)
Reviewed-by: Michael S. Tsirkin <address@hidden> (PC)
[AF: Renamed ms -> machine, use MACHINE_GET_CLASS()]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 13d7adf92a97c8252df6165ec84127798f3096d3
      
https://github.com/qemu/qemu/commit/13d7adf92a97c8252df6165ec84127798f3096d3
  Author: Marcel Apfelbaum <address@hidden>
  Date:   2014-05-28 (Wed, 28 May 2014)

  Changed paths:
    M vl.c

  Log Message:
  -----------
  vl.c: Do not set 'type' property in obj_set_property()

Filter out also 'type' property when setting
object's properties.

Reviewed-by: Paolo Bonzini <address@hidden>
Signed-off-by: Marcel Apfelbaum <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Acked-by: Michael Roth <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 1d10b44546e2605b6dd8a006dcc0d03166649e2d
      
https://github.com/qemu/qemu/commit/1d10b44546e2605b6dd8a006dcc0d03166649e2d
  Author: Marcel Apfelbaum <address@hidden>
  Date:   2014-05-28 (Wed, 28 May 2014)

  Changed paths:
    M qapi/qmp-output-visitor.c

  Log Message:
  -----------
  qapi: Avoid output visitor crashing if it encounters a NULL value

A NULL value is not added to visitor's stack, but there
is no check for that when the visitor tries to return
that value, leading to QEMU crash.

Reviewed-by: Eric Blake <address@hidden>
Acked-by: Luiz Capitulino <address@hidden>
Signed-off-by: Marcel Apfelbaum <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Acked-by: Michael Roth <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: a199b2b6a5b9dd50cfe96349778458d1b39899b5
      
https://github.com/qemu/qemu/commit/a199b2b6a5b9dd50cfe96349778458d1b39899b5
  Author: Marcel Apfelbaum <address@hidden>
  Date:   2014-05-28 (Wed, 28 May 2014)

  Changed paths:
    M tests/test-qmp-output-visitor.c

  Log Message:
  -----------
  tests: Check empty QMP output visitor

Checks the output visitor behaviour for NULL values.

Signed-off-by: Marcel Apfelbaum <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Acked-by: Michael Roth <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 6b1b1440199c1a910b91bc9e029974f44746633d
      
https://github.com/qemu/qemu/commit/6b1b1440199c1a910b91bc9e029974f44746633d
  Author: Marcel Apfelbaum <address@hidden>
  Date:   2014-05-28 (Wed, 28 May 2014)

  Changed paths:
    M hw/core/machine.c
    M include/hw/boards.h
    M vl.c

  Log Message:
  -----------
  machine: Make -machine opts properties of MachineState

Make machine's QemuOpts QOM properties of /machine. The properties
are automatically filled in. This opens the possibility to create
opts per machine rather than global.

Signed-off-by: Marcel Apfelbaum <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Acked-by: Michael Roth <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: a5f54290ceb31281158413d4cda1ca80908a56cc
      
https://github.com/qemu/qemu/commit/a5f54290ceb31281158413d4cda1ca80908a56cc
  Author: Peter Crosthwaite <address@hidden>
  Date:   2014-05-28 (Wed, 28 May 2014)

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

  Log Message:
  -----------
  qdev: Implement named GPIOs

Implement named GPIOs on the Device layer. Listifies the existing GPIOs
stuff using string keys. Legacy un-named GPIOs are preserved by using
a NULL name string - they are just a single matchable element in the
name list.

Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: de77914e50477ca4cef1e9cdd7a05b8d0c0ff1d9
      
https://github.com/qemu/qemu/commit/de77914e50477ca4cef1e9cdd7a05b8d0c0ff1d9
  Author: Peter Crosthwaite <address@hidden>
  Date:   2014-05-28 (Wed, 28 May 2014)

  Changed paths:
    M hw/arm/stellaris.c
    M hw/arm/xilinx_zynq.c
    M hw/microblaze/petalogix_ml605_mmu.c
    M hw/ssi/ssi.c
    M include/hw/ssi.h

  Log Message:
  -----------
  ssi: Name the CS GPIO

To get it out of the default GPIO list. This allows child devices to
use the un-named GPIO namespace without having to be SSI aware. That
is, there is no more need for machines to know about the obscure
policy where GPIO 0 is the SSI chip-select and GPIO 1..N are the
concrete class GPIOs (defined locally as 0..N-1).

This is most notable in stellaris, which uses a device which has both
SSI and concrete level GPIOs.

Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: d7d3d6092cb7edc75dc49fb90c86dd5425ab4805
      
https://github.com/qemu/qemu/commit/d7d3d6092cb7edc75dc49fb90c86dd5425ab4805
  Author: Peter Maydell <address@hidden>
  Date:   2014-05-28 (Wed, 28 May 2014)

  Changed paths:
    M hw/alpha/dp264.c
    M hw/arm/collie.c
    M hw/arm/cubieboard.c
    M hw/arm/digic_boards.c
    M hw/arm/exynos4_boards.c
    M hw/arm/gumstix.c
    M hw/arm/highbank.c
    M hw/arm/integratorcp.c
    M hw/arm/kzm.c
    M hw/arm/mainstone.c
    M hw/arm/musicpal.c
    M hw/arm/nseries.c
    M hw/arm/omap_sx1.c
    M hw/arm/palm.c
    M hw/arm/realview.c
    M hw/arm/spitz.c
    M hw/arm/stellaris.c
    M hw/arm/tosa.c
    M hw/arm/versatilepb.c
    M hw/arm/vexpress.c
    M hw/arm/virt.c
    M hw/arm/xilinx_zynq.c
    M hw/arm/z2.c
    M hw/core/machine.c
    M hw/core/null-machine.c
    M hw/core/qdev.c
    M hw/cris/axis_dev88.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M hw/lm32/lm32_boards.c
    M hw/lm32/milkymist.c
    M hw/m68k/an5206.c
    M hw/m68k/dummy_m68k.c
    M hw/m68k/mcf5208.c
    M hw/microblaze/petalogix_ml605_mmu.c
    M hw/microblaze/petalogix_s3adsp1800_mmu.c
    M hw/mips/mips_fulong2e.c
    M hw/mips/mips_jazz.c
    M hw/mips/mips_malta.c
    M hw/mips/mips_mipssim.c
    M hw/mips/mips_r4k.c
    M hw/moxie/moxiesim.c
    M hw/openrisc/openrisc_sim.c
    M hw/ppc/e500.c
    M hw/ppc/e500.h
    M hw/ppc/e500plat.c
    M hw/ppc/mac_newworld.c
    M hw/ppc/mac_oldworld.c
    M hw/ppc/mpc8544ds.c
    M hw/ppc/ppc405_boards.c
    M hw/ppc/ppc440_bamboo.c
    M hw/ppc/prep.c
    M hw/ppc/spapr.c
    M hw/ppc/virtex_ml507.c
    M hw/s390x/s390-virtio-ccw.c
    M hw/s390x/s390-virtio.c
    M hw/sh4/r2d.c
    M hw/sh4/shix.c
    M hw/sparc/leon3.c
    M hw/sparc/sun4m.c
    M hw/sparc64/sun4u.c
    M hw/ssi/ssi.c
    M hw/unicore32/puv3.c
    M hw/xenpv/xen_machine_pv.c
    M hw/xtensa/xtensa_lx60.c
    M hw/xtensa/xtensa_sim.c
    M include/hw/boards.h
    M include/hw/qdev-core.h
    M include/hw/ssi.h
    M qapi/qmp-output-visitor.c
    M qdev-monitor.c
    M qtest.c
    M tests/qom-test.c
    M tests/test-qmp-output-visitor.c
    M vl.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/afaerber/tags/qom-devices-for-peter' 
into staging

QOM/QTest infrastructure fixes and device conversions

* qom-test extension
* QEMUMachineInitArgs conversion to MachineState
* -machine options turned into /machine properties
* Named GPIO IRQs for devices

# gpg: Signature made Wed 28 May 2014 18:24:04 BST using RSA key ID 3E7E013F
# gpg: Can't check signature: public key not found

* remotes/afaerber/tags/qom-devices-for-peter:
  ssi: Name the CS GPIO
  qdev: Implement named GPIOs
  machine: Make -machine opts properties of MachineState
  tests: Check empty QMP output visitor
  qapi: Avoid output visitor crashing if it encounters a NULL value
  vl.c: Do not set 'type' property in obj_set_property()
  machine: Conversion of QEMUMachineInitArgs to MachineState
  qom-test: Test qom-list on link<> properties

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/66226ffd056d...d7d3d6092cb7

reply via email to

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