summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@cardoe.com>2017-01-05 11:05:22 -0600
committerBruce Ashfield <bruce.ashfield@windriver.com>2017-01-06 22:11:13 -0500
commit980478f05f5abae6aa0dc4a0972989cef5545ef3 (patch)
treec4f9921fe3420ac5cda4222da0be24befeba371f
parent3713775e6911701c106f38651c9efccdb1639e4d (diff)
downloadmeta-virtualization-980478f05f5abae6aa0dc4a0972989cef5545ef3.tar.gz
xen: remove unused patch
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r--recipes-extended/xen/files/libxl-compilation-warning-fix-for-arm-aarch64.patch58
1 files changed, 0 insertions, 58 deletions
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 baab9281..00000000
--- a/recipes-extended/xen/files/libxl-compilation-warning-fix-for-arm-aarch64.patch
+++ /dev/null
@@ -1,58 +0,0 @@
1Upstream-Status: Submitted
2
3From 3716a7faf98e1e126d47fe1596593917c27ee1bd Mon Sep 17 00:00:00 2001
4From: Chris Patterson <pattersonc@ainfosec.com>
5Date: Tue, 26 Jul 2016 16:01:47 -0400
6Subject: [PATCH] libxl: compilation warning fix for arm & aarch64
7
8GCC 6 will warn on unused static const variables in c modules:
9https://gcc.gnu.org/ml/gcc-patches/2015-09/msg00847.html
10
11When compiling with LIBXL_HAVE_NO_SUSPEND_RESUME set (arm & aarch64),
12the compiler emits the following errors:
13 xl_cmdimpl.c:101:19: error: 'migrate_report'
14 defined but not used [-Werror=unused-const-variable=]
15 xl_cmdimpl.c:99:19: error: 'migrate_permission_to_go'
16 defined but not used [-Werror=unused-const-variable=]
17 xl_cmdimpl.c:97:19: error: 'migrate_receiver_ready'
18 defined but not used [-Werror=unused-const-variable=]
19 xl_cmdimpl.c:95:19: error: 'migrate_receiver_banner'
20 defined but not used [-Werror=unused-const-variable=]
21
22These unused const variables are only used in functions which exist between
23the ifndef block:
24 #ifndef LIBXL_HAVE_NO_SUSPEND_RESUME
25 ...
26 #endif
27
28Wrap the same ifndef around these variables.
29
30Signed-off-by: Chris Patterson <pattersonc@ainfosec.com>
31---
32 tools/libxl/xl_cmdimpl.c | 3 +++
33 1 file changed, 3 insertions(+)
34
35diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c
36index d1fcfa4..ada8178 100644
37--- a/tools/libxl/xl_cmdimpl.c
38+++ b/tools/libxl/xl_cmdimpl.c
39@@ -92,6 +92,7 @@ static int fd_lock = -1;
40 static const char savefileheader_magic[32]=
41 "Xen saved domain, xl format\n \0 \r";
42
43+#ifndef LIBXL_HAVE_NO_SUSPEND_RESUME
44 static const char migrate_receiver_banner[]=
45 "xl migration receiver ready, send binary domain data.\n";
46 static const char migrate_receiver_ready[]=
47@@ -100,6 +101,8 @@ static const char migrate_permission_to_go[]=
48 "domain is yours, you are cleared to unpause";
49 static const char migrate_report[]=
50 "my copy unpause results are as follows";
51+#endif
52+
53 /* followed by one byte:
54 * 0: everything went well, domain is running
55 * next thing is we all exit
56--
572.7.4
58