Re: [Qemu-devel] [PATCH 1/3] qdev: add deprecation_reason to DeviceClass

2018-10-29 Thread Gerd Hoffmann
On Thu, Oct 25, 2018 at 01:12:15PM +0200, Philippe Mathieu-Daudé wrote: > Hi Gerd, > > On 25/10/18 10:52, Gerd Hoffmann wrote: > > Simliar to deprecated machine types. > > "Similar" > > > Print a warning when creating a deprecated device. > > Add deprecation notice to -device help. > > > > TODO

Re: [Qemu-devel] [PATCH 1/3] qdev: add deprecation_reason to DeviceClass

2018-10-25 Thread Philippe Mathieu-Daudé
Hi Gerd, On 25/10/18 10:52, Gerd Hoffmann wrote: Simliar to deprecated machine types. "Similar" Print a warning when creating a deprecated device. Add deprecation notice to -device help. TODO: add to intospection. "introspection" Do we want the TODO in the git history? Signed-off-by:

Re: [Qemu-devel] [PATCH 1/3] qdev: add deprecation_reason to DeviceClass

2018-10-25 Thread P J P
+-- On Thu, 25 Oct 2018, Gerd Hoffmann wrote --+ | Simliar to deprecated machine types. | Print a warning when creating a deprecated device. | Add deprecation notice to -device help. | | TODO: add to intospection. s/intospection/introspection ..? | diff --git a/hw/core/qdev.c b/hw/core/qdev.c |