Skip to content

: info handlers conversions to QObject

Luiz Capitulino qemu-devel 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest20 patches 0 repliesNew
  2. v420 patches 3 repliesSuperseded
  3. v319 patches 35 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v217 patches4 repliesSuperseded
v117 patches1 replySuperseded

Changes in v5 from the cover letter

- Coding style fixes

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20Introduce qemu-objects.h header fileqemu-objects.h+24 -00 replies
2/20Makefile: move QObject objs to their own entryMakefile+7 -20 replies
3/20QDict: Introduce qdict_get_qbool()Makefile qdict.c qdict.h+17 -10 replies
4/20QDict: Introduce qdict_get_qlist()Makefile qdict.c qdict.h+16 -10 replies
5/20monitor: Fix do_info_balloon() outputmonitor.c+16 -30 replies
6/20monitor: Fix do_info_commands() outputmonitor.c+27 -30 replies
7/20monitor: do_info_cpus(): Use QBoolmonitor.c+25 -130 replies
8/20monitor: do_info_version(): Use QDictmonitor.c+22 -200 replies
9/20monitor: Convert do_info_status() to QObjectmonitor.c+35 -90 replies
10/20monitor: Convert do_info_kvm() to QObjectmonitor.c+33 -80 replies
11/20monitor: Convert do_info_name() to QObjectmonitor.c+28 -40 replies
12/20monitor: Convert do_info_hpet() to QObjectmonitor.c+21 -30 replies
13/20monitor: Convert do_info_uuid() to QObjectmonitor.c+23 -30 replies
14/20monitor: Convert do_info_mice() to QObjectconsole.h monitor.c vl.c+59 -90 replies
15/20migration: Convert do_info_migrate() to QObjectmigration.c migration.h monitor.c+107 -170 replies
16/20block: Convert bdrv_info() to QObjectMakefile block.c block.h +1 more+111 -250 replies
17/20block: Convert bdrv_info_stats() to QObjectblock.c block.h monitor.c+76 -140 replies
18/20char: Convert qemu_chr_info() to QObjectmonitor.c qemu-char.c qemu-char.h+46 -40 replies
19/20PCI: Convert pci_device_hot_add() to QObjecthw/pci-hotplug.c qemu-monitor.hx sysemu.h+40 -60 replies
20/20VNC: Convert do_info_vnc() to QObjectconsole.h monitor.c vnc.c+166 -330 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [Qemu-devel] [FOR 0.12 v5 00/20]: info handlers conversions to QObject

Hi,

This submission is the most important one. :-)

changelog
---------

v4 -> v5

- Coding style fixes

v3 -> v4

- do_info_name(): Return an empty dict if name == NULL
- do_info_commands(): Return a dict
- Don't use spaces nor '-' in json-object keys
- Minor documention fixes

v2 -> v3

- Change all info handlers to return a dict
- Fix bad do_info_migrate() rebase
- do_info_cpus(): Use QBool
- do_info_version(): Return QDict

v1 -> v2

- Rebase
- do_info_vnc(): drop keys with 'none' strings
- Fix do_info_balloon() to return bytes

v0 -> v1

- Minor fixes (indentation, casts, etc)
- Improved some documentation and changelogs
- Dropped do_info_network() conversion, it still needs work