Remove the core bluetooth code
It's been deprecated since QEMU v3.1. We've explicitly asked in the deprecation message that people should speak up on qemu-devel in case they are still actively using the bluetooth part of QEMU, but nobody ever replied that they are really still using it. I've tried it on my own to use this bluetooth subsystem for one of my guests, but I was also not able to get it running anymore: When I was trying to pass-through a real bluetooth device, either the guest did not see the device at all, or the guest crashed. Even worse for the emulated device: When running qemu-system-x86_64 -bt device:keyboard QEMU crashes once you hit a key. So it seems like the bluetooth stack is not only neglected, it is completely bitrotten, as far as I can tell. The only attention that this code got during the past years were some CVEs that have been spotted there. So this code is a burden for the developers, without any real benefit anymore. Time to remove it. Note: hw/bt/Kconfig only gets cleared but not removed here yet. Otherwise there is a problem with the *-softmmu/config-devices.mak.d dependency files - they still contain a reference to this file which gets evaluated first on some build hosts, before the file gets properly recreated. To avoid breaking these builders, we still need the file around for some time. It will get removed in a couple of weeks instead. Message-Id: <20191120091014.16883-4-thuth@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
43d68d0a94
commit
1d4ffe8dc7
19 changed files with 0 additions and 8651 deletions
2177
include/hw/bt.h
2177
include/hw/bt.h
File diff suppressed because it is too large
Load diff
|
|
@ -1,20 +0,0 @@
|
|||
#ifndef SYSEMU_BT_H
|
||||
#define SYSEMU_BT_H
|
||||
|
||||
/* BT HCI info */
|
||||
|
||||
typedef struct HCIInfo {
|
||||
int (*bdaddr_set)(struct HCIInfo *hci, const uint8_t *bd_addr);
|
||||
void (*cmd_send)(struct HCIInfo *hci, const uint8_t *data, int len);
|
||||
void (*sco_send)(struct HCIInfo *hci, const uint8_t *data, int len);
|
||||
void (*acl_send)(struct HCIInfo *hci, const uint8_t *data, int len);
|
||||
void *opaque;
|
||||
void (*evt_recv)(void *opaque, const uint8_t *data, int len);
|
||||
void (*acl_recv)(void *opaque, const uint8_t *data, int len);
|
||||
} HCIInfo;
|
||||
|
||||
/* bt-host.c */
|
||||
struct HCIInfo *bt_host_hci(const char *id);
|
||||
struct HCIInfo *qemu_next_hci(void);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue