Blame SOURCES/0650-udev-rules-add-rule-to-create-dev-ptp_hyperv.patch
|
|
17aa40 |
From c0e530dc95fa7842ec1a48fd5df98956a76ae26c Mon Sep 17 00:00:00 2001
|
|
|
17aa40 |
From: Luca Boccassi <luca.boccassi@microsoft.com>
|
|
|
17aa40 |
Date: Fri, 26 Feb 2021 10:25:31 +0000
|
|
|
17aa40 |
Subject: [PATCH] udev rules: add rule to create /dev/ptp_hyperv
|
|
|
17aa40 |
|
|
|
17aa40 |
As for the KVM case, necessary for network cards with
|
|
|
17aa40 |
PTP devices when running a guest on HyperV
|
|
|
17aa40 |
|
|
|
17aa40 |
(cherry picked from commit 32e868f058da8b90add00b2958c516241c532b70)
|
|
|
17aa40 |
|
|
|
17aa40 |
Resolves: #1991834
|
|
|
17aa40 |
---
|
|
|
17aa40 |
rules/50-udev-default.rules.in | 2 ++
|
|
|
17aa40 |
1 file changed, 2 insertions(+)
|
|
|
17aa40 |
|
|
|
17aa40 |
diff --git a/rules/50-udev-default.rules.in b/rules/50-udev-default.rules.in
|
|
|
17aa40 |
index 191f56f42e..36657ce1a4 100644
|
|
|
17aa40 |
--- a/rules/50-udev-default.rules.in
|
|
|
17aa40 |
+++ b/rules/50-udev-default.rules.in
|
|
|
17aa40 |
@@ -83,4 +83,6 @@ KERNEL=="kvm", GROUP="kvm", MODE="@DEV_KVM_MODE@", OPTIONS+="static_node=kvm"
|
|
|
17aa40 |
|
|
|
17aa40 |
SUBSYSTEM=="ptp", ATTR{clock_name}=="KVM virtual PTP", SYMLINK += "ptp_kvm"
|
|
|
17aa40 |
|
|
|
17aa40 |
+SUBSYSTEM=="ptp", ATTR{clock_name}=="hyperv", SYMLINK += "ptp_hyperv"
|
|
|
17aa40 |
+
|
|
|
17aa40 |
LABEL="default_end"
|