Jason Wang <jasow...@redhat.com> writes: > On 01/13/2016 10:58 AM, Jason Wang wrote: >> >> On 01/12/2016 07:45 PM, Cleber Rosa wrote: >>> ----- Original Message ----- >>>> From: "Thomas Huth" <th...@redhat.com> >>>> To: "Jason Wang" <jasow...@redhat.com>, "Jan Kiszka" >>>> <jan.kis...@siemens.com>, qemu-devel@nongnu.org >>>> Cc: "Paolo Bonzini" <pbonz...@redhat.com>, >>>> avocado-de...@redhat.com, "Markus Armbruster" <arm...@redhat.com> >>>> Sent: Tuesday, January 12, 2016 5:26:36 AM >>>> Subject: Re: [Qemu-devel] [PATCH] net/slirp: Tell the users when >>>> they are using deprecated options >>>> >>>> On 12.01.2016 04:42, Jason Wang wrote: >>>>> On 01/11/2016 11:55 PM, Thomas Huth wrote: >>>>>> On 15.12.2015 09:35, Thomas Huth wrote: >>>>>>> We don't want to support the legacy -tftp, -bootp, -smb and >>>>>>> -net channel options forever. So let's start telling the users >>>>>>> that they will go away in a future version. >>>>>>> >>>>>>> Signed-off-by: Thomas Huth <th...@redhat.com> [...] > Rethinking about this. I'm not quite sure we can remove those > especially "-net user". Google qemu "-net user" gives about 15,900 > results (and the first link is qemu wiki). Maybe we can replace "will be > removed in a future version." with something like "was suggested to use > -netdev user,XXX" instead?
A message like "FOO is deprecated" should always accompanied by advice on preferred usage". Example: $ qemu-img create -e qemu-img: option -e is deprecated, please use '-o encryption' instead! Nice and helpful (apart from the uncalled-for exclamation mark).