qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL 00/19]: QMP queue
@ 2011-10-27 19:01 Luiz Capitulino
  2011-10-27 19:01 ` [Qemu-devel] [PATCH 01/19] qapi-commands.py: Don't call the output marshal on error Luiz Capitulino
                   ` (19 more replies)
  0 siblings, 20 replies; 22+ messages in thread
From: Luiz Capitulino @ 2011-10-27 19:01 UTC (permalink / raw)
  To: aliguori; +Cc: mdroth, qemu-devel

Anthony,

This pull request contains only my "QAPI conversions round 2" series (which
got no review comments... last chance!).

The changes (since 9f60639b848944200c3d33a89233d808de0b5a43) are available
in the following repository:

    git://repo.or.cz/qemu/qmp-unstable.git queue/qmp

Luiz Capitulino (19):
      qapi-commands.py: Don't call the output marshal on error
      qapi: Convert query-mice
      qapi: Convert query-migrate
      Monitor: Make mon_set_cpu() public
      Monitor: Introduce monitor_get_cpu_index()
      qapi: Convert the cpu command
      qapi: Convert query-cpus
      block: iostatus: Drop BDRV_IOS_INVAL
      block: Rename the BlockIOStatus enum values
      qapi: Convert query-block
      qapi: Convert query-blockstats
      qerror: Add a user string for QERR_FEATURE_DISABLED
      qapi: Convert query-vnc
      qapi: Convert query-spice
      qapi: Convert query-balloon
      qapi: Convert query-pci
      QMP: Drop the query commands dispatch table
      Monitor: do_info(): Drop QMP command handling code
      Drop qemu-objects.h from modules that don't require it

 balloon.c                |   72 +-----
 balloon.h                |    6 +-
 block.c                  |  234 ++++++------------
 block.h                  |    5 -
 block_int.h              |    4 +-
 console.h                |    9 -
 cpus.c                   |   45 ++++
 error.c                  |    3 +-
 hmp-commands.hx          |    3 +-
 hmp.c                    |  407 ++++++++++++++++++++++++++++++
 hmp.h                    |   10 +
 hw/pci-stub.c            |   15 +-
 hw/pci.c                 |  322 +++++++++---------------
 hw/pci.h                 |    4 -
 hw/virtio-balloon.c      |   78 +-----
 input.c                  |   64 ++----
 migration.c              |   82 ++-----
 monitor.c                |  313 ++----------------------
 monitor.h                |    2 +
 qapi-schema.json         |  616 ++++++++++++++++++++++++++++++++++++++++++++++
 qerror.c                 |    4 +
 qmp-commands.hx          |   60 +++++-
 qmp.c                    |   27 ++
 scripts/qapi-commands.py |    4 +-
 ui/spice-core.c          |  139 +++++------
 ui/vnc.c                 |  135 +++++++----
 vl.c                     |    2 +-
 27 files changed, 1611 insertions(+), 1054 deletions(-)

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [Qemu-devel] [PATCH v1 00/19]: QAPI conversions round 2
@ 2011-10-24 13:26 Luiz Capitulino
  2011-10-24 13:27 ` [Qemu-devel] [PATCH 15/19] qapi: Convert query-balloon Luiz Capitulino
  0 siblings, 1 reply; 22+ messages in thread
From: Luiz Capitulino @ 2011-10-24 13:26 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, armbru, aliguori, mdroth, quintela

This series completes the conversion of current QMP query commands to the
QAPI framework. IOW, with this series applied no single query command will
be building QObjects by hand.

This series also contains two fixes and some cleanups. One of the fixes
solves a problem with the generated code which ignores errors. The other
fixes a missing error declaration in QError.

There are two important details about this series that should be observed:

 1. This is a bit late in the development process. Although there's a lot
    of code churn involved, query commands are relatively simple: most of
    them don't return errors and they don't take parameters. I've also
    tested them as much as I could.

    I'm not saying it's bug-free, but I believe we have enough time for
    fixing any outstanding issues.

 2. Most query commands makes use of QAPI's list type. Unfortunately, the
    simplest way to build a list reverses the order of listings in HMP
    (ie. the "info cpus" command starts at the last CPU). To avoid this,
    I'm building lists by hand the old way for now. In the short term the
    QAPI will be changed to use glib's list support.

 balloon.c                |   72 +-----
 balloon.h                |    6 +-
 block.c                  |  234 ++++++------------
 block.h                  |    5 -
 block_int.h              |    4 +-
 console.h                |    9 -
 cpus.c                   |   45 ++++
 error.c                  |    3 +-
 hmp-commands.hx          |    3 +-
 hmp.c                    |  407 ++++++++++++++++++++++++++++++
 hmp.h                    |   10 +
 hw/pci-stub.c            |   15 +-
 hw/pci.c                 |  322 +++++++++---------------
 hw/pci.h                 |    4 -
 hw/virtio-balloon.c      |   78 +-----
 input.c                  |   64 ++----
 migration.c              |   82 ++-----
 monitor.c                |  313 ++----------------------
 monitor.h                |    2 +
 qapi-schema.json         |  616 ++++++++++++++++++++++++++++++++++++++++++++++
 qerror.c                 |    4 +
 qmp-commands.hx          |   60 +++++-
 qmp.c                    |   27 ++
 scripts/qapi-commands.py |    4 +-
 ui/spice-core.c          |  139 +++++------
 ui/vnc.c                 |  135 +++++++----
 vl.c                     |    2 +-
 27 files changed, 1611 insertions(+), 1054 deletions(-)

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2011-10-31 16:56 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-27 19:01 [Qemu-devel] [PULL 00/19]: QMP queue Luiz Capitulino
2011-10-27 19:01 ` [Qemu-devel] [PATCH 01/19] qapi-commands.py: Don't call the output marshal on error Luiz Capitulino
2011-10-27 19:01 ` [Qemu-devel] [PATCH 02/19] qapi: Convert query-mice Luiz Capitulino
2011-10-27 19:02 ` [Qemu-devel] [PATCH 03/19] qapi: Convert query-migrate Luiz Capitulino
2011-10-27 19:02 ` [Qemu-devel] [PATCH 04/19] Monitor: Make mon_set_cpu() public Luiz Capitulino
2011-10-27 19:02 ` [Qemu-devel] [PATCH 05/19] Monitor: Introduce monitor_get_cpu_index() Luiz Capitulino
2011-10-27 19:02 ` [Qemu-devel] [PATCH 06/19] qapi: Convert the cpu command Luiz Capitulino
2011-10-27 19:02 ` [Qemu-devel] [PATCH 07/19] qapi: Convert query-cpus Luiz Capitulino
2011-10-27 19:02 ` [Qemu-devel] [PATCH 08/19] block: iostatus: Drop BDRV_IOS_INVAL Luiz Capitulino
2011-10-27 19:02 ` [Qemu-devel] [PATCH 09/19] block: Rename the BlockIOStatus enum values Luiz Capitulino
2011-10-27 19:02 ` [Qemu-devel] [PATCH 10/19] qapi: Convert query-block Luiz Capitulino
2011-10-27 19:02 ` [Qemu-devel] [PATCH 11/19] qapi: Convert query-blockstats Luiz Capitulino
2011-10-27 19:02 ` [Qemu-devel] [PATCH 12/19] qerror: Add a user string for QERR_FEATURE_DISABLED Luiz Capitulino
2011-10-27 19:02 ` [Qemu-devel] [PATCH 13/19] qapi: Convert query-vnc Luiz Capitulino
2011-10-27 19:02 ` [Qemu-devel] [PATCH 14/19] qapi: Convert query-spice Luiz Capitulino
2011-10-27 19:02 ` [Qemu-devel] [PATCH 15/19] qapi: Convert query-balloon Luiz Capitulino
2011-10-27 19:02 ` [Qemu-devel] [PATCH 16/19] qapi: Convert query-pci Luiz Capitulino
2011-10-27 19:02 ` [Qemu-devel] [PATCH 17/19] QMP: Drop the query commands dispatch table Luiz Capitulino
2011-10-27 19:02 ` [Qemu-devel] [PATCH 18/19] Monitor: do_info(): Drop QMP command handling code Luiz Capitulino
2011-10-27 19:02 ` [Qemu-devel] [PATCH 19/19] Drop qemu-objects.h from modules that don't require it Luiz Capitulino
2011-10-31 16:52 ` [Qemu-devel] [PULL 00/19]: QMP queue Anthony Liguori
  -- strict thread matches above, loose matches on Subject: below --
2011-10-24 13:26 [Qemu-devel] [PATCH v1 00/19]: QAPI conversions round 2 Luiz Capitulino
2011-10-24 13:27 ` [Qemu-devel] [PATCH 15/19] qapi: Convert query-balloon Luiz Capitulino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).