-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
1,377 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
diff --git a/tools/xenpaging/xenpaging.c b/tools/xenpaging/xenpaging.c | ||
index d0571cabac..7ad86e3b31 100644 | ||
--- a/tools/xenpaging/xenpaging.c | ||
+++ b/tools/xenpaging/xenpaging.c | ||
@@ -180,7 +180,7 @@ static int xenpaging_get_tot_pages(struct xenpaging *paging) | ||
|
||
static void *init_page(void) | ||
{ | ||
- void *buffer; | ||
+ void *buffer = NULL; | ||
|
||
/* Allocated page memory */ | ||
errno = posix_memalign(&buffer, PAGE_SIZE, PAGE_SIZE); | ||
--- a/tools/Makefile 2019-09-11 13:15:12.000000000 -0700 | ||
+++ b/tools/Makefile 2019-09-11 13:14:58.000000000 -0700 | ||
@@ -245,7 +245,8 @@ | ||
--prefix=$(LIBEXEC) \ | ||
--libdir=$(LIBEXEC_LIB) \ | ||
--includedir=$(LIBEXEC_INC) \ | ||
- --extra-cflags="-DXC_WANT_COMPAT_EVTCHN_API=1 \ | ||
+ --extra-cflags="-DXATTR_SIZE_MAX=65536 \ | ||
+ -DXC_WANT_COMPAT_EVTCHN_API=1 \ | ||
-DXC_WANT_COMPAT_GNTTAB_API=1 \ | ||
-DXC_WANT_COMPAT_MAP_FOREIGN_API=1 \ | ||
-DXC_WANT_COMPAT_DEVICEMODEL_API=1 \ | ||
@@ -280,6 +281,7 @@ | ||
--localstatedir=$(localstatedir) \ | ||
--disable-kvm \ | ||
--disable-docs \ | ||
+ --disable-werror \ | ||
--disable-guest-agent \ | ||
--python=$(PYTHON) \ | ||
$(CONFIG_QEMUU_EXTRA_ARGS) \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/stubdom/Makefile b/stubdom/Makefile | ||
index 8cf7131c6a..c6a8051c85 100644 | ||
--- a/stubdom/Makefile | ||
+++ b/stubdom/Makefile | ||
@@ -178,7 +178,7 @@ gmp-$(XEN_TARGET_ARCH): gmp-$(GMP_VERSION).tar.bz2 $(NEWLIB_STAMPFILE) | ||
tar xjf $< | ||
rm $@ -rf || : | ||
mv gmp-$(GMP_VERSION) $@ | ||
- #patch -d $@ -p0 < gmp.patch | ||
+ patch -d $@ -p0 < gmp.patch | ||
cd $@; CPPFLAGS="-isystem $(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/include $(TARGET_CPPFLAGS)" CFLAGS="$(TARGET_CFLAGS)" CC=$(CC) $(GMPEXT) ./configure --disable-shared --enable-static --disable-fft --without-readline --prefix=$(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf --libdir=$(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/lib --build=`gcc -dumpmachine` --host=$(GNU_TARGET_ARCH)-xen-elf | ||
sed -i 's/#define HAVE_OBSTACK_VPRINTF 1/\/\/#define HAVE_OBSTACK_VPRINTF 1/' $@/config.h | ||
touch $@ |
10 changes: 10 additions & 0 deletions
10
pkg/xen-tools/patches-4.19.0/04-disable-vif-allow-all-iptables.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- a/tools/hotplug/Linux/vif-bridge | ||
+++ b/tools/hotplug/Linux/vif-bridge | ||
@@ -93,7 +93,6 @@ case "$command" in | ||
;; | ||
esac | ||
|
||
-handle_iptable | ||
|
||
call_hooks vif post | ||
|
Oops, something went wrong.