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

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