-
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.
Upgraded Xen-tools from 4.15 to 4.19.0
1. Able to add ninja through apk in xen-tools/Docker and xen/Docker 2. Changed the seabios and Xen version to 1.16.3 and 4.19.0 respectively 3. Added 12-remove-vanillaqemu4.19-cpupinning.patch which removes new qemu_thread_set_affinity implementation (QEMU 8.0.4), also retained Nikolay CPU Pinning PatchNo.15 4. Warning treated as error flag is available by default so removed 12-disable-Werror-to-build-under-gcc-11.2.patch 5. NetdevTapOptions doesn't have has_br member so changed 10-bridge-helper-support.patch 6. Bydefault vhost-vsock and vhost-scsi is enabled so removing the corresponding enable flags from xen-tools/Dockerfile 7. Removed 11-char-socket-revert.patch as it's unnecessary 8. Removed [realtime] option from kvm.go and replaced it with [overcommit], hypervisor.go unit test need to be changed to reflect [overcommit] 9. 08-Revert__Revert__vfio_pci-quirks_c__Disable_stolen_memory_for_igd_VFIO__.patch looked super messy, so cleaned it. 10. Replaced [realtime] with [overcommit] in kvm_test.go for the unit test case to pass Signed-off-by: Roja Eswaran <[email protected]>
- Loading branch information
1 parent
80611a1
commit 4345ca4
Showing
18 changed files
with
1,378 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.