-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Blutooth Hci interface down option #354
Conversation
Building VM-Manager Code. For more details refer below link: |
Building VM-Manager Code. For more details refer below link: |
Build successful. |
Please find the Deb Package Path : |
Build successful. |
Please find the Deb Package Path : |
src/guest/vm_builder_qemu.h
Outdated
@@ -57,6 +57,7 @@ class VmBuilderQemu : public VmBuilder { | |||
void BuildVcpuCmd(void); | |||
bool BuildFirmwareCmd(void); | |||
void BuildVdiskCmd(void); | |||
void BringDownBtHciIntf(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
src/guest/vm_builder_qemu.cc
Outdated
@@ -300,6 +300,18 @@ bool VmBuilderQemu::SetupSriov(void) { | |||
return true; | |||
} | |||
|
|||
void VmBuilderQemu::BringDownBtHciIntf() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add void to if no param required:
void BringDownBtHciIntf(void);
Everytime before launching android user has to manually do "sudo hciconfig hci0 down" when BT Card is passthrough. Added 'bluetooth' section with 'hci_down' flag in the vm-manager. If set to 'true', will bring down the BT hci interface. Tests done: 1. Build vm-manager binary 2. Add BT USB Pci address in the [passthrough] 3. Add hci_down=true in [bluetooth] 4. Launch Android and check BT on success 5. Validated on RPL NUC with AX211 Tracked-On: OAM-116593 Signed-off-by: Gowtham Anandha Babu <gowtham.anandha.babu@intel.com> Signed-off-by: Aman Bhadouria <aman.bhadouria@intel.com>
Building VM-Manager Code. For more details refer below link: |
Build successful. |
Please find the Deb Package Path : |
Building VM-Manager Code. For more details refer below link: |
Build successful. |
Please find the Deb Package Path : |
Everytime before launching android user has to manually do "sudo hciconfig hci0 down" when BT Card is passthrough.
Added 'bluetooth' section with 'hci_down' flag in the vm-manager. If set to 'true', will bring down the BT hci interface.
Tests done:
Tracked-On: OAM-116593