qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 96f209: cadence_uart: Convert to QOM realize(


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 96f209: cadence_uart: Convert to QOM realize()
Date: Tue, 17 Mar 2015 09:30:08 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 96f209264f642365052983dcb50a0f3d7b688f6b
      
https://github.com/qemu/qemu/commit/96f209264f642365052983dcb50a0f3d7b688f6b
  Author: Alistair Francis <address@hidden>
  Date:   2015-03-17 (Tue, 17 Mar 2015)

  Changed paths:
    M hw/char/cadence_uart.c

  Log Message:
  -----------
  cadence_uart: Convert to QOM realize()

Use DeviceClass::realize() and TypeInfo::instance_init() instead of
the deprecated SysBusDevice::init().

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


  Commit: eb60aa5737463d9143c0edde0fcd3a1eff44a633
      
https://github.com/qemu/qemu/commit/eb60aa5737463d9143c0edde0fcd3a1eff44a633
  Author: Andreas Färber <address@hidden>
  Date:   2015-03-17 (Tue, 17 Mar 2015)

  Changed paths:
    A scripts/qmp/qom-tree

  Log Message:
  -----------
  scripts: Add qom-tree script

Functionally it is a recursive qom-list with qom-get per non-child<>
property. Some failures needed to be handled, such as trying to read a
pointer property, which is not representable in QMP. Those print a
literal "<EXCEPTION>".

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


  Commit: 89d7fa9eb4a0a75bb1bc1bf24e9e79ebe91fd7b0
      
https://github.com/qemu/qemu/commit/89d7fa9eb4a0a75bb1bc1bf24e9e79ebe91fd7b0
  Author: Andreas Färber <address@hidden>
  Date:   2015-03-17 (Tue, 17 Mar 2015)

  Changed paths:
    M hmp-commands.hx
    M hmp.c
    M hmp.h

  Log Message:
  -----------
  qom: Implement qom-list HMP command

Implement it as a wrapper for QMP qom-list, but mimic the behavior of
scripts/qmp/qom-list in making the path argument optional and listing
the root if absent, to hint users what kind of path to pass.

Reviewed-by: Gonglei <address@hidden>
Tested-by: Alistair Francis <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: c0e6ee9e6f49d4a3183b05f457cc2704a966fce5
      
https://github.com/qemu/qemu/commit/c0e6ee9e6f49d4a3183b05f457cc2704a966fce5
  Author: Andreas Färber <address@hidden>
  Date:   2015-03-17 (Tue, 17 Mar 2015)

  Changed paths:
    M hmp-commands.hx
    M hmp.c
    M hmp.h

  Log Message:
  -----------
  qom: Implement qom-set HMP command

Re-implemented based on qmp_qom_set() to facilitate argument parsing.

Warn about ambiguous path arguments.

Reviewed-by: Gonglei <address@hidden>
Tested-by: Alistair Francis <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: a01ff75fcdb4d91809ccdd2b95efda6ee1239cbb
      
https://github.com/qemu/qemu/commit/a01ff75fcdb4d91809ccdd2b95efda6ee1239cbb
  Author: Andreas Färber <address@hidden>
  Date:   2015-03-17 (Tue, 17 Mar 2015)

  Changed paths:
    M hmp-commands.hx
    M include/monitor/qdev.h
    M monitor.c
    M qdev-monitor.c

  Log Message:
  -----------
  qom: Implement info qom-tree HMP command

To complement qdev's bus-oriented info qtree, info qom-tree
prints a hierarchical view of the QOM composition tree.

By default, the machine composition tree is shown. This can be overriden
by supplying a path argument, such as "info qom-tree /".

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


  Commit: 210eb9364be384e7c7f6ef106e6ac8c996dadffe
      
https://github.com/qemu/qemu/commit/210eb9364be384e7c7f6ef106e6ac8c996dadffe
  Author: Andreas Färber <address@hidden>
  Date:   2015-03-17 (Tue, 17 Mar 2015)

  Changed paths:
    M memory.c

  Log Message:
  -----------
  memory: Move owner-less MemoryRegions to /machine/unattached

This cleans up the official /machine namespace. In particular
/machine/system[0] and /machine/io[0], as well as entries with
non-sanitized node names such as "/machine/qemu extended regs[0]".

The actual MemoryRegion names remain unchanged.

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


  Commit: 88950eeff59834b3b4bea98b954a3fe854468ae3
      
https://github.com/qemu/qemu/commit/88950eeff59834b3b4bea98b954a3fe854468ae3
  Author: Andreas Färber <address@hidden>
  Date:   2015-03-17 (Tue, 17 Mar 2015)

  Changed paths:
    M hw/core/qdev.c

  Log Message:
  -----------
  qdev: Move owner-less IRQs to /machine/unattached

Move non-qdev-gpio[*] from /machine into /machine/unattached.
For the PC this moves 25 nodes from the stable namespace into the unstable.

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


  Commit: 1a87e52770ca64f5a09e9c46d29ea3b5a5db5ffd
      
https://github.com/qemu/qemu/commit/1a87e52770ca64f5a09e9c46d29ea3b5a5db5ffd
  Author: Peter Maydell <address@hidden>
  Date:   2015-03-17 (Tue, 17 Mar 2015)

  Changed paths:
    M hmp-commands.hx
    M hmp.c
    M hmp.h
    M hw/char/cadence_uart.c
    M hw/core/qdev.c
    M include/monitor/qdev.h
    M memory.c
    M monitor.c
    M qdev-monitor.c
    A scripts/qmp/qom-tree

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

QOM infrastructure fixes and device conversions

* Conversion of cadence_uart to QOM realize
* qom-tree QMP script
* qom-list and qom-set HMP commands to match their QMP counterparts
* Basic qom-tree HMP command
* Cleanups for /machine QOM composition tree

# gpg: Signature made Tue Mar 17 15:02:57 2015 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:
  qdev: Move owner-less IRQs to /machine/unattached
  memory: Move owner-less MemoryRegions to /machine/unattached
  qom: Implement info qom-tree HMP command
  qom: Implement qom-set HMP command
  qom: Implement qom-list HMP command
  scripts: Add qom-tree script
  cadence_uart: Convert to QOM realize()

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


Compare: https://github.com/qemu/qemu/compare/5a4992834dae...1a87e52770ca

reply via email to

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