From: "Daniel P. Berrangé" <berrange@redhat.com>
To: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
"Thomas Huth" <thuth@redhat.com>,
libvir-list@redhat.com,
"qemu-devel@nongnu.org Developers" <qemu-devel@nongnu.org>,
qemu-arm <qemu-arm@nongnu.org>,
"Gerd Hoffmann" <kraxel@redhat.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@redhat.com>,
"Aleksandar Markovic" <aleksandar.m.mail@gmail.com>
Subject: Re: [PATCH for-5.0 3/4] Remove the core bluetooth code
Date: Thu, 6 Feb 2020 09:56:01 +0000 [thread overview]
Message-ID: <20200206095601.GC2391707@redhat.com> (raw)
In-Reply-To: <3585192d-a0c1-4116-bec9-4816d498ca3d@amsat.org>
On Wed, Feb 05, 2020 at 08:13:19PM +0100, Philippe Mathieu-Daudé wrote:
> On 2/5/20 6:51 PM, Daniel P. Berrangé wrote:
> > On Wed, Feb 05, 2020 at 06:40:31PM +0100, Aleksandar Markovic wrote:
> >> On Sat, Feb 1, 2020 at 7:53 PM Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
> >>>
> >>>>>> @@ -1151,10 +1150,6 @@ for opt do
> >>>>>> ;;
> >>>>>> --enable-brlapi) brlapi="yes"
> >>>>>> ;;
> >>>>>> - --disable-bluez) bluez="no"
> >>>>>> - ;;
> >>>>>> - --enable-bluez) bluez="yes"
> >>>>>> - ;;
> >>>>>
> >>>>> Now than I'm bisecting over this commit, I realize removing this
> >>>>> option was not a good idea, we should have done like commit
> >>>>> cb6414dfec8 or 315d3184525:
> >>>>>
> >>>>> @@ -886,10 +885,6 @@ for opt do
> >>>>> - --disable-uuid) uuid="no"
> >>>>> - ;;
> >>>>> - --enable-uuid) uuid="yes"
> >>>>> - ;;
> >>>>> ...
> >>>>> + --enable-uuid|--disable-uuid)
> >>>>> + echo "$0: $opt is obsolete, UUID support is always built" >&2
> >>>>> + ;;
> >>>>
> >>>> Looks trivial ... so if it bugs you, just send a patch?
> >>>
> >>> I thought about it but this won't fix much, it is too late now.
> >>>
> >>> I simply wanted to share this bugged me so we try to avoid doing the
> >>> same mistake again.
> >>>
> >>
> >> I vote for addition of a change similar to what Philippe described.
> >>
> >> Furthermore, it looks to me the correct way would be to now do full
> >> deprecation of --enable-bluez and --disable-bluez. This means adding
> >> this to documentation (not related to bluetooth devices support), not
> >> only a change in "configure". This also means that only after two next
> >> full cycles these options could be removed.
> >>
> >> True, this could have been done together with bluetooth devices
> >> support deprecation (and in that case we could have deleted these
> >> options right away), but it wasn't. Users don't have a crystal ball to
> >> know that we assumed that --enable-bluez and --disable-bluez were part
> >> of bluetooth devices support, and could rightfully complain about an
> >> abrupt elimination of a compile time option.
> >
> > The deprecation policy is primarily intended for notifying of changes
> > to QEMU's stable interfaces ( CLI, HMP, QMP) which affect behaviour
> > and usage of QEMU at runtime & are liable to break apps managing
> > QEMU.
> >
> > Changes to build time options have no strong reason to be subjected to
> > the deprecation process. If we remove an option at build time the effect
> > is noticed immediately and the solution is straightforward (stop passing
> > the option). We have added / removed configure options at will with little
> > negative feedback historically. We'll have far biggest changes coming to
> > the build system in future too, with the introduction of meson.
>
> I understand your point when looking forward (when distribution upgrade,
> it is easy to adapt).
> However this is still an issue when looking backward when running
> bisection to find regressions.
That's only a problem if you were actively setting this particular
command line argument. Most developers are just fine with configure
auto-detecting stuff. The only time I've ever needed to try to
explicitly disable this is in downstream RHEL branches of QEMU
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
next prev parent reply other threads:[~2020-02-06 9:58 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-20 9:10 [PATCH for-5.0 0/4] Remove the deprecated bluetooth subsystem Thomas Huth
2019-11-20 9:10 ` [PATCH for-5.0 1/4] hw/arm/nseries: Replace the bluetooth chardev with a "null" chardev Thomas Huth
2019-11-20 10:51 ` Peter Maydell
2019-11-20 9:10 ` [PATCH for-5.0 2/4] hw/usb: Remove the USB bluetooth dongle device Thomas Huth
2019-11-20 9:35 ` [libvirt] " Ján Tomko
2019-11-20 9:10 ` [PATCH for-5.0 3/4] Remove the core bluetooth code Thomas Huth
2019-11-20 9:36 ` [libvirt] " Ján Tomko
2020-02-01 16:09 ` Philippe Mathieu-Daudé
2020-02-01 18:50 ` Thomas Huth
2020-02-01 18:53 ` Philippe Mathieu-Daudé
2020-02-01 18:59 ` Thomas Huth
2020-02-05 15:26 ` Paolo Bonzini
2020-02-05 17:40 ` Aleksandar Markovic
2020-02-05 17:46 ` Thomas Huth
2020-02-05 17:54 ` Daniel P. Berrangé
2020-02-05 17:51 ` Daniel P. Berrangé
2020-02-05 18:03 ` Aleksandar Markovic
2020-02-05 18:53 ` Aleksandar Markovic
2020-02-06 6:49 ` Thomas Huth
2020-02-05 19:13 ` Philippe Mathieu-Daudé
2020-02-06 9:56 ` Daniel P. Berrangé [this message]
2019-11-20 9:10 ` [PATCH for-5.0 4/4] Remove libbluetooth / bluez from the CI tests Thomas Huth
2019-11-20 9:58 ` [PATCH for-5.0 0/4] Remove the deprecated bluetooth subsystem Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200206095601.GC2391707@redhat.com \
--to=berrange@redhat.com \
--cc=aleksandar.m.mail@gmail.com \
--cc=f4bug@amsat.org \
--cc=kraxel@redhat.com \
--cc=libvir-list@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@redhat.com \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).