Skip to content

deprecations: remove many old deprecations

Daniel P. Berrangé qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest13 patches 2 repliesIn review
  2. v114 patches 33 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13ui, monitor: remove deprecated VNC ACL option and HMP commandsdocs/system/deprecated.rst docs/system/removed-features.rst hmp-commands.hx +2 more+13 -3170 replies
2/13monitor: raise error when 'pretty' option is used with HMPdocs/system/deprecated.rst docs/system/removed-features.rst monitor/monitor.c +1 more+11 -110 replies
3/13monitor: remove 'query-events' QMP commanddocs/system/deprecated.rst docs/system/removed-features.rst monitor/qmp-cmds-control.c +1 more+6 -751 reply
4/13migrate: remove QMP/HMP commands for speed, downtime and cache sizedocs/devel/migration.rst docs/rdma.txt docs/system/deprecated.rst +14 more+40 -3200 replies
5/13machine: remove 'query-cpus' QMP commanddocs/system/deprecated.rst docs/system/removed-features.rst hw/core/machine-hmp-cmds.c +8 more+22 -2580 replies
6/13machine: remove 'arch' field from 'query-cpus-fast' QMP commanddocs/system/deprecated.rst docs/system/removed-features.rst hw/core/machine-qmp-cmds.c +1 more+6 -690 replies
7/13chardev: reject use of 'wait' flag for socket client chardevschardev/char-socket.c docs/system/deprecated.rst docs/system/removed-features.rst+10 -140 replies
8/13hw/ide: remove 'ide-drive' devicedocs/qdev-device-use.txt docs/system/deprecated.rst docs/system/removed-features.rst +9 more+9 -1010 replies
9/13hw/scsi: remove 'scsi-disk' devicedocs/system/deprecated.rst docs/system/removed-features.rst hw/i386/pc.c +4 more+6 -850 replies
10/13block: remove 'encryption_key_missing' flag from QAPIblock/qapi.c docs/system/deprecated.rst docs/system/removed-features.rst +4 more+33 -651 reply
11/13block: remove dirty bitmaps 'status' fieldblock/dirty-bitmap.c docs/system/deprecated.rst docs/system/removed-features.rst +8 more+174 -4270 replies
12/13block: remove 'dirty-bitmaps' field from 'BlockInfo' structblock/qapi.c docs/system/deprecated.rst docs/system/removed-features.rst +7 more+23 -370 replies
13/13block: remove support for using "file" driver with block/char devicesblock/file-posix.c docs/system/deprecated.rst docs/system/removed-features.rst +1 more+18 -230 replies

Reviews trailers per patch

All 13 patches have a Reviewed-by or Acked-by.

PatchThomas HuthDr. David Alan GilbertWainer dos Santos MoschettaMarc-André LureauVladimir Sementsov-OgievskiyEric Blake
1/13R-b R-b
2/13R-b
3/13R-b R-b
4/13R-b
5/13R-b T-b
6/13R-b
7/13R-b
8/13R-b
9/13R-b
10/13R-b R-b
11/13R-b
12/13R-b
13/13R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v2 thread

Cover letter [PATCH v2 00/13] deprecations: remove many old deprecations

This is an update to

https://lists.gnu.org/archive/html/qemu-devel/2021-02/msg07558.html

The following features have been deprecated for well over the 2 release cycle we promise

``-drive file=3Djson:{...{'driver':'file'}}`` (since 3.0) ``-vnc acl`` (since 4.0.0)
``-mon ...,control=3Dreadline,pretty=3Don|off`` (since 4.1) ``migrate_set_downtime`` and ``migrate_set_speed`` (since 2.8.0) ``query-named-block-nodes`` result ``encryption_key_missing`` (since 2.10.0) ``query-block`` result ``inserted.encryption_key_missing`` (since 2.10.0) ``migrate-set-cache-size`` and ``query-migrate-cache-size`` (since 2.11.0) ``query-named-block-nodes`` and ``query-block`` result dirty-bitmaps[i].sta=
tus (since 4.0)
``query-cpus`` (since 2.12.0)
``query-cpus-fast`` ``arch`` output member (since 3.0.0) ``query-events`` (since 4.0)
chardev client socket with ``wait`` option (since 4.0) ``acl_show``, ``acl_reset``, ``acl_policy``, ``acl_add``, ``acl_remove`` (s=
ince 4.0.0)
``ide-drive`` (since 4.2)
``scsi-disk`` (since 4.2)

AFAICT, libvirt has ceased to use all of these too.

These patches all have reviews now, and I'll send a pull request tomorrow for soft freeze unless I hear from subsystem maintainers with any negative feedback.

In v2:

- Dropped -usbdevice removal, as that's spun off into separate debate
- Fixed misplaced hunk in scsi-disk patch
- Fixed non-default iotest jobs in dirty-bitmap code

Daniel P. Berrang=C3=A9 (13):
ui, monitor: remove deprecated VNC ACL option and HMP commands
monitor: raise error when 'pretty' option is used with HMP
monitor: remove 'query-events' QMP command
migrate: remove QMP/HMP commands for speed, downtime and cache size
machine: remove 'query-cpus' QMP command
machine: remove 'arch' field from 'query-cpus-fast' QMP command
chardev: reject use of 'wait' flag for socket client chardevs hw/ide: remove 'ide-drive' device
hw/scsi: remove 'scsi-disk' device
block: remove 'encryption_key_missing' flag from QAPI
block: remove dirty bitmaps 'status' field
block: remove 'dirty-bitmaps' field from 'BlockInfo' struct
block: remove support for using "file" driver with block/char devices

 block/dirty-bitmap.c                          |  38 --
 block/file-posix.c                            |  17 +-
 block/qapi.c                                  |   6 -
 chardev/char-socket.c                         |  12 +-
 docs/devel/migration.rst                      |   2 +-
 docs/qdev-device-use.txt                      |   2 +-
 docs/rdma.txt                                 |   2 +-
 docs/system/deprecated.rst                    | 108 -----
 docs/system/removed-features.rst              | 109 +++++
 docs/xbzrle.txt                               |   5 -
 hmp-commands-info.hx                          |  13 -
 hmp-commands.hx                               | 121 ------
 hw/core/machine-hmp-cmds.c                    |   8 +-
 hw/core/machine-qmp-cmds.c                    | 120 ------
 hw/i386/pc.c                                  |   2 -
 hw/ide/qdev.c                                 |  38 --
 hw/ppc/mac_newworld.c                         |  13 -
 hw/ppc/mac_oldworld.c                         |  13 -
 hw/scsi/scsi-disk.c                           |  62 ---
 hw/sparc64/sun4u.c                            |  15 -
 include/block/dirty-bitmap.h                  |   1 -
 include/monitor/hmp.h                         |   4 -
 migration/migration.c                         |  45 ---
 migration/ram.c                               |   2 +-
 monitor/hmp-cmds.c                            |  34 --
 monitor/misc.c                                | 187 ---------
 monitor/monitor.c                             |   4 +-
 monitor/qmp-cmds-control.c                    |  24 --
 qapi/block-core.json                          |  64 +--
 qapi/control.json                             |  45 ---
 qapi/machine.json                             | 181 +--------
 qapi/migration.json                           |  98 -----
 qemu-options.hx                               |   5 +-
 scripts/device-crash-test                     |   2 -
 softmmu/vl.c                                  |   1 -
 tests/acceptance/pc_cpu_hotplug_props.py      |   2 +-
 tests/acceptance/x86_cpu_model_versions.py    |   2 +-
 tests/migration/guestperf/engine.py           |  18 +-
 tests/qemu-iotests/051                        |   4 -
 tests/qemu-iotests/051.pc.out                 |  20 -
 tests/qemu-iotests/124                        |   4 -
 tests/qemu-iotests/181                        |   2 +-
 tests/qemu-iotests/184.out                    |   6 +-
 tests/qemu-iotests/191.out                    |  48 +--
 tests/qemu-iotests/194                        |   4 +-
 tests/qemu-iotests/194.out                    |   4 +-
 tests/qemu-iotests/226.out                    |  10 +-
 tests/qemu-iotests/236                        |   2 +-
 tests/qemu-iotests/236.out                    |  42 +-
 tests/qemu-iotests/246                        |   3 +-
 tests/qemu-iotests/246.out                    |  66 +--
 tests/qemu-iotests/254                        |   2 +-
 tests/qemu-iotests/254.out                    |   9 +-
 tests/qemu-iotests/257.out                    | 378 ++++++------------
 tests/qemu-iotests/260                        |   5 +-
 tests/qemu-iotests/273.out                    |  15 +-
 .../tests/migrate-bitmaps-postcopy-test       |   6 +-
 tests/qtest/migration-test.c                  |  48 ---
 tests/qtest/numa-test.c                       |   6 +-
 tests/qtest/qmp-test.c                        |   6 +-
 tests/qtest/test-hmp.c                        |   6 +-
 tests/qtest/test-x86-cpuid-compat.c           |   4 +-
 tests/qtest/vhost-user-test.c                 |   8 +-
 ui/vnc.c                                      |  38 --
 64 files changed, 370 insertions(+), 1801 deletions(-)

--=20
2.30.2