Skip to contentSkip to conversation

package/xen: Upgrade Xen to version 4.9.0

PATCH New Alistair Francis 2 participants 2 messages Jun 29, 2017 – Jul 1, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/xen: Upgrade Xen to version 4.9.0

Upgrade the Xen package to Xen 4.9.0. This also means we can remove almost all of the patches we were prviously carrying.

---
This patch applies ontop of my earlier package/xen: Fix builds with GCC 7 patch. I want to fix the 4.8.1 build issue before upgrading to 4.9.0 incase anyone is ever interested in building 4.8.1. This way the commit before 4.9.0 will work if anyone checks it out.

 ...ktap2-vhd-Remove-unused-struct-stat-stats.patch | 30 --------
 ...003-tools-blktap2-Fix-missing-header-file.patch | 31 --------
 ...p2-remove-unused-inclusion-of-sys-sysctl..patch | 31 --------
 ...ls-Use-POSIX-poll.h-instead-of-sys-poll.h.patch | 83 ----------------------
 ...se-POSIX-signal.h-instead-of-sys-signal.h.patch | 41 -----------
 ...07-tools-include-sys-sysmacros.h-on-Linux.patch | 52 --------------
 package/xen/0008-arm-fix-build-with-gcc-7.patch    | 69 ------------------
 package/xen/xen.hash                               |  2 +-
 package/xen/xen.mk                                 |  4 +-
 9 files changed, 3 insertions(+), 340 deletions(-)
 delete mode 100644 package/xen/0002-tools-blktap2-vhd-Remove-unused-struct-stat-stats.patch
 delete mode 100644 package/xen/0003-tools-blktap2-Fix-missing-header-file.patch
 delete mode 100644 package/xen/0004-tools-blktap2-remove-unused-inclusion-of-sys-sysctl..patch
 delete mode 100644 package/xen/0005-tools-Use-POSIX-poll.h-instead-of-sys-poll.h.patch
 delete mode 100644 package/xen/0006-tools-Use-POSIX-signal.h-instead-of-sys-signal.h.patch
 delete mode 100644 package/xen/0007-tools-include-sys-sysmacros.h-on-Linux.patch
 delete mode 100644 package/xen/0008-arm-fix-build-with-gcc-7.patch
package/xen/0002-tools-blktap2-vhd-Remove-unused-struct-stat-stats.patch deleted +0 -30
deleted file mode 100644
index 533a6889a..000000000
@@ -1,30 +0,0 @@
-From 341c75bf4661aa0b5411d5dcc6334ab22e0bb158 Mon Sep 17 00:00:00 2001
-From: Alistair Francis <[email protected]>
-Date: Tue, 20 Dec 2016 11:46:58 -0800
-Subject: [PATCH] tools/blktap2/vhd: Remove unused struct stat stats
-
-The unsued variable 'struct stat stats' causes build errors in some
-situations. As it isn't used just remove it.
-
-Signed-off-by: Alistair Francis <[email protected]>
-Reviewed-by: Doug Goldstein <[email protected]>
-Acked-by: Wei Liu <[email protected]>
----
- tools/blktap2/vhd/lib/libvhd-journal.c | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/tools/blktap2/vhd/lib/libvhd-journal.c b/tools/blktap2/vhd/lib/libvhd-journal.c
-index 26e26e7..862890f 100644
---- a/tools/blktap2/vhd/lib/libvhd-journal.c
-+++ b/tools/blktap2/vhd/lib/libvhd-journal.c
-@@ -1260,7 +1260,6 @@ vhd_journal_create(vhd_journal_t *j, const char *file, const char *jfile)
- 	int i, err;
- 	size_t size;
- 	off_t off;
--	struct stat stats;
- 
- 	memset(j, 0, sizeof(vhd_journal_t));
- 	j->jfd = -1;
--- 
-2.7.4
-
package/xen/0003-tools-blktap2-Fix-missing-header-file.patch deleted +0 -31
deleted file mode 100644
index 5d6f0cb4a..000000000
@@ -1,31 +0,0 @@
-From 1226317351b4154ed6460b778f2490614f47b9d4 Mon Sep 17 00:00:00 2001
-From: Alistair Francis <[email protected]>
-Date: Tue, 20 Dec 2016 11:46:59 -0800
-Subject: [PATCH] tools/blktap2: Fix missing header file
-
-To avoid build errors relating to missing declarations of ssize_t add
-the appropriate header file to atomic.h.
-
-Signed-off-by: Alistair Francis <[email protected]>
-Reviewed-by: Doug Goldstein <[email protected]>
-Acked-by: Wei Liu <[email protected]>
----
- tools/blktap2/include/atomicio.h | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/tools/blktap2/include/atomicio.h b/tools/blktap2/include/atomicio.h
-index 7eccf20..5a1120e 100644
---- a/tools/blktap2/include/atomicio.h
-+++ b/tools/blktap2/include/atomicio.h
-@@ -25,6 +25,8 @@
-  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-  */
- 
-+#include <sys/types.h>
-+
- /*
-  * Ensure all of data on socket comes through. f==read || f==vwrite
-  */
--- 
-2.7.4
-
package/xen/0004-tools-blktap2-remove-unused-inclusion-of-sys-sysctl..patch deleted +0 -31
deleted file mode 100644
index 2d82be4df..000000000
@@ -1,31 +0,0 @@
-From 74858c9eaf335658b4c19cb4a848bb721065c233 Mon Sep 17 00:00:00 2001
-From: Alistair Francis <[email protected]>
-Date: Tue, 20 Dec 2016 11:47:00 -0800
-Subject: [PATCH] tools/blktap2: remove unused inclusion of sys/sysctl.l
-
-That header file is not used. Removing it would avoid build error with
-musl libc, which doesn't have that header file.
-
-Signed-off-by: Alistair Francis <[email protected]>
-Reviewed-by: Doug Goldstein <[email protected]>
-[ wei: rewrote commit message ]
-Acked-by: Wei Liu <[email protected]>
----
- tools/blktap2/drivers/block-remus.c | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/tools/blktap2/drivers/block-remus.c b/tools/blktap2/drivers/block-remus.c
-index 079588d..7401800 100644
---- a/tools/blktap2/drivers/block-remus.c
-+++ b/tools/blktap2/drivers/block-remus.c
-@@ -54,7 +54,6 @@
- #include <netinet/in.h>
- #include <arpa/inet.h>
- #include <sys/param.h>
--#include <sys/sysctl.h>
- #include <unistd.h>
- #include <sys/stat.h>
- 
--- 
-2.7.4
-
package/xen/0005-tools-Use-POSIX-poll.h-instead-of-sys-poll.h.patch deleted +0 -83

83 lines not on this page · raw message

package/xen/0006-tools-Use-POSIX-signal.h-instead-of-sys-signal.h.patch deleted +0 -41

41 lines not on this page · raw message

package/xen/0007-tools-include-sys-sysmacros.h-on-Linux.patch deleted +0 -52

52 lines not on this page · raw message

package/xen/0008-arm-fix-build-with-gcc-7.patch deleted +0 -69

69 lines not on this page · raw message

package/xen/xen.hash +1 -1
index 813040b46..bcce39bd8 100644
@@ -1,2 +1,2 @@
 # Locally computed
-sha256 1d69153b94561429293015f66463ee17c26404d1c014e646ecbcca6078581395 xen-4.8.1.tar.gz
+sha256 cade643fe3310d4d6f97d0c215c6fa323bc1130d7e64d7e2043ffaa73a96f33b xen-4.9.0.tar.gz
package/xen/xen.mk +2 -2
index 821ab2191..cebb15dc7 100644
@@ -4,8 +4,8 @@
 #
 ################################################################################
 
-XEN_VERSION = 4.8.1
-XEN_SITE = http://bits.xensource.com/oss-xen/release/$(XEN_VERSION)
+XEN_VERSION = 4.9.0
+XEN_SITE = https://downloads.xenproject.org/release/xen/$(XEN_VERSION)
 XEN_LICENSE = GPL-2.0
 XEN_LICENSE_FILES = COPYING
 XEN_DEPENDENCIES = host-acpica host-python
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 package/xen: Upgrade Xen to version 4.9.0

Hello,

Quoted 9 lines · Alistair Francis

Upgrade the Xen package to Xen 4.9.0. This also means we can remove almost all of the patches we were prviously carrying.

---
This patch applies ontop of my earlier package/xen: Fix builds with GCC 7 patch. I want to fix the 4.8.1 build issue before upgrading to 4.9.0 incase anyone is ever interested in building 4.8.1. This way the commit before 4.9.0 will work if anyone checks it out.

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com