Put some infrastructure in place to allow tagging objects (including devices) as deprected. Use it to mark the ohci pci host adapter and the usb hub as deprecated.
v3: - switch to two properties: 'deprecated' and 'not secure' flags. - add rfc patch implementing policies for devices with flags. v2: - pick up reviews. - drop ohci patch. - add cirrus vga patch. Gerd Hoffmann (4): qom: allow to mark objects as deprecated or not secure. usb/hub: mark as deprecated vga/cirrus: mark as not secure qdev: add device policy [RfC] include/qom/object.h | 3 ++ hw/core/qdev.c | 60 ++++++++++++++++++++++++++++++++++++- hw/display/cirrus_vga.c | 1 + hw/display/cirrus_vga_isa.c | 1 + hw/usb/dev-hub.c | 1 + qom/qom-qmp-cmds.c | 8 +++++ system/qdev-monitor.c | 8 +++++ qapi/qom.json | 8 ++++- 8 files changed, 88 insertions(+), 2 deletions(-) -- 2.45.2