[Qemu-devel] [PATCH 0/3] RfC: add support for deprecated devices.

Gerd Hoffmann posted 3 patches 5 years, 6 months ago
Failed in applying to current master (apply log)
hw/audio/adlib.c            | 1 +
hw/core/qdev.c              | 9 ++++++++-
hw/display/cirrus_vga.c     | 2 ++
hw/display/cirrus_vga_isa.c | 2 ++
include/hw/qdev-core.h      | 1 +
qdev-monitor.c              | 7 +++++++
qemu-deprecated.texi        | 8 ++++++++
7 files changed, 29 insertions(+), 1 deletion(-)
[Qemu-devel] [PATCH 0/3] RfC: add support for deprecated devices.
Posted by Gerd Hoffmann 5 years, 6 months ago
Works simliar to machine types, by adding a deprecation_reason field
(using the same name for easy grepping).  Also deprecate two devices:
adlib and cirrus.

This is tagged as RfC because the deprecation notice is not added to
introspecction yet.

Gerd Hoffmann (3):
  qdev: add deprecation_reason to DeviceClass
  adlib: mark as insecure and deprecated.
  cirrus: mark as deprecated

 hw/audio/adlib.c            | 1 +
 hw/core/qdev.c              | 9 ++++++++-
 hw/display/cirrus_vga.c     | 2 ++
 hw/display/cirrus_vga_isa.c | 2 ++
 include/hw/qdev-core.h      | 1 +
 qdev-monitor.c              | 7 +++++++
 qemu-deprecated.texi        | 8 ++++++++
 7 files changed, 29 insertions(+), 1 deletion(-)

-- 
2.9.3