Re: [Qemu-devel] [RFC PATCH 1/6] machine: add a deprecated_reason property

2018-01-21 Thread Thomas Huth
On 22.01.2018 03:10, Philippe Mathieu-Daudé wrote: > Hi Thomas, > >> This series introduces 5 different flavors of deprecation >> messages: >> >> * "Too old" >> * "Unmaintained" >> * "The ZCU102 machine has the same features supported" >> * "Use the \"pc\" machine instead" >> * "Obsoleted by the \

Re: [Qemu-devel] [RFC PATCH 1/6] machine: add a deprecated_reason property

2018-01-21 Thread Philippe Mathieu-Daudé
Hi Thomas, > This series introduces 5 different flavors of deprecation > messages: > > * "Too old" > * "Unmaintained" > * "The ZCU102 machine has the same features supported" > * "Use the \"pc\" machine instead" > * "Obsoleted by the \"40p\" machine" > > Can we clearly document guidelines and ex

Re: [Qemu-devel] [RFC PATCH 1/6] machine: add a deprecated_reason property

2017-11-08 Thread Eduardo Habkost
On Tue, Nov 07, 2017 at 11:28:23PM -0300, Philippe Mathieu-Daudé wrote: > If a machine has the deprecated_reason property set: > - it won't get listed anymore by the "-M help" command, > - a warning will be displayed if the machine is used. > > Example: > $ ppc-softmmu/qemu-system-ppc -M prep >

Re: [Qemu-devel] [RFC PATCH 1/6] machine: add a deprecated_reason property

2017-11-08 Thread Daniel P. Berrange
On Wed, Nov 08, 2017 at 11:23:53AM +0100, Thomas Huth wrote: > On 08.11.2017 03:28, Philippe Mathieu-Daudé wrote: > > If a machine has the deprecated_reason property set: > > - it won't get listed anymore by the "-M help" command, > > - a warning will be displayed if the machine is used. > > > > E

Re: [Qemu-devel] [RFC PATCH 1/6] machine: add a deprecated_reason property

2017-11-08 Thread Thomas Huth
On 08.11.2017 03:28, Philippe Mathieu-Daudé wrote: > If a machine has the deprecated_reason property set: > - it won't get listed anymore by the "-M help" command, > - a warning will be displayed if the machine is used. > > Example: > $ ppc-softmmu/qemu-system-ppc -M prep > qemu-system-ppc: -M

[Qemu-devel] [RFC PATCH 1/6] machine: add a deprecated_reason property

2017-11-07 Thread Philippe Mathieu-Daudé
If a machine has the deprecated_reason property set: - it won't get listed anymore by the "-M help" command, - a warning will be displayed if the machine is used. Example: $ ppc-softmmu/qemu-system-ppc -M prep qemu-system-ppc: -M prep: warning: The PowerPC PREP platform machine is deprecated