|
|
86bc6d |
From 33725de60efa5e867ed73d2404d316785d0e4bb5 Mon Sep 17 00:00:00 2001
|
|
|
86bc6d |
From: Mohammed Gamal <mgamal@redhat.com>
|
|
|
86bc6d |
Date: Wed, 20 Jul 2022 11:48:40 +0200
|
|
|
86bc6d |
Subject: [PATCH 1/2] hypervkvpd.service: ordering fixes
|
|
|
86bc6d |
|
|
|
86bc6d |
RH-Author: Mohamed Gamal Morsy <mmorsy@redhat.com>
|
|
|
86bc6d |
RH-MergeRequest: 3: hypervkvpd.service: ordering fixes
|
|
|
86bc6d |
RH-Commit: [1/2] f5bec088f7cf4afd641a2d7184a4e29cd1734bf4
|
|
|
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 |
From 8dcff588c8eb1ab3119c6b0acead03189814b955 Mon Sep 17 00:00:00 2001
|
|
|
86bc6d |
From: Chris Patterson <cpatterson@microsoft.com>
|
|
|
86bc6d |
Date: Jul 01 2022 14:36:25 +0000
|
|
|
86bc6d |
Subject: hypervkvpd.service: ordering fixes
|
|
|
86bc6d |
|
|
|
86bc6d |
- Only start kvpd under Hyper-V.
|
|
|
86bc6d |
|
|
|
86bc6d |
- Minimize dependencies for kvpd by removing the unnecessary
|
|
|
86bc6d |
network.target requirement, but add kvp device and mount
|
|
|
86bc6d |
requirements.
|
|
|
86bc6d |
|
|
|
86bc6d |
Start before cloud-init-local.service which relies on kvpd
|
|
|
86bc6d |
for Azure.
|
|
|
86bc6d |
|
|
|
86bc6d |
Signed-off-by: Chris Patterson <cpatterson@microsoft.com>
|
|
|
86bc6d |
|
|
|
86bc6d |
Signed-off-by: Mohammed Gamal <mgamal@redhat.com>
|
|
|
86bc6d |
---
|
|
|
86bc6d |
hypervkvpd.service | 5 ++++-
|
|
|
86bc6d |
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
86bc6d |
|
|
|
86bc6d |
diff --git a/hypervkvpd.service b/hypervkvpd.service
|
|
|
86bc6d |
index 36ee11c..40dff13 100644
|
|
|
86bc6d |
--- a/hypervkvpd.service
|
|
|
86bc6d |
+++ b/hypervkvpd.service
|
|
|
86bc6d |
@@ -1,7 +1,10 @@
|
|
|
86bc6d |
[Unit]
|
|
|
86bc6d |
Description=Hyper-V KVP daemon
|
|
|
86bc6d |
+ConditionVirtualization=microsoft
|
|
|
86bc6d |
BindsTo=sys-devices-virtual-misc-vmbus\x21hv_kvp.device
|
|
|
86bc6d |
-After=network.target
|
|
|
86bc6d |
+After=sys-devices-virtual-misc-vmbus\x21hv_kvp.device
|
|
|
86bc6d |
+RequiresMountsFor=/var/lib/hyperv
|
|
|
86bc6d |
+Before=cloud-init-local.service
|
|
|
86bc6d |
IgnoreOnIsolate=1
|
|
|
86bc6d |
|
|
|
86bc6d |
[Service]
|
|
|
86bc6d |
--
|
|
|
86bc6d |
2.31.1
|
|
|
86bc6d |
|