Blame SOURCES/hpvd-redhat-Add-ConditionalVirtualization-to-the-rest-of-.patch

86bc6d
From 3eb64f25afdf65d9999d155d8c89327cf9d27036 Mon Sep 17 00:00:00 2001
86bc6d
From: Mohammed Gamal <mgamal@redhat.com>
86bc6d
Date: Mon, 15 Aug 2022 17:38:37 +0200
86bc6d
Subject: [PATCH 2/2] redhat: Add ConditionalVirtualization to the rest of
86bc6d
 systemd units
86bc6d
86bc6d
RH-Author: Mohamed Gamal Morsy <mmorsy@redhat.com>
86bc6d
RH-MergeRequest: 3: hypervkvpd.service: ordering fixes
86bc6d
RH-Commit: [2/2] 6638ac3cfcff63e664d6ba86772a4bdfe45d2084
86bc6d
RH-Bugzilla: 2115761
86bc6d
RH-Acked-by: Vitaly Kuznetsov <vkuznets@redhat.com>
86bc6d
RH-Acked-by: Cathy Avery <cavery@redhat.com>
86bc6d
86bc6d
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2115761
86bc6d
86bc6d
Add ConditionalVirtualization to the rest of systemd units to make sure
86bc6d
they're started when running in Azure/Hyper-V.
86bc6d
86bc6d
Signed-off-by: Mohammed Gamal <mgamal@redhat.com>
86bc6d
---
86bc6d
 hypervfcopyd.service | 1 +
86bc6d
 hypervvssd.service   | 1 +
86bc6d
 2 files changed, 2 insertions(+)
86bc6d
86bc6d
diff --git a/hypervfcopyd.service b/hypervfcopyd.service
86bc6d
index dd14a97..aab4b6b 100644
86bc6d
--- a/hypervfcopyd.service
86bc6d
+++ b/hypervfcopyd.service
86bc6d
@@ -1,5 +1,6 @@
86bc6d
 [Unit]
86bc6d
 Description=Hyper-V FCOPY daemon
86bc6d
+ConditionVirtualization=microsoft
86bc6d
 BindsTo=sys-devices-virtual-misc-vmbus\x21hv_fcopy.device
86bc6d
 IgnoreOnIsolate=1
86bc6d
 
86bc6d
diff --git a/hypervvssd.service b/hypervvssd.service
86bc6d
index 1e5ff43..6a0fad0 100644
86bc6d
--- a/hypervvssd.service
86bc6d
+++ b/hypervvssd.service
86bc6d
@@ -1,5 +1,6 @@
86bc6d
 [Unit]
86bc6d
 Description=Hyper-V VSS daemon
86bc6d
+ConditionVirtualization=microsoft
86bc6d
 BindsTo=sys-devices-virtual-misc-vmbus\x21hv_vss.device
86bc6d
 IgnoreOnIsolate=1
86bc6d
 
86bc6d
-- 
86bc6d
2.31.1
86bc6d