[libvirt] [PATCH 2/5] daemon: Log warning when running on a deprecated architecture

Andrea Bolognani abologna at redhat.com
Sat Apr 1 15:52:03 UTC 2017


Having this in the log will make it easier for developer to
downgrade the priority of bugs that only affect deprecated
architectures and focus their efforts where it matters.
---
 daemon/libvirtd.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/daemon/libvirtd.c b/daemon/libvirtd.c
index 891238b..bf64800 100644
--- a/daemon/libvirtd.c
+++ b/daemon/libvirtd.c
@@ -1259,6 +1259,11 @@ int main(int argc, char **argv) {
         exit(EXIT_FAILURE);
     }
 
+#if ENABLE_DEPRECATED_ARCHITECTURES
+    VIR_WARN("libvirtd is running on a deprecated architecture");
+    VIR_WARN("Support for this architecture will be dropped in the future");
+#endif
+
     daemonSetupNetDevOpenvswitch(config);
 
     if (daemonSetupAccessManager(config) < 0) {
-- 
2.7.4




More information about the libvir-list mailing list