Update to 4.11.0
authorHans van Kranenburg <hans@knorrie.org>
Sat, 28 Jul 2018 17:39:44 +0000 (19:39 +0200)
committerHans van Kranenburg <hans@knorrie.org>
Sat, 28 Jul 2018 18:05:59 +0000 (20:05 +0200)
And refresh patches, which is luckily not that much work this time.

debian/changelog
debian/patches/misc/toolstestsx86_emulator-pass--no-pie--fno.patch
debian/patches/misc/version.diff
debian/patches/prefix-abiname/config-prefix.diff
debian/patches/prefix-abiname/tools-libxc-abiname.diff
debian/patches/prefix-abiname/tools-libxl-abiname.diff
debian/patches/prefix-abiname/tools-xenstore-prefix.diff
debian/patches/xenstore/tools-fake-xs-restrict.patch
debian/patches/xenstore/tools-xenstore-compatibility.diff

index 8bbd1227d74cc10ab78eca3279bf13c38a51f8d0..7a2955a8319fea2c73eefcbbf5400c752eda2e10 100644 (file)
@@ -1,7 +1,7 @@
-xen (4.10.2~pre+3.b5e9f1e674-1~) UNRELEASED; urgency=medium
+xen (4.11.0-1~) UNRELEASED; urgency=medium
 
   [ Hans van Kranenburg ]
-  * Update to 4.10.2-pre commit b5e9f1e674, which also contains:
+  * Update to 4.11.0, which also contains:
     - Additional fix for: Unlimited recursion in linear pagetable de-typing
       XSA-240 CVE-2017-15595 (listed as xsa240-4.8/0004)
     - Fix x86 PV guests may gain access to internally used pages
@@ -61,6 +61,7 @@ xen (4.10.2~pre+3.b5e9f1e674-1~) UNRELEASED; urgency=medium
         3.0 for now.
     - debian/libxenstore3.0.symbols: add xs_control_command
   * Rebase patches against 4.10 upstream source.
+  * Rebase patches against 4.11 upstream source.
   * Add README.source.md to document how the packaging works.
   * This package builds correctly with gcc 7. (Closes: #853710)
   * Fix grub config file conflict when upgrading from Stretch. (Closes: #852545)
index 9eee2b34c93cacb0a240a907073851d466c9e939..62019c56c9e84cdda1330f8bc75905ecea398fd0 100644 (file)
@@ -34,7 +34,7 @@ Signed-off-by: Ian Jackson <ian.jackson@citrix.com>
 
 --- a/tools/tests/x86_emulator/Makefile
 +++ b/tools/tests/x86_emulator/Makefile
-@@ -104,6 +104,10 @@ HOSTCFLAGS-x86_64 := -fno-PIE
+@@ -140,6 +140,10 @@ HOSTCFLAGS-x86_64 := -fno-PIE
  $(call cc-option-add,HOSTCFLAGS-x86_64,HOSTCC,-no-pie)
  HOSTCFLAGS += $(CFLAGS_xeninclude) -I. $(HOSTCFLAGS-$(XEN_COMPILE_ARCH))
  
index 5124f0b9df03e837725cc51828d697c7d570e1cb..7178674da6c6f4fc21c95dc6d6018f82e2ce2e35 100644 (file)
@@ -91,8 +91,8 @@ Patch-Name: version.diff
      return "<denied>";
 --- a/xen/drivers/char/console.c
 +++ b/xen/drivers/char/console.c
-@@ -847,14 +847,11 @@ void __init console_init_preirq(void)
- #endif
+@@ -842,14 +842,11 @@ void __init console_init_preirq(void)
+     pv_console_set_rx_handler(serial_rx);
  
      /* HELLO WORLD --- start-of-day banner text. */
 -    spin_lock(&console_lock);
index 03711eec635caeff7cf4bcb150139e0654beeb5a..d3ab54b5acd13ff23314e06fd5839cf6dcf92558 100644 (file)
@@ -8,7 +8,7 @@ Patch-Name: config-prefix.diff
 
 --- a/Config.mk
 +++ b/Config.mk
-@@ -82,7 +82,7 @@ EXTRA_LIB += $(EXTRA_PREFIX)/lib
+@@ -83,7 +83,7 @@ EXTRA_LIB += $(EXTRA_PREFIX)/lib
  endif
  
  PYTHON      ?= python
index 4f95cfd397144a004edd3318dd06721b20e60e94..0887d2ebdefd50fdbb921ff9d2975ceabe3332c5 100644 (file)
@@ -12,7 +12,7 @@ Patch-Name: tools-libxc-abiname.diff
  XEN_ROOT = $(CURDIR)/../..
  include $(XEN_ROOT)/tools/Rules.mk
  
--MAJOR    = 4.10
+-MAJOR    = 4.11
 -MINOR    = 0
 -
  ifeq ($(CONFIG_LIBXC_MINIOS),y)
index d27e686d3b76801f9fd5340f5e885e48b2d8b43a..d3f2f1e380d281efe0e9e35a1b9d2aee26bf7aa5 100644 (file)
@@ -11,10 +11,10 @@ Patch-Name: tools-libxl-abiname.diff
  XEN_ROOT = $(CURDIR)/../..
  include $(XEN_ROOT)/tools/Rules.mk
  
--MAJOR = 4.10
+-MAJOR = 4.11
 -MINOR = 0
 -
--XLUMAJOR = 4.10
+-XLUMAJOR = 4.11
 -XLUMINOR = 0
 -
  CFLAGS += -Werror -Wno-format-zero-length -Wmissing-declarations \
index c56f24d1ce373934b355b59aba72df72006e73c5..4f529cc45cc535a14873d00777660749476fea54 100644 (file)
@@ -19,7 +19,7 @@ Patch-Name: tools-xenstore-prefix.diff
  install: all
 --- a/tools/xenstore/Makefile
 +++ b/tools/xenstore/Makefile
-@@ -21,6 +21,8 @@ LDFLAGS-$(CONFIG_SYSTEMD) += $(SYSTEMD_L
+@@ -18,6 +18,8 @@ CFLAGS += -DXEN_RUN_STORED="\"$(XEN_RUN_
  CFLAGS  += $(CFLAGS-y)
  LDFLAGS += $(LDFLAGS-y)
  
@@ -28,7 +28,7 @@ Patch-Name: tools-xenstore-prefix.diff
  CLIENTS := xenstore-exists xenstore-list xenstore-read xenstore-rm xenstore-chmod
  CLIENTS += xenstore-write xenstore-ls xenstore-watch
  
-@@ -77,7 +79,7 @@ endif
+@@ -79,7 +81,7 @@ endif
  $(XENSTORED_OBJS): CFLAGS += $(CFLAGS_libxengnttab)
  
  xenstored: $(XENSTORED_OBJS)
@@ -37,7 +37,7 @@ Patch-Name: tools-xenstore-prefix.diff
  
  xenstored.a: $(XENSTORED_OBJS)
        $(AR) cr $@ $^
-@@ -150,13 +152,13 @@ tarball: clean
+@@ -158,13 +160,13 @@ tarball: clean
  install: all
        $(INSTALL_DIR) $(DESTDIR)$(bindir)
        $(INSTALL_DIR) $(DESTDIR)$(includedir)
@@ -54,7 +54,7 @@ Patch-Name: tools-xenstore-prefix.diff
        $(INSTALL_PROG) xenstore $(DESTDIR)$(bindir)
        set -e ; for c in $(CLIENTS) ; do \
                ln -f $(DESTDIR)$(bindir)/xenstore $(DESTDIR)$(bindir)/$${c} ; \
-@@ -189,9 +191,9 @@ uninstall:
+@@ -197,9 +199,9 @@ uninstall:
        rm -f $(DESTDIR)$(libdir)/libxenstore.so.$(MAJOR).$(MINOR)
        rm -f $(addprefix $(DESTDIR)$(bindir)/, $(CLIENTS))
        rm -f $(DESTDIR)$(bindir)/xenstore
index 4c5d37e9ca5cd75082171e497f3aea5cdfd0993d..4f5a83b8f8beb412747b519f279bb9f51385c7a1 100644 (file)
@@ -22,7 +22,7 @@ Forwarded: No
   */
 --- a/tools/xenstore/xs.c
 +++ b/tools/xenstore/xs.c
-@@ -792,6 +792,12 @@ unwind:
+@@ -798,6 +798,12 @@ unwind:
        return false;
  }
  
index 4cb3f1e21d68f4a1962ffff86304baf6922e347b..423c86c8ac8ad6ee0b65de31425861b7ec014a53 100644 (file)
@@ -29,7 +29,7 @@ Patch-Name: tools-xenstore-compatibility.diff
  again:
 --- a/tools/xenstore/xs.c
 +++ b/tools/xenstore/xs.c
-@@ -301,17 +301,19 @@ struct xs_handle *xs_daemon_open_readonl
+@@ -307,17 +307,19 @@ struct xs_handle *xs_daemon_open_readonl
  
  struct xs_handle *xs_domain_open(void)
  {