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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux