Skip to contentSkip to conversation

more Xen updates

PATCH In review Doug Goldstein 2 participants 7 messages Jan 5, 2017 – Jan 7, 2017

lore
Share & tools
lore
#0 lore raw

cover more Xen updates

Here are some updates for master and morty. The README is something that I hope is ok to try and provide users some more info when they work with Xen.

Doug Goldstein (3):
xen: update license checksum
xen: remove unused patch
xen: add a README to provide info for users

 recipes-extended/xen/README                        | 23 +++++++++
 ...l-compilation-warning-fix-for-arm-aarch64.patch | 58 ----------------------
 recipes-extended/xen/xen.inc                       |  2 +-
 3 files changed, 24 insertions(+), 59 deletions(-)
 create mode 100644 recipes-extended/xen/README
 delete mode 100644 recipes-extended/xen/files/libxl-compilation-warning-fix-for-arm-aarch64.patch
Signature · 1 line
2.10.2
#1 lore raw

PATCH 1/3 xen: update license checksum

The checksum of the license changed with the 4.8.0 release.

---
 recipes-extended/xen/xen.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/xen/xen.inc +1 -1
index af907b6..0084274 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "http://xen.org"
 LICENSE = "GPLv2"
 SECTION = "console/tools"
 
-LIC_FILES_CHKSUM = "file://COPYING;md5=a6260c12cd5de27e80d89ae18e48d20a"
+LIC_FILES_CHKSUM = "file://COPYING;md5=bbb4b1bdc2c3b6743da3c39d03249095"
 
 COMPATIBLE_HOST = '(x86_64.*).*-linux|aarch64.*-linux'
 
Signature · 1 line
2.10.2
#2 lore raw

PATCH 2/3 xen: remove unused patch

In reply to Doug Goldstein
---
 ...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
recipes-extended/xen/files/libxl-compilation-warning-fix-for-arm-aarch64.patch deleted +0 -58
deleted file mode 100644
index baab928..0000000
@@ -1,58 +0,0 @@
-Upstream-Status: Submitted
-
-From 3716a7faf98e1e126d47fe1596593917c27ee1bd Mon Sep 17 00:00:00 2001
-From: Chris Patterson <[email protected]>
-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 <[email protected]>
----
- 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
-
Signature · 1 line
2.10.2
#3 lore raw

PATCH 3/3 xen: add a README to provide info for users

In reply to Doug Goldstein

Provided some basic documentation on how to use the xen recipe properly.

---
 recipes-extended/xen/README | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 recipes-extended/xen/README
recipes-extended/xen/README new file +23 -0
new file mode 100644
index 0000000..6ce2581
@@ -0,0 +1,23 @@
+Xen
+---
+
+For any issues with the xen recipes please make sure you CC [email protected]
+
+configuring the hypervisor
+--------------------------
+
+Since 4.7.0 Xen supports using Kconfig to configure the hypervisor and the
+Yocto recipe supports this similiarly to how busybox works. The easiest way
+for you to take advantage of this is to create a .config for Xen and then
+copy it to your Yocto layer as 'defconfig' inside of
+'recipes-extended/xen/files/' and then create a bbappend adding
+'file://defconfig' to your SRC_URI.
+
+security patches
+----------------
+
+The base recipe does not include security fixes that the Xen community releases
+as XSAs (http://xenbits.xen.org/xsa/). The easiest way to include those is to
+drop patches in 'recipes-extened/xen/files' and create a bbappend adding those
+patches to SRC_URI and they will be applied. Alternatively you can override
+the SRC_URI to a git repo you provide that contains the patches.
Signature · 1 line
2.10.2
#4 lore raw

PATCH 1/1 xen: add a README to provide info for users

In reply to Doug Goldstein

Provided some basic documentation on how to use the xen recipe properly.

---
 recipes-extended/xen/README | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 recipes-extended/xen/README
recipes-extended/xen/README new file +24 -0
new file mode 100644
index 0000000..3686530
@@ -0,0 +1,24 @@
+Xen
+---
+
+For any issues with the xen recipes please make sure you CC [email protected]
+
+configuring the hypervisor
+--------------------------
+
+Since 4.7.0 Xen supports using Kconfig to configure the hypervisor. Similarly
+to how the recipe for busybox works, you can provide a .config as a defconfig
+to override the default configuration of the hypervisor. The easiest way
+for you to take advantage of this is to create a .config for Xen and then
+copy it to your Yocto layer as 'defconfig' inside of
+'recipes-extended/xen/files/' and then create a bbappend adding
+'file://defconfig' to your SRC_URI.
+
+security patches
+----------------
+
+The base recipe does not include security fixes that the Xen community releases
+as XSAs (http://xenbits.xen.org/xsa/). The easiest way to include those is to
+drop patches in 'recipes-extened/xen/files' and create a bbappend adding those
+patches to SRC_URI and they will be applied. Alternatively, you can override
+the SRC_URI to a git repo you provide that contains the patches.
Signature · 1 line
2.10.2
#5 lore raw

Re: [PATCH] xen: add a README to provide info for users

sorry for the confusion. This replaces patch 3 and provides better wording.

Quoted 37 lines · Doug Goldstein

Provided some basic documentation on how to use the xen recipe properly.

---
 recipes-extended/xen/README | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 recipes-extended/xen/README
recipes-extended/xen/README new file +24 -0
new file mode 100644
index 0000000..3686530
@@ -0,0 +1,24 @@
+Xen
+---
+
+For any issues with the xen recipes please make sure you CC [email protected]
+
+configuring the hypervisor
+--------------------------
+
+Since 4.7.0 Xen supports using Kconfig to configure the hypervisor. Similarly
+to how the recipe for busybox works, you can provide a .config as a defconfig
+to override the default configuration of the hypervisor. The easiest way
+for you to take advantage of this is to create a .config for Xen and then
+copy it to your Yocto layer as 'defconfig' inside of
+'recipes-extended/xen/files/' and then create a bbappend adding
+'file://defconfig' to your SRC_URI.
+
+security patches
+----------------
+
+The base recipe does not include security fixes that the Xen community releases
+as XSAs (http://xenbits.xen.org/xsa/). The easiest way to include those is to
+drop patches in 'recipes-extened/xen/files' and create a bbappend adding those
+patches to SRC_URI and they will be applied. Alternatively, you can override
+the SRC_URI to a git repo you provide that contains the patches.
Signature · 1 line
Doug Goldstein
#6 lore raw
In reply to Doug Goldstein
Quoted 4 lines · Doug Goldstein

Here are some updates for master and morty. The README is something that I hope
is ok to try and provide users some more info when they work with Xen.

merged.

I think I got the right README patch. As much as I like gmail, I detest the way it threads messages with the same subject.

Bruce

Quoted 24 lines

Doug Goldstein (3):
xen: update license checksum
xen: remove unused patch
xen: add a README to provide info for users

 recipes-extended/xen/README                        | 23 +++++++++
 ...l-compilation-warning-fix-for-arm-aarch64.patch | 58
----------------------
 recipes-extended/xen/xen.inc                       |  2 +-
 3 files changed, 24 insertions(+), 59 deletions(-)
 create mode 100644 recipes-extended/xen/README
 delete mode 100644 recipes-extended/xen/files/

libxl-compilation-warning-fix-for-arm-aarch64.patch

--
2.10.2

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"