qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 2b81b3: qdev: Fix bus dependency of DeviceSta


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 2b81b3: qdev: Fix bus dependency of DeviceState::hotplugga...
Date: Thu, 13 Mar 2014 06:30:04 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 2b81b35f8f18d6874d1a0605ac5e40028966051b
      
https://github.com/qemu/qemu/commit/2b81b35f8f18d6874d1a0605ac5e40028966051b
  Author: Andreas Färber <address@hidden>
  Date:   2014-03-12 (Wed, 12 Mar 2014)

  Changed paths:
    M hw/core/qdev.c

  Log Message:
  -----------
  qdev: Fix bus dependency of DeviceState::hotpluggable getter

Commit 1a37eca107cece3ed454bae29eef0bd1fac4a244 (qdev: add
"hotpluggable" property to Device) added a property "hotpluggable" to
each device, with its getter accessing parent_bus->allow_hotplug.

Add a NULL check.

Cc: Igor Mammedov <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 267a3264cdaf0ca945ffc7a60c019ad9f89be8d8
      
https://github.com/qemu/qemu/commit/267a3264cdaf0ca945ffc7a60c019ad9f89be8d8
  Author: Igor Mammedov <address@hidden>
  Date:   2014-03-12 (Wed, 12 Mar 2014)

  Changed paths:
    M hw/core/qdev.c

  Log Message:
  -----------
  qdev: Set DeviceClass::hotpluggable default in class_init()

Move setting DeviceClass::hotpluggable default from device's
class_base_init() to device's class_init().

Reported-by: Andreas Färber <address@hidden>
Signed-off-by: Igor Mammedov <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 7b0309490cb108d881a0c66d6b350b4db7b3b4ac
      
https://github.com/qemu/qemu/commit/7b0309490cb108d881a0c66d6b350b4db7b3b4ac
  Author: Amos Kong <address@hidden>
  Date:   2014-03-12 (Wed, 12 Mar 2014)

  Changed paths:
    M qdev-monitor.c

  Log Message:
  -----------
  qdev-monitor: Set properties after parent is assigned in device_add

Test steps:
 (qemu) device_add e1000,addr=adsf
  Property 'e1000.addr' doesn't take value 'adsf'
 (qemu) info qtree
  Then qemu crashed.

Currently we set a link to the new device from its parent bus, but the
device hasn't been added to QOM tree yet. When it fails to set properties,
object_unparent() can't clean up the device.

Delay setting of device properties until the device has been added to
the QOM composition tree. This way, when setting a property fails,
object_unparent() can clean up the device properly.

Signed-off-by: Amos Kong <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: a01aedc8d32e6f5b08a4041b62be3c5fab7a3382
      
https://github.com/qemu/qemu/commit/a01aedc8d32e6f5b08a4041b62be3c5fab7a3382
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2014-03-12 (Wed, 12 Mar 2014)

  Changed paths:
    M qom/object.c

  Log Message:
  -----------
  qom: Avoid leaking str and bool properties on failure

When object_property_add_str() and object_property_add_bool() fail, they
leak their internal StringProperty and BoolProperty structs.  Remember
to free the structs on error.

Luckily this is a low-impact memory leak since most QOM properties are
static qdev properties that will never take the error case.
object_property_add() only fails if the property name is already in use.

Signed-off-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Cc: address@hidden
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 1a7d9ee6dd4aa44fc7d937bded8d542e0265e57f
      
https://github.com/qemu/qemu/commit/1a7d9ee6dd4aa44fc7d937bded8d542e0265e57f
  Author: Peter Crosthwaite <address@hidden>
  Date:   2014-03-12 (Wed, 12 Mar 2014)

  Changed paths:
    M hw/arm/spitz.c
    M hw/display/ads7846.c
    M hw/display/ssd0323.c
    M hw/misc/max111x.c
    M hw/sd/ssi-sd.c
    M hw/ssi/ssi.c

  Log Message:
  -----------
  ssi: Convert legacy SSI_SLAVE -> DEVICE casts

Convert legacy ->qdev style casts from TYPE_SSI_SLAVE to TYPE_DEVICE.

Signed-off-by: Peter Crosthwaite <address@hidden>
[AF: Introduce local DeviceState variable for transition to QOM realize]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: d43269dddc2e084a61bb6cfcc18081b0b6bb0e62
      
https://github.com/qemu/qemu/commit/d43269dddc2e084a61bb6cfcc18081b0b6bb0e62
  Author: Peter Crosthwaite <address@hidden>
  Date:   2014-03-12 (Wed, 12 Mar 2014)

  Changed paths:
    M hw/ssi/ssi.c

  Log Message:
  -----------
  ssi: Convert legacy SSI_BUS -> BUS casts

Remove two legacy ->qbus style casts from TYPE_SSI_BUS to TYPE_BUS in
ssi.c.

Signed-off-by: Peter Crosthwaite <address@hidden>
[AF: Convert one missing ->qbus and rename parent field]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 5ef4a1c304ef60224c29aa9f6d9c2ac0591d020a
      
https://github.com/qemu/qemu/commit/5ef4a1c304ef60224c29aa9f6d9c2ac0591d020a
  Author: Peter Crosthwaite <address@hidden>
  Date:   2014-03-12 (Wed, 12 Mar 2014)

  Changed paths:
    M hw/misc/max111x.c

  Log Message:
  -----------
  misc/max111x: Create abstract max111x type

Create an abstract class that encompasses both max111x variants. This is
needed for QOM cast macro creation (and is the right thing to do
anyway). Macroify type-names in the process.

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


  Commit: 7c77b654c5371e970bc3190afe8dc85bc4f2c8ff
      
https://github.com/qemu/qemu/commit/7c77b654c5371e970bc3190afe8dc85bc4f2c8ff
  Author: Peter Crosthwaite <address@hidden>
  Date:   2014-03-12 (Wed, 12 Mar 2014)

  Changed paths:
    M hw/misc/max111x.c

  Log Message:
  -----------
  misc/max111x: QOM casting sweep

Define and use QOM cast macro. Removes some usages of legacy casting
systems.

Signed-off-by: Peter Crosthwaite <address@hidden>
[AF: Rename parent field]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 1f760d5f2bbe89685f2fe4b12a898c26196d3a1e
      
https://github.com/qemu/qemu/commit/1f760d5f2bbe89685f2fe4b12a898c26196d3a1e
  Author: Peter Crosthwaite <address@hidden>
  Date:   2014-03-12 (Wed, 12 Mar 2014)

  Changed paths:
    M include/hw/ssi.h

  Log Message:
  -----------
  ssi: Remove SSI_SLAVE_FROM_QDEV() macro

There are no usages left of this legacy cast. Delete.

Signed-off-by: Peter Crosthwaite <address@hidden>
[AF: Rename SSISlave parent field]
Signed-off-by: Andreas Färber <address@hidden>

ssi: Rename parent field


  Commit: cdccf7d7e7f16046cdb192423323a42ad7f43bec
      
https://github.com/qemu/qemu/commit/cdccf7d7e7f16046cdb192423323a42ad7f43bec
  Author: Peter Crosthwaite <address@hidden>
  Date:   2014-03-12 (Wed, 12 Mar 2014)

  Changed paths:
    M hw/block/m25p80.c

  Log Message:
  -----------
  block/m25p80: Remove FROM_SSI_SLAVE() usages

Signed-off-by: Peter Crosthwaite <address@hidden>
[AF: Rename parent field]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 1b8601b0ea0b91467561e0bbddd52a833e4b2b1a
      
https://github.com/qemu/qemu/commit/1b8601b0ea0b91467561e0bbddd52a833e4b2b1a
  Author: Alexey Kardashevskiy <address@hidden>
  Date:   2014-03-12 (Wed, 12 Mar 2014)

  Changed paths:
    M hw/ppc/spapr_pci.c

  Log Message:
  -----------
  spapr-pci: Change the default PCI bus naming

Previously libvirt required the first/default PCI bus to have name "pci".
Since QEMU can support multiple buses now, libvirt wants "pci.0" now.

This removes custom bus name and lets QEMU make up default names.

Signed-off-by: Alexey Kardashevskiy <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: a3d7cbc1397bf01249b5c39dd1e285bd6aa818dc
      
https://github.com/qemu/qemu/commit/a3d7cbc1397bf01249b5c39dd1e285bd6aa818dc
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2014-03-12 (Wed, 12 Mar 2014)

  Changed paths:
    M tests/qdev-monitor-test.c

  Log Message:
  -----------
  qdev-monitor-test: Simplify using g_assert_cmpstr()

Use g_assert_cmpstr() instead of combining g_assert() and strcmp(3).
This simplifies the code since we no longer have to play games to
distinguish NULL from "" using "(null)".

gcc extension haters will also be happy that ?: was dropped.

Suggested-by: Markus Armbruster <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 49649f23db977137c031a21eee2f0521404f6710
      
https://github.com/qemu/qemu/commit/49649f23db977137c031a21eee2f0521404f6710
  Author: Markus Armbruster <address@hidden>
  Date:   2014-03-12 (Wed, 12 Mar 2014)

  Changed paths:
    M tests/qdev-monitor-test.c

  Log Message:
  -----------
  qdev-monitor-test: Don't test human-readable error message

Test the error class instead.  Expecting a specific message is
fragile.  In fact, it broke once already, in commit 75884af.  Restore
the test of error member "class" dropped there, and drop the test of
error member "desc".

There are no other tests of "desc" as far as I can tell.

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 36d20cb2b39311869b061e1669cb55ccbf0af759
      
https://github.com/qemu/qemu/commit/36d20cb2b39311869b061e1669cb55ccbf0af759
  Author: Marcel Apfelbaum <address@hidden>
  Date:   2014-03-12 (Wed, 12 Mar 2014)

  Changed paths:
    M hw/core/Makefile.objs
    A hw/core/machine.c
    M include/hw/boards.h

  Log Message:
  -----------
  hw/core: Introduce QEMU machine as QOM object

The main functional change is to convert QEMUMachine into MachineClass
and QEMUMachineInitArgs into MachineState, instance of MachineClass.

As a first step, in order to make possible an incremental development,
both QEMUMachine and QEMUMachineInitArgs are being embedded into the
new types.

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


  Commit: 261747f176f6f2d88f8268aaebfdd1a1afe887e2
      
https://github.com/qemu/qemu/commit/261747f176f6f2d88f8268aaebfdd1a1afe887e2
  Author: Marcel Apfelbaum <address@hidden>
  Date:   2014-03-12 (Wed, 12 Mar 2014)

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

  Log Message:
  -----------
  vl: Use MachineClass instead of global QEMUMachine list

The machine registration flow is refactored to use the QOM functionality.
Instead of linking the machines into a list, each machine has a type
and the types can be traversed in the QOM way.

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


  Commit: 0056ae24bc36798fdd96d0b31e217e9f73896736
      
https://github.com/qemu/qemu/commit/0056ae24bc36798fdd96d0b31e217e9f73896736
  Author: Marcel Apfelbaum <address@hidden>
  Date:   2014-03-12 (Wed, 12 Mar 2014)

  Changed paths:
    M device-hotplug.c
    M include/hw/boards.h
    M qmp.c
    M vl.c

  Log Message:
  -----------
  hw/boards: Convert current_machine to MachineState

In order to allow attaching machine options to a machine instance,
current_machine is converted into MachineState.
As a first step of deprecating QEMUMachine, some of the functions
were modified to return MachineClass.

Signed-off-by: Marcel Apfelbaum <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: dc06cbd28611c366096fd1c9b8bba7b459a96877
      
https://github.com/qemu/qemu/commit/dc06cbd28611c366096fd1c9b8bba7b459a96877
  Author: Andreas Färber <address@hidden>
  Date:   2014-03-13 (Thu, 13 Mar 2014)

  Changed paths:
    M tests/qom-test.c

  Log Message:
  -----------
  qom-test: Test QOM properties

Recursively walk all properties under /machine and try to retrieve their
value. This is a regression test for link<> properties and the
DeviceState::hotpluggable property.

Cf. be2f78b6b062eec5170e2612299fb8953046993f and
    1a37eca107cece3ed454bae29eef0bd1fac4a244

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


  Commit: 83bb0b2ffd589346c8b8f4fee9296d0a8a309cf4
      
https://github.com/qemu/qemu/commit/83bb0b2ffd589346c8b8f4fee9296d0a8a309cf4
  Author: Andreas Färber <address@hidden>
  Date:   2014-03-13 (Thu, 13 Mar 2014)

  Changed paths:
    M tests/Makefile

  Log Message:
  -----------
  tests: Clean up IndustryPack TPCI200 gcov paths

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


  Commit: c7a59bed62184d2d5ef5c6ed87c7ee6c23c57802
      
https://github.com/qemu/qemu/commit/c7a59bed62184d2d5ef5c6ed87c7ee6c23c57802
  Author: Andreas Färber <address@hidden>
  Date:   2014-03-13 (Thu, 13 Mar 2014)

  Changed paths:
    M tests/Makefile
    A tests/virtio-blk-test.c

  Log Message:
  -----------
  tests: Add virtio-blk qtest

Cc: Kevin Wolf <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 02063aaa653c35291f06d58400a3349305000dd6
      
https://github.com/qemu/qemu/commit/02063aaa653c35291f06d58400a3349305000dd6
  Author: Andreas Färber <address@hidden>
  Date:   2014-03-13 (Thu, 13 Mar 2014)

  Changed paths:
    M tests/Makefile
    A tests/virtio-balloon-test.c

  Log Message:
  -----------
  tests: Add virtio-balloon qtest

Cc: Michael S. Tsirkin <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: b6f46f02f4756d0cd6c45515c1728a899fbb1dd3
      
https://github.com/qemu/qemu/commit/b6f46f02f4756d0cd6c45515c1728a899fbb1dd3
  Author: Andreas Färber <address@hidden>
  Date:   2014-03-13 (Thu, 13 Mar 2014)

  Changed paths:
    M tests/Makefile
    A tests/virtio-rng-test.c

  Log Message:
  -----------
  tests: Add virtio-rng qtest

Cc: Michael S. Tsirkin <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 26c9a015ef8ad158a62690f72ee04d10545db80d
      
https://github.com/qemu/qemu/commit/26c9a015ef8ad158a62690f72ee04d10545db80d
  Author: Andreas Färber <address@hidden>
  Date:   2014-03-13 (Thu, 13 Mar 2014)

  Changed paths:
    M tests/Makefile
    A tests/virtio-scsi-test.c

  Log Message:
  -----------
  tests: Add virtio-scsi qtest

Acked-by: Paolo Bonzini <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: aa97405e3289059ab614e906ce4f1141971dfd9c
      
https://github.com/qemu/qemu/commit/aa97405e3289059ab614e906ce4f1141971dfd9c
  Author: Andreas Färber <address@hidden>
  Date:   2014-03-13 (Thu, 13 Mar 2014)

  Changed paths:
    M tests/Makefile
    A tests/virtio-serial-test.c

  Log Message:
  -----------
  tests: Add virtio-serial qtest

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


  Commit: 6e8114a0650e78b6476e312de59361ef11c62b59
      
https://github.com/qemu/qemu/commit/6e8114a0650e78b6476e312de59361ef11c62b59
  Author: Andreas Färber <address@hidden>
  Date:   2014-03-13 (Thu, 13 Mar 2014)

  Changed paths:
    M tests/Makefile
    A tests/virtio-console-test.c

  Log Message:
  -----------
  tests: Add virtio-console qtest

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


  Commit: 0399a3819b27083ba69b88a9baa9025facab85bd
      
https://github.com/qemu/qemu/commit/0399a3819b27083ba69b88a9baa9025facab85bd
  Author: Andreas Färber <address@hidden>
  Date:   2014-03-13 (Thu, 13 Mar 2014)

  Changed paths:
    M hw/char/virtio-console.c

  Log Message:
  -----------
  virtio-console: QOM cast cleanup for VirtConsole

Introduce type constant, cast macro and rename parent field.

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


  Commit: 2ef66625f3a8978dcbbad773e6813f747971381e
      
https://github.com/qemu/qemu/commit/2ef66625f3a8978dcbbad773e6813f747971381e
  Author: Andreas Färber <address@hidden>
  Date:   2014-03-13 (Thu, 13 Mar 2014)

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

  Log Message:
  -----------
  virtio-serial-port: Convert to QOM realize/unrealize

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


  Commit: 04e9a20b495f37f3132f4ada80fd925b4794b253
      
https://github.com/qemu/qemu/commit/04e9a20b495f37f3132f4ada80fd925b4794b253
  Author: Alexey Kardashevskiy <address@hidden>
  Date:   2014-03-13 (Thu, 13 Mar 2014)

  Changed paths:
    M tests/Makefile
    A tests/spapr-phb-test.c

  Log Message:
  -----------
  tests: Add spapr-pci-host-bridge qtest

This adds a test whether sPAPR PHB can be added via the command line.

Signed-off-by: Alexey Kardashevskiy <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 02e7f85dac3c639b70460ce557cb6c29963db97a
      
https://github.com/qemu/qemu/commit/02e7f85dac3c639b70460ce557cb6c29963db97a
  Author: Bandan Das <address@hidden>
  Date:   2014-03-13 (Thu, 13 Mar 2014)

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

  Log Message:
  -----------
  qdev: Prepare realize/unrealize hooks for BusState

Add a "realized" property calling realize/unrealize hooks as for devices.

Signed-off-by: Bandan Das <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 5c21ce77d7e5643089ceec556c0408445d017f32
      
https://github.com/qemu/qemu/commit/5c21ce77d7e5643089ceec556c0408445d017f32
  Author: Bandan Das <address@hidden>
  Date:   2014-03-13 (Thu, 13 Mar 2014)

  Changed paths:
    M hw/core/qdev.c

  Log Message:
  -----------
  qdev: Realize buses on device realization

Integrate (un)realization of child buses with realization/unrealization
of the device hosting them. Code in device_unparent() is reordered for
unrealization of buses to work as part of device unrealization.

That way no changes need to be made to bus instantiation.

Signed-off-by: Bandan Das <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: d2f69df746f06d785ffbf6cc9711f7df9d014e35
      
https://github.com/qemu/qemu/commit/d2f69df746f06d785ffbf6cc9711f7df9d014e35
  Author: Bandan Das <address@hidden>
  Date:   2014-03-13 (Thu, 13 Mar 2014)

  Changed paths:
    M hw/pci/pci.c

  Log Message:
  -----------
  pci: Move VMState registration/unregistration to QOM realize/unrealize

Use the realize and unrealize hooks to register and unregister
vmstate_pcibus respectively.

Relocate some stuff to avoid forward declarations.

Signed-off-by: Bandan Das <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
[AF: Keep using PCI_BUS() cast macro]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: f8762027a33e2f5d0915c56a904962b1481f75c1
      
https://github.com/qemu/qemu/commit/f8762027a33e2f5d0915c56a904962b1481f75c1
  Author: Marcel Apfelbaum <address@hidden>
  Date:   2014-03-13 (Thu, 13 Mar 2014)

  Changed paths:
    M tests/libqtest.c

  Log Message:
  -----------
  libqtest: Fix possible deadlock in qtest initialization

'socket_accept' waits for QEMU to init its unix socket.
If QEMU encounters an error during command line parsing,
it can exit before initializing the communication channel.

Using a timeout for sockets fixes the issue.

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Marcel Apfelbaum <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: c8d146aecceb560664b112279ffddf6fe1db99db
      
https://github.com/qemu/qemu/commit/c8d146aecceb560664b112279ffddf6fe1db99db
  Author: Peter Maydell <address@hidden>
  Date:   2014-03-13 (Thu, 13 Mar 2014)

  Changed paths:
    M device-hotplug.c
    M hw/arm/spitz.c
    M hw/block/m25p80.c
    M hw/char/virtio-console.c
    M hw/char/virtio-serial-bus.c
    M hw/core/Makefile.objs
    A hw/core/machine.c
    M hw/core/qdev.c
    M hw/display/ads7846.c
    M hw/display/ssd0323.c
    M hw/misc/max111x.c
    M hw/pci/pci.c
    M hw/ppc/spapr_pci.c
    M hw/sd/ssi-sd.c
    M hw/ssi/ssi.c
    M include/hw/boards.h
    M include/hw/qdev-core.h
    M include/hw/ssi.h
    M include/hw/virtio/virtio-serial.h
    M qdev-monitor.c
    M qmp.c
    M qom/object.c
    M tests/Makefile
    M tests/libqtest.c
    M tests/qdev-monitor-test.c
    M tests/qom-test.c
    A tests/spapr-phb-test.c
    A tests/virtio-balloon-test.c
    A tests/virtio-blk-test.c
    A tests/virtio-console-test.c
    A tests/virtio-rng-test.c
    A tests/virtio-scsi-test.c
    A tests/virtio-serial-test.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

* QTest cleanups and test cases for some virtio devices
* QTest for sPAPR PCI host bridge
* qom-test now tests reading all properties beneath /machine
* QOM API leak fixes
* QOM cleanups for SSI devices
* QOM conversion of QEMUMachine
* QOM realize for buses
* sPAPR PCI bus name change

# gpg: Signature made Thu 13 Mar 2014 00:22:40 GMT using RSA key ID 3E7E013F
# gpg: Good signature from "Andreas Färber <address@hidden>"
# gpg:                 aka "Andreas Färber <address@hidden>"

* remotes/afaerber/tags/qom-devices-for-peter: (31 commits)
  libqtest: Fix possible deadlock in qtest initialization
  pci: Move VMState registration/unregistration to QOM realize/unrealize
  qdev: Realize buses on device realization
  qdev: Prepare realize/unrealize hooks for BusState
  tests: Add spapr-pci-host-bridge qtest
  virtio-serial-port: Convert to QOM realize/unrealize
  virtio-console: QOM cast cleanup for VirtConsole
  tests: Add virtio-console qtest
  tests: Add virtio-serial qtest
  tests: Add virtio-scsi qtest
  tests: Add virtio-rng qtest
  tests: Add virtio-balloon qtest
  tests: Add virtio-blk qtest
  tests: Clean up IndustryPack TPCI200 gcov paths
  qom-test: Test QOM properties
  hw/boards: Convert current_machine to MachineState
  vl: Use MachineClass instead of global QEMUMachine list
  hw/core: Introduce QEMU machine as QOM object
  qdev-monitor-test: Don't test human-readable error message
  qdev-monitor-test: Simplify using g_assert_cmpstr()
  ...

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


Compare: https://github.com/qemu/qemu/compare/0100f4255020...c8d146aecceb

reply via email to

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