[azure] UBUNTU: azure: Prevent hv_network_direct_* drivers from being hot plugged

Message ID 1501870718-17189-1-git-send-email-marcelo.cerri@canonical.com
State New
Headers show

Commit Message

Marcelo Henrique Cerri Aug. 4, 2017, 6:18 p.m.
BugLink: http://bugs.launchpad.net/bugs/1708699

When linux-image-*-azure is installed, the correct RDMA driver that must
be used is still unknown. To workaround that, the modalias for the RDMA
drivers are overridden with an install command, that later can be
replaced by walinuxagent with the correct alias.

Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri@canonical.com>
---
 debian.azure/modprobe.d/common.conf | 2 ++
 1 file changed, 2 insertions(+)

Comments

Marcelo Henrique Cerri Aug. 11, 2017, 10:39 p.m. | #1
Acked-by: Marcelo Henrique Cerri <marcelo.cerri@canonical.com>

Patch

diff --git a/debian.azure/modprobe.d/common.conf b/debian.azure/modprobe.d/common.conf
index e0fbbd6e060d..57acdd4be025 100644
--- a/debian.azure/modprobe.d/common.conf
+++ b/debian.azure/modprobe.d/common.conf
@@ -1,3 +1,5 @@ 
 # LP:1434842 -- disable OSS drivers by default to allow pulseaudio to emulate
 blacklist snd-mixer-oss
 blacklist snd-pcm-oss
+# LP:1708699 -- prevent RDMA drivers from being hot plugged
+install vmbus:3daf2e8ca732094bab99bd1f1c86b501 true