[Qemu-devel] [PATCH v2 0/6] Introducing QemuSupportState

Gerd Hoffmann posted 6 patches 6 years, 12 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20181106102335.20027-1-kraxel@redhat.com
Test docker-clang@ubuntu passed
Test checkpatch passed
Test asan passed
Test docker-mingw@fedora passed
Test docker-quick@centos7 passed
include/hw/boards.h          |  3 ---
include/qemu/support-state.h | 18 +++++++++++++
include/qemu/typedefs.h      |  1 +
include/qom/object.h         |  4 ++-
hw/core/qdev.c               |  8 +++++-
hw/display/cirrus_vga.c      |  3 +++
hw/display/cirrus_vga_isa.c  |  3 +++
hw/i386/pc_piix.c            |  5 +++-
hw/ppc/prep.c                |  5 +++-
qdev-monitor.c               |  9 +++++++
util/support-state.c         | 26 +++++++++++++++++++
vl.c                         |  7 ++---
qapi/common.json             | 61 ++++++++++++++++++++++++++++++++++++++++++++
util/Makefile.objs           |  1 +
14 files changed, 144 insertions(+), 10 deletions(-)
create mode 100644 include/qemu/support-state.h
create mode 100644 util/support-state.c
[Qemu-devel] [PATCH v2 0/6] Introducing QemuSupportState
Posted by Gerd Hoffmann 6 years, 12 months ago
Trying to fill the need to be more finegrained on support status.

v2:
 - reduce the number of support states, add documentation for them.
 - move QemuSupportState to ObjectClass, to simplify introspection
   integration (not done yet).
 - add UsageHints.

Gerd Hoffmann (6):
  move ObjectClass to typedefs.h
  add QemuSupportState
  Use QemuSupportState for machine types.
  Warn on obsolete and deprecated devices.
  tag cirrus as obsolete
  add UsageHints to QemuSupportState

 include/hw/boards.h          |  3 ---
 include/qemu/support-state.h | 18 +++++++++++++
 include/qemu/typedefs.h      |  1 +
 include/qom/object.h         |  4 ++-
 hw/core/qdev.c               |  8 +++++-
 hw/display/cirrus_vga.c      |  3 +++
 hw/display/cirrus_vga_isa.c  |  3 +++
 hw/i386/pc_piix.c            |  5 +++-
 hw/ppc/prep.c                |  5 +++-
 qdev-monitor.c               |  9 +++++++
 util/support-state.c         | 26 +++++++++++++++++++
 vl.c                         |  7 ++---
 qapi/common.json             | 61 ++++++++++++++++++++++++++++++++++++++++++++
 util/Makefile.objs           |  1 +
 14 files changed, 144 insertions(+), 10 deletions(-)
 create mode 100644 include/qemu/support-state.h
 create mode 100644 util/support-state.c

-- 
2.9.3


Re: [Qemu-devel] [PATCH v2 0/6] Introducing QemuSupportState
Posted by Markus Armbruster 6 years, 11 months ago
This series is a step from treating deprecation completely ad hoc to a
more structured approach.  I like it.  I guess we'll have to extend it.
For instance, we deprecate not only objects, but also members and even
values of members.  Members should be straightforward, values probably
not.  But that's not an argument against this series.