Received: from eggs.gnu.org ([2001:4830:134:3::10]:42020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eX4zF-0000qF-G4 for qemu-devel@nongnu.org; Thu, 04 Jan 2018 07:51:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eX4zA-0005cl-8v for qemu-devel@nongnu.org; Thu, 04 Jan 2018 07:51:09 -0500 Received: from mx1.redhat.com ([209.132.183.28]:53700) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eX4z9-0005aa-Us for qemu-devel@nongnu.org; Thu, 04 Jan 2018 07:51:04 -0500 References: <1515068847-20311-1-git-send-email-thuth@redhat.com> <2efc072a-a0d7-a3f3-a3a9-9ec6ad86e170@redhat.com> From: Thomas Huth Message-ID: <797565f6-894a-1663-7375-afbcb1d1a70b@redhat.com> Date: Thu, 4 Jan 2018 13:50:57 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] usb: Remove legacy -usbdevice option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Gerd Hoffmann , QEMU Developers , Samuel Thibault , Paolo Bonzini On 04.01.2018 13:49, Peter Maydell wrote: > On 4 January 2018 at 12:44, Thomas Huth wrote: >> On 04.01.2018 13:33, Peter Maydell wrote: >>> The diffstat is nice, but can we retain the "please use >>> $NEWOPTION instead of $OLDOPTION" message for a bit? >>> I'm pretty sure there will be users out there who've >>> been happily ignoring deprecation notices, and I think >>> we'll reduce the amount of support traffic if they >>> get a new QEMU with a specific error message telling them >>> what they need to fix, rather than one which just prints >>> a generic "unknown option" message. >> >> Sounds like a good idea at the first glance ... but at a second thought: >> Don't we confuse the management layers like libvirt this way, which >> might probe for the availability of this option by executing QEMU with >> this parameter? > > If they do (which I'd hope they don't) then QEMU will > exit with a failure status code, which they ought to > identify as "not supported". OK, makes sense. I'll cook a v2 of the patch accordingly... Thomas