[meta-virtualization] [PATCH 2/3] xen: remove unused patch

Doug Goldstein cardoe at cardoe.com
Thu Jan 5 09:05:22 PST 2017


---
 ...l-compilation-warning-fix-for-arm-aarch64.patch | 58 ----------------------
 1 file changed, 58 deletions(-)
 delete mode 100644 recipes-extended/xen/files/libxl-compilation-warning-fix-for-arm-aarch64.patch

diff --git a/recipes-extended/xen/files/libxl-compilation-warning-fix-for-arm-aarch64.patch b/recipes-extended/xen/files/libxl-compilation-warning-fix-for-arm-aarch64.patch
deleted file mode 100644
index baab928..0000000
--- a/recipes-extended/xen/files/libxl-compilation-warning-fix-for-arm-aarch64.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-Upstream-Status: Submitted
-
-From 3716a7faf98e1e126d47fe1596593917c27ee1bd Mon Sep 17 00:00:00 2001
-From: Chris Patterson <pattersonc at ainfosec.com>
-Date: Tue, 26 Jul 2016 16:01:47 -0400
-Subject: [PATCH] libxl: compilation warning fix for arm & aarch64
-
-GCC 6 will warn on unused static const variables in c modules:
-https://gcc.gnu.org/ml/gcc-patches/2015-09/msg00847.html
-
-When compiling with LIBXL_HAVE_NO_SUSPEND_RESUME set (arm & aarch64),
-the compiler emits the following errors:
-  xl_cmdimpl.c:101:19: error: 'migrate_report'
-      defined but not used [-Werror=unused-const-variable=]
-  xl_cmdimpl.c:99:19: error: 'migrate_permission_to_go'
-      defined but not used [-Werror=unused-const-variable=]
-  xl_cmdimpl.c:97:19: error: 'migrate_receiver_ready'
-      defined but not used [-Werror=unused-const-variable=]
-  xl_cmdimpl.c:95:19: error: 'migrate_receiver_banner'
-      defined but not used [-Werror=unused-const-variable=]
-
-These unused const variables are only used in functions which exist between
-the ifndef block:
-   #ifndef LIBXL_HAVE_NO_SUSPEND_RESUME
-   ...
-   #endif
-
-Wrap the same ifndef around these variables.
-
-Signed-off-by: Chris Patterson <pattersonc at ainfosec.com>
----
- tools/libxl/xl_cmdimpl.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c
-index d1fcfa4..ada8178 100644
---- a/tools/libxl/xl_cmdimpl.c
-+++ b/tools/libxl/xl_cmdimpl.c
-@@ -92,6 +92,7 @@ static int fd_lock = -1;
- static const char savefileheader_magic[32]=
-     "Xen saved domain, xl format\n \0 \r";
- 
-+#ifndef LIBXL_HAVE_NO_SUSPEND_RESUME
- static const char migrate_receiver_banner[]=
-     "xl migration receiver ready, send binary domain data.\n";
- static const char migrate_receiver_ready[]=
-@@ -100,6 +101,8 @@ static const char migrate_permission_to_go[]=
-     "domain is yours, you are cleared to unpause";
- static const char migrate_report[]=
-     "my copy unpause results are as follows";
-+#endif
-+
-   /* followed by one byte:
-    *     0: everything went well, domain is running
-    *            next thing is we all exit
--- 
-2.7.4
-
-- 
2.10.2



More information about the meta-virtualization mailing list