From f4c66aab854882e15ce939196f076510b9c3729f Mon Sep 17 00:00:00 2001 From: Vitaly Kuznetsov Date: Thu, 14 Jul 2022 16:23:12 +0200 Subject: [PATCH] Add ConditionVirtualization=microsoft Hyper-V daemons only make sense on Hyper-V. Suggested-by: Chris Patterson Signed-off-by: Vitaly Kuznetsov --- hypervfcopyd.service | 1 + hypervkvpd.service | 1 + hypervvssd.service | 1 + 3 files changed, 3 insertions(+) diff --git a/hypervfcopyd.service b/hypervfcopyd.service index dd14a97..aab4b6b 100644 --- a/hypervfcopyd.service +++ b/hypervfcopyd.service @@ -1,5 +1,6 @@ [Unit] Description=Hyper-V FCOPY daemon +ConditionVirtualization=microsoft BindsTo=sys-devices-virtual-misc-vmbus\x21hv_fcopy.device IgnoreOnIsolate=1 diff --git a/hypervkvpd.service b/hypervkvpd.service index 36ee11c..2053f11 100644 --- a/hypervkvpd.service +++ b/hypervkvpd.service @@ -1,5 +1,6 @@ [Unit] Description=Hyper-V KVP daemon +ConditionVirtualization=microsoft BindsTo=sys-devices-virtual-misc-vmbus\x21hv_kvp.device After=network.target IgnoreOnIsolate=1 diff --git a/hypervvssd.service b/hypervvssd.service index 1e5ff43..6a0fad0 100644 --- a/hypervvssd.service +++ b/hypervvssd.service @@ -1,5 +1,6 @@ [Unit] Description=Hyper-V VSS daemon +ConditionVirtualization=microsoft BindsTo=sys-devices-virtual-misc-vmbus\x21hv_vss.device IgnoreOnIsolate=1