Skip to content

Commit c0188e6

Browse files
huthkraxel
authored andcommitted
bt: Mark the bluetooth subsystem as deprecated
It has been unmaintained since years, and there were only trivial or tree-wide changes to the related files since many years, so the code is likely very bitrotten and broken. For example the following segfaults as soon as as you press a key: qemu-system-x86_64 -usb -device usb-bt-dongle -bt hci -bt device:keyboard Since we are not aware of anybody using bluetooth with the current version of QEMU, let's mark the subsystem as deprecated, with a special request for the users to write to the qemu-devel mailing list in case they still use it (so we could revert the deprecation status in that case). Signed-off-by: Thomas Huth <thuth@redhat.com> Message-id: 1542016830-19189-1-git-send-email-thuth@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
1 parent 460f023 commit c0188e6

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

qemu-deprecated.texi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,13 @@ The @option{[hub_id name]} parameter tuple of the 'hostfwd_add' and
128128
The ``ivshmem'' device type is replaced by either the ``ivshmem-plain''
129129
or ``ivshmem-doorbell`` device types.
130130

131+
@subsection bluetooth (since 3.1)
132+
133+
The bluetooth subsystem is unmaintained since many years and likely bitrotten
134+
quite a bit. It will be removed without replacement unless some users speaks
135+
up at the @email{qemu-devel@@nongnu.org} mailing list with information about
136+
their usecases.
137+
131138
@section System emulator machines
132139

133140
@subsection pc-0.10 and pc-0.11 (since 3.0)

qemu-options.hx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2772,6 +2772,10 @@ logic. The Transport Layer is decided by the machine type. Currently
27722772
the machines @code{n800} and @code{n810} have one HCI and all other
27732773
machines have none.
27742774
2775+
Note: This option and the whole bluetooth subsystem is considered as deprecated.
2776+
If you still use it, please send a mail to @email{qemu-devel@@nongnu.org} where
2777+
you describe your usecase.
2778+
27752779
@anchor{bt-hcis}
27762780
The following three types are recognized:
27772781

vl.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3269,6 +3269,10 @@ int main(int argc, char **argv, char **envp)
32693269
break;
32703270
#endif
32713271
case QEMU_OPTION_bt:
3272+
warn_report("The bluetooth subsystem is deprecated and will "
3273+
"be removed soon. If the bluetooth subsystem is "
3274+
"still useful for you, please send a mail to "
3275+
"qemu-devel@nongnu.org with your usecase.");
32723276
add_device_config(DEV_BT, optarg);
32733277
break;
32743278
case QEMU_OPTION_audio_help:

0 commit comments

Comments
 (0)