git: a04e1adff054 - stable/14 - devd.conf(5): call hyperv_vfattach in a Hyper-V guest only
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 26 Jul 2025 07:14:08 UTC
The branch stable/14 has been updated by eugen:
URL: https://cgit.FreeBSD.org/src/commit/?id=a04e1adff054e0bb644759b39b54d4c172655801
commit a04e1adff054e0bb644759b39b54d4c172655801
Author: Eugene Grosbein <eugen@FreeBSD.org>
AuthorDate: 2025-07-22 10:06:24 +0000
Commit: Eugene Grosbein <eugen@FreeBSD.org>
CommitDate: 2025-07-26 07:13:34 +0000
devd.conf(5): call hyperv_vfattach in a Hyper-V guest only
Limit calls to /usr/libexec/hyperv/hyperv_vfattach to Hyper-V guests.
PR: 287873
(cherry picked from commit d4a0e749cc66cd5d019d8fb8f43427109aef4c9f)
---
sbin/devd/hyperv.conf | 1 +
1 file changed, 1 insertion(+)
diff --git a/sbin/devd/hyperv.conf b/sbin/devd/hyperv.conf
index 13695a0c75b6..70108ac36e54 100644
--- a/sbin/devd/hyperv.conf
+++ b/sbin/devd/hyperv.conf
@@ -103,5 +103,6 @@ notify 10 {
notify 10 {
match "system" "ETHERNET";
match "type" "IFATTACH";
+ match "vm_guest" "hv";
action "/usr/libexec/hyperv/hyperv_vfattach $subsystem 0";
};