stubdom: remove building unused libraries
v2 cover stubdom: remove building unused libraries
Pciutils and zlib are no longer used by any stubdom since removal of grub-pv, so they can be removed from the stubdom build system.
Changes in V2:
- removed patch 1 of V1 as already applied
- added new patch 1 from another series which was not yet applied
- switched sequence of patches (swapped patch 2 and 3), as the drop of pciutils is still under discussion
Juergen Gross (4):
tools/libxenguest: remove Mini-OS specific parts
stubdom: remove build of zlib
stubdom: remove pciutils
CHANGELOG: add removal of grub-pv
CHANGELOG.md | 2 + config/Stubdom.mk.in | 6 - stubdom/.gitignore | 2 - stubdom/Makefile | 53 +--- stubdom/configure | 31 -- stubdom/configure.ac | 2 - stubdom/libpci.config.h | 5 - stubdom/libpci.config.mak | 7 - stubdom/pciutils.patch | 298 ------------------ tools/libs/guest/Makefile.common | 15 - tools/libs/guest/xg_dom_decompress_unsafe.c | 48 --- tools/libs/guest/xg_dom_decompress_unsafe.h | 28 -- .../guest/xg_dom_decompress_unsafe_bzip2.c | 14 - .../libs/guest/xg_dom_decompress_unsafe_lz4.c | 39 --- .../guest/xg_dom_decompress_unsafe_lzma.c | 14 - .../guest/xg_dom_decompress_unsafe_lzo1x.c | 44 --- .../libs/guest/xg_dom_decompress_unsafe_xz.c | 46 --- .../guest/xg_dom_decompress_unsafe_zstd.c | 44 --- 18 files changed, 3 insertions(+), 695 deletions(-) delete mode 100644 stubdom/libpci.config.h delete mode 100644 stubdom/libpci.config.mak delete mode 100644 stubdom/pciutils.patch delete mode 100644 tools/libs/guest/xg_dom_decompress_unsafe.c delete mode 100644 tools/libs/guest/xg_dom_decompress_unsafe.h delete mode 100644 tools/libs/guest/xg_dom_decompress_unsafe_bzip2.c delete mode 100644 tools/libs/guest/xg_dom_decompress_unsafe_lz4.c delete mode 100644 tools/libs/guest/xg_dom_decompress_unsafe_lzma.c delete mode 100644 tools/libs/guest/xg_dom_decompress_unsafe_lzo1x.c delete mode 100644 tools/libs/guest/xg_dom_decompress_unsafe_xz.c delete mode 100644 tools/libs/guest/xg_dom_decompress_unsafe_zstd.c
Signature · 1 line
2.55.0
PATCH v2 1/4 tools/libxenguest: remove Mini-OS specific parts
The last Mini-OS use case of libxenguest is gone, so remove the Mini-OS specific parts of libxenguest.
--- tools/libs/guest/Makefile.common | 15 ------ tools/libs/guest/xg_dom_decompress_unsafe.c | 48 ------------------- tools/libs/guest/xg_dom_decompress_unsafe.h | 28 ----------- .../guest/xg_dom_decompress_unsafe_bzip2.c | 14 ------ .../libs/guest/xg_dom_decompress_unsafe_lz4.c | 39 --------------- .../guest/xg_dom_decompress_unsafe_lzma.c | 14 ------ .../guest/xg_dom_decompress_unsafe_lzo1x.c | 44 ----------------- .../libs/guest/xg_dom_decompress_unsafe_xz.c | 46 ------------------ .../guest/xg_dom_decompress_unsafe_zstd.c | 44 ----------------- 9 files changed, 292 deletions(-) delete mode 100644 tools/libs/guest/xg_dom_decompress_unsafe.c delete mode 100644 tools/libs/guest/xg_dom_decompress_unsafe.h delete mode 100644 tools/libs/guest/xg_dom_decompress_unsafe_bzip2.c delete mode 100644 tools/libs/guest/xg_dom_decompress_unsafe_lz4.c delete mode 100644 tools/libs/guest/xg_dom_decompress_unsafe_lzma.c delete mode 100644 tools/libs/guest/xg_dom_decompress_unsafe_lzo1x.c delete mode 100644 tools/libs/guest/xg_dom_decompress_unsafe_xz.c delete mode 100644 tools/libs/guest/xg_dom_decompress_unsafe_zstd.c
tools/libs/guest/Makefile.common +0 -15
@@ -1,8 +1,3 @@ -ifeq ($(CONFIG_LIBXC_MINIOS),y) -# Save/restore of a domain is currently incompatible with a stubdom environment -override CONFIG_MIGRATE := n -endif - OBJS-y += xg_private.o OBJS-y += xg_domain.o OBJS-y += xg_suspend.o
@@ -55,16 +50,6 @@ OBJS-$(CONFIG_X86) += xg_dom_x86.o OBJS-$(CONFIG_X86) += xg_cpuid_x86.o OBJS-$(CONFIG_ARM) += xg_dom_arm.o -ifeq ($(CONFIG_LIBXC_MINIOS),y) -OBJS-y += xg_dom_decompress_unsafe.o -OBJS-y += xg_dom_decompress_unsafe_bzip2.o -OBJS-y += xg_dom_decompress_unsafe_lz4.o -OBJS-y += xg_dom_decompress_unsafe_lzma.o -OBJS-y += xg_dom_decompress_unsafe_lzo1x.o -OBJS-y += xg_dom_decompress_unsafe_xz.o -OBJS-y += xg_dom_decompress_unsafe_zstd.o -endif - CFLAGS += -D__XEN_TOOLS__ CFLAGS += -include $(XEN_ROOT)/tools/config.h CFLAGS += -iquote ../../../xen/common/libelf
tools/libs/guest/xg_dom_decompress_unsafe.c deleted +0 -48
48 lines not on this page · raw message
tools/libs/guest/xg_dom_decompress_unsafe.h deleted +0 -28
@@ -1,28 +0,0 @@ -#ifdef __MINIOS__ -# include "../../xen/include/xen/decompress.h" -#else -typedef int decompress_fn (unsigned char *inbuf,unsigned int len, -int (*fill)(void *,unsigned int ), -int (*flush)(void *,unsigned int ), -unsigned char *outbuf,unsigned int *posp, -void (*error)(const char *x)); -#endif - -#define cf_check/* No Control Flow Integriy checking */ - -int xc_dom_decompress_unsafe ( -decompress_fn fn,struct xc_dom_image *dom,void **blob,size_t *size) - __attribute__((visibility ("internal" ))); - -int xc_try_bzip2_decode (struct xc_dom_image *dom,void **blob,size_t *size) - __attribute__((visibility ("internal" ))); -int xc_try_lz4_decode (struct xc_dom_image *dom,void **blob,size_t *size) - __attribute__((visibility ("internal" ))); -int xc_try_lzma_decode (struct xc_dom_image *dom,void **blob,size_t *size) - __attribute__((visibility ("internal" ))); -int xc_try_lzo1x_decode (struct xc_dom_image *dom,void **blob,size_t *size) - __attribute__((visibility ("internal" ))); -int xc_try_xz_decode (struct xc_dom_image *dom,void **blob,size_t *size) - __attribute__((visibility ("internal" ))); -int xc_try_zstd_decode (struct xc_dom_image *dom,void **blob,size_t *size) - __attribute__((visibility ("internal" )));
tools/libs/guest/xg_dom_decompress_unsafe_bzip2.c deleted +0 -14
@@ -1,14 +0,0 @@ -#include <stdio.h> -#include <stdlib.h> -#include <inttypes.h> - -#include "xg_private.h" -#include "xg_dom_decompress_unsafe.h" - -#include "../../xen/common/bunzip2.c" - -int xc_try_bzip2_decode ( -struct xc_dom_image *dom,void **blob,size_t *size) -{ -return xc_dom_decompress_unsafe (bunzip2, dom, blob, size); -}
tools/libs/guest/xg_dom_decompress_unsafe_lz4.c deleted +0 -39
@@ -1,39 +0,0 @@ -#include <stdio.h> -#include <stdlib.h> -#include <inttypes.h> -#include <stdint.h> - -#include INCLUDE_ENDIAN_H - -#define XG_NEED_UNALIGNED -#include "xg_private.h" -#include "xg_dom_decompress.h" - -#define CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS - -typedef uint8_t u8 ; -typedef uint16_t u16 ; -typedef uint32_t u32 ; -typedef uint64_t u64 ; - -#define likely (a) a -#define unlikely (a) a - -static inline uint16_t le16_to_cpu (uint16_t v) -{ -#if BYTE_ORDER ==BIG_ENDIAN -return __builtin_bswap16 (v); -#else -return v; -#endif -} - -#include "../../xen/include/xen/lz4.h" -#include "../../xen/common/decompress.h" -#include "../../xen/common/unlz4.c" - -int xc_try_lz4_decode ( -struct xc_dom_image *dom,void **blob,size_t *size) -{ -return xc_dom_decompress_unsafe (unlz4, dom, blob, size); -}
tools/libs/guest/xg_dom_decompress_unsafe_lzma.c deleted +0 -14
@@ -1,14 +0,0 @@ -#include <stdio.h> -#include <stdlib.h> -#include <inttypes.h> - -#include "xg_private.h" -#include "xg_dom_decompress_unsafe.h" - -#include "../../xen/common/unlzma.c" - -int xc_try_lzma_decode ( -struct xc_dom_image *dom,void **blob,size_t *size) -{ -return xc_dom_decompress_unsafe (unlzma, dom, blob, size); -}
tools/libs/guest/xg_dom_decompress_unsafe_lzo1x.c deleted +0 -44
44 lines not on this page · raw message
tools/libs/guest/xg_dom_decompress_unsafe_xz.c deleted +0 -46
46 lines not on this page · raw message
tools/libs/guest/xg_dom_decompress_unsafe_zstd.c deleted +0 -44
44 lines not on this page · raw message
Signature · 1 line
2.55.0
Re: [PATCH v2 1/4] tools/libxenguest: remove Mini-OS specific parts
Quoted 15 lines · Juergen Gross
The last Mini-OS use case of libxenguest is gone, so remove the Mini-OS specific parts of libxenguest.
Signed-off-by Juergen Gross <[email protected]>--- tools/libs/guest/Makefile.common | 15 ------ tools/libs/guest/xg_dom_decompress_unsafe.c | 48 ------------------- tools/libs/guest/xg_dom_decompress_unsafe.h | 28 ----------- .../guest/xg_dom_decompress_unsafe_bzip2.c | 14 ------ .../libs/guest/xg_dom_decompress_unsafe_lz4.c | 39 --------------- .../guest/xg_dom_decompress_unsafe_lzma.c | 14 ------ .../guest/xg_dom_decompress_unsafe_lzo1x.c | 44 ----------------- .../libs/guest/xg_dom_decompress_unsafe_xz.c | 46 ------------------ .../guest/xg_dom_decompress_unsafe_zstd.c | 44 ----------------- 9 files changed, 292 deletions(-)
Quoted 8 lines
delete mode 100644 tools/libs/guest/xg_dom_decompress_unsafe.c delete mode 100644 tools/libs/guest/xg_dom_decompress_unsafe.h delete mode 100644 tools/libs/guest/xg_dom_decompress_unsafe_bzip2.c delete mode 100644 tools/libs/guest/xg_dom_decompress_unsafe_lz4.c delete mode 100644 tools/libs/guest/xg_dom_decompress_unsafe_lzma.c delete mode 100644 tools/libs/guest/xg_dom_decompress_unsafe_lzo1x.c delete mode 100644 tools/libs/guest/xg_dom_decompress_unsafe_xz.c delete mode 100644 tools/libs/guest/xg_dom_decompress_unsafe_zstd.c
Good riddance.
PATCH v2 2/4 stubdom: remove build of zlib
In reply to Juergen GrossThe last users of zlib for stubdoms have been removed.
Remove zlib from the stubdom build system, too.
--- config/Stubdom.mk.in | 3 --- stubdom/.gitignore | 1 - stubdom/Makefile | 25 ++----------------------- stubdom/configure | 15 --------------- stubdom/configure.ac | 1 - 5 files changed, 2 insertions(+), 43 deletions(-)
config/Stubdom.mk.in +0 -3
@@ -11,9 +11,6 @@ STUBDOM_TARGETS := @STUBDOM_TARGETS@ STUBDOM_BUILD := @STUBDOM_BUILD@ STUBDOM_INSTALL := @STUBDOM_INSTALL@ -ZLIB_VERSION := @ZLIB_VERSION@ -ZLIB_URL := @ZLIB_URL@ - LIBPCI_VERSION := @LIBPCI_VERSION@ LIBPCI_URL := @LIBPCI_URL@
stubdom/.gitignore +0 -1
@@ -30,4 +30,3 @@ /vtpm/vtpm_manager.h /xenstore /xenstorepvh -/zlib-*
stubdom/Makefile +2 -23
@@ -102,26 +102,6 @@ $(NEWLIB_STAMPFILE): mk-headers-$(XEN_TARGET_ARCH) newlib-$(NEWLIB_VERSION) $(MAKE) DESTDIR= && \ $(MAKE) DESTDIR= install ) -############ -# Cross-zlib -############ - -zlib-$(ZLIB_VERSION).tar.gz: - $(FETCHER) $@ $(ZLIB_URL)/$@ - -zlib-$(XEN_TARGET_ARCH): zlib-$(ZLIB_VERSION).tar.gz - tar xzf $< - mv zlib-$(ZLIB_VERSION) $@ - -ZLIB_STAMPFILE=$(CROSS_ROOT)/$(GNU_TARGET_ARCH)-xen-elf/lib/libz.a -.PHONY: cross-zlib -cross-zlib: $(ZLIB_STAMPFILE) -$(ZLIB_STAMPFILE): zlib-$(XEN_TARGET_ARCH) $(NEWLIB_STAMPFILE) - ( cd $< && \ - CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" CC=$(CC) ./configure --prefix=$(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf && \ - $(MAKE) DESTDIR= libz.a && \ - $(MAKE) DESTDIR= install ) - ############## # Cross-libpci ##############
@@ -250,7 +230,7 @@ cross-tpmemu: $(TPMEMU_STAMPFILE) ####### .PHONY: $(CROSS_ROOT) -$(CROSS_ROOT): cross-newlib cross-zlib cross-libpci +$(CROSS_ROOT): cross-newlib cross-libpci ####### # libraries under tools/libs
@@ -477,7 +457,7 @@ clean: crossclean: clean rm -fr $(CROSS_ROOT) rm -fr newlib-$(XEN_TARGET_ARCH) - rm -fr zlib-$(XEN_TARGET_ARCH) pciutils-$(XEN_TARGET_ARCH) + rm -fr pciutils-$(XEN_TARGET_ARCH) rm -fr libs-$(XEN_TARGET_ARCH) rm -fr xenstore xenstorepvh rm -fr gmp-$(XEN_TARGET_ARCH)
@@ -499,7 +479,6 @@ patchclean: crossclean .PHONY: downloadclean downloadclean: patchclean rm -f newlib-$(NEWLIB_VERSION).tar.gz - rm -f zlib-$(ZLIB_VERSION).tar.gz rm -f gmp-$(GMP_VERSION).tar.bz2 rm -f tpm_emulator-$(TPMEMU_VERSION).tar.gz rm -f pciutils-$(LIBPCI_VERSION).tar.bz2
stubdom/configure +0 -15
@@ -636,8 +636,6 @@ NEWLIB_VERSION NEWLIB_URL LIBPCI_VERSION LIBPCI_URL -ZLIB_VERSION -ZLIB_URL INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM
@@ -724,7 +722,6 @@ CFLAGS LDFLAGS LIBS CPPFLAGS -ZLIB_URL LIBPCI_URL NEWLIB_URL LWIP_URL
@@ -1375,7 +1372,6 @@ Some influential environment variables: LIBS libraries to pass to the linker, e.g. -l<library> CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if you have headers in a nonstandard directory <include dir> - ZLIB_URL Download url for zlib LIBPCI_URL Download url for libpci NEWLIB_URL Download url for newlib LWIP_URL Download url for lwip
@@ -4027,17 +4023,6 @@ fi # Stubdom libraries version and url setup -if test "x$ZLIB_URL" = "x" -then : - - ZLIB_URL=\$\(XEN_EXTFILES_URL\) -fi -ZLIB_VERSION="1.2.3" - - - - - if test "x$LIBPCI_URL" = "x" then :
stubdom/configure.ac +0 -1
@@ -38,7 +38,6 @@ AC_PROG_INSTALL AX_DEPENDS_PATH_PROG([vtpm], [CMAKE], [cmake]) # Stubdom libraries version and url setup -AX_STUBDOM_LIB([ZLIB], [zlib], [1.2.3]) AX_STUBDOM_LIB([LIBPCI], [libpci], [2.2.9], [https://mirrors.edge.kernel.org/pub/software/utils/pciutils]) AX_STUBDOM_LIB([NEWLIB], [newlib], [1.16.0], [https://sourceware.org/ftp/newlib]) AX_STUBDOM_LIB([LWIP], [lwip], [1.3.0], [https://download.savannah.gnu.org/releases/lwip])
Signature · 1 line
2.55.0
Re: [PATCH v2 2/4] stubdom: remove build of zlib
Quoted 1 line · Juergen Gross
The last users of zlib for stubdoms have been removed.
Looking at patch 1, I can't really conclude whether that's where the last user disappeared (no occurrence of "zlib" in that patch), or whether this patch really could go in right away. Please clarify.
Jan
Re: [PATCH v2 2/4] stubdom: remove build of zlib
Quoted 6 lines · Jan Beulich
Quoted 1 line · Juergen Gross
The last users of zlib for stubdoms have been removed.
Looking at patch 1, I can't really conclude whether that's where the last user disappeared (no occurrence of "zlib" in that patch), or whether this patch really could go in right away. Please clarify.
It can go in right away. The last user disappeared with commit 6a94eaa2bf3fa06b05ed2dad3dd9116060235326.
Juergen
Re: [PATCH v2 2/4] stubdom: remove build of zlib
Quoted 10 lines · Jürgen Groß
Quoted 6 lines · Jan Beulich
Quoted 1 line · Juergen Gross
The last users of zlib for stubdoms have been removed.
Looking at patch 1, I can't really conclude whether that's where the last user disappeared (no occurrence of "zlib" in that patch), or whether this patch really could go in right away. Please clarify.
It can go in right away. The last user disappeared with commit
6a94eaa2bf3fa06b05ed2dad3dd9116060235326.
Apparently not:
names.c:18:10: fatal error: zlib.h: No such file or directory
#include <zlib.h>
^~~~~~~~compilation terminated.
<builtin>: recipe for target 'names.o' failed
make[3]: *** [names.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/builds/xen-project/hardware/xen-staging/stubdom/pciutils-x86_64/lib' Makefile:37: recipe for target 'lib/libpci.a' failed
make[2]: *** [lib/libpci.a] Error 2
make[2]: Leaving directory '/builds/xen-project/hardware/xen-staging/stubdom/pciutils-x86_64'
Jan
Re: [PATCH v2 2/4] stubdom: remove build of zlib
Quoted 26 lines · Jan Beulich
Quoted 10 lines · Jürgen Groß
Quoted 6 lines · Jan Beulich
Quoted 1 line · Juergen Gross
The last users of zlib for stubdoms have been removed.
Looking at patch 1, I can't really conclude whether that's where the last user disappeared (no occurrence of "zlib" in that patch), or whether this patch really could go in right away. Please clarify.
It can go in right away. The last user disappeared with commit
6a94eaa2bf3fa06b05ed2dad3dd9116060235326.Apparently not:
names.c:18:10: fatal error:
zlib.h: No such file or directory#include <zlib.h> ^~~~~~~~compilation terminated.
<builtin>: recipe for target 'names.o' failed
make[3]: *** [names.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/builds/xen-project/hardware/xen-staging/stubdom/pciutils-x86_64/lib' Makefile:37: recipe for target 'lib/libpci.a' failed
make[2]: *** [lib/libpci.a] Error 2
make[2]: Leaving directory '/builds/xen-project/hardware/xen-staging/stubdom/pciutils-x86_64'
Quoted 1 line
Jan
Oh, then you can just ignore V2 of the series, I guess.
I'll send V3 using the original patch sequence.
Samuel, can you please clarify what you exactly meant with:
We can point people to pciutils through such a comment.
Do you mean pointing at the upstream pciutils, or the stubdom one using the commit-id of the removal patch?
Juergen
Re: [PATCH v2 2/4] stubdom: remove build of zlib
Hello,
Jürgen Groß, le lun. 21 sept. 2026 11:08:12 +0200, a ecrit:
Quoted 4 lines
Quoted 1 line
We can point people to pciutils through such a comment.
Do you mean pointing at the upstream pciutils, or the stubdom one using the commit-id of the removal patch?
I mean pointing at the upstream pciutils, more specifically
https://github.com/pciutils/pciutils/pull/236
Or upstream's README.MiniOS itself once the PR gets merged.
Samuel
PATCH v2 3/4 stubdom: remove pciutils
In reply to Juergen GrossThere is no user of libpci left in stubdoms.
Remove libpci from the stubdom build system.
--- config/Stubdom.mk.in | 3 - stubdom/.gitignore | 1 - stubdom/Makefile | 32 +--- stubdom/configure | 16 -- stubdom/configure.ac | 1 - stubdom/libpci.config.h | 5 - stubdom/libpci.config.mak | 7 - stubdom/pciutils.patch | 298 -------------------------------------- 8 files changed, 1 insertion(+), 362 deletions(-) delete mode 100644 stubdom/libpci.config.h delete mode 100644 stubdom/libpci.config.mak delete mode 100644 stubdom/pciutils.patch
config/Stubdom.mk.in +0 -3
@@ -11,9 +11,6 @@ STUBDOM_TARGETS := @STUBDOM_TARGETS@ STUBDOM_BUILD := @STUBDOM_BUILD@ STUBDOM_INSTALL := @STUBDOM_INSTALL@ -LIBPCI_VERSION := @LIBPCI_VERSION@ -LIBPCI_URL := @LIBPCI_URL@ - NEWLIB_VERSION := @NEWLIB_VERSION@ NEWLIB_URL := @NEWLIB_URL@
stubdom/.gitignore +0 -1
@@ -23,7 +23,6 @@ /mk-headers-* /newlib-1.* /newlib-x86* -/pciutils-* /pkg-config/* /polarssl-* /tpm_emulator-*
stubdom/Makefile +1 -31
@@ -102,34 +102,6 @@ $(NEWLIB_STAMPFILE): mk-headers-$(XEN_TARGET_ARCH) newlib-$(NEWLIB_VERSION) $(MAKE) DESTDIR= && \ $(MAKE) DESTDIR= install ) -############## -# Cross-libpci -############## - -pciutils-$(LIBPCI_VERSION).tar.bz2: - $(FETCHER) $@ $(LIBPCI_URL)/$@ - -pciutils-$(XEN_TARGET_ARCH): pciutils-$(LIBPCI_VERSION).tar.bz2 - tar xjf $< - mv pciutils-$(LIBPCI_VERSION) $@ - patch -d $@ -p1 < pciutils.patch - touch $@ - -LIBPCI_STAMPFILE=$(CROSS_ROOT)/$(GNU_TARGET_ARCH)-xen-elf/lib/libpci.a -.PHONY: cross-libpci -cross-libpci: $(LIBPCI_STAMPFILE) -$(LIBPCI_STAMPFILE): pciutils-$(XEN_TARGET_ARCH) $(NEWLIB_STAMPFILE) $(ZLIB_STAMPFILE) - ( cd $< && \ - cp ../libpci.config.h lib/config.h && \ - chmod u+w lib/config.h && \ - echo '#define PCILIB_VERSION "$(LIBPCI_VERSION)"' >> lib/config.h && \ - ln -sf ../../libpci.config.mak lib/config.mk && \ - $(MAKE) DESTDIR= CC="$(CC) $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) -I$(call realpath,$(MINI_OS)/include)" lib/libpci.a && \ - $(INSTALL_DATA) lib/libpci.a $(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/lib/ && \ - $(INSTALL_DIR) $(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/include/pci && \ - $(INSTALL_DATA) lib/config.h lib/header.h lib/pci.h lib/types.h $(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/include/pci/ \ - ) - ###### # lwIP ######
@@ -230,7 +202,7 @@ cross-tpmemu: $(TPMEMU_STAMPFILE) ####### .PHONY: $(CROSS_ROOT) -$(CROSS_ROOT): cross-newlib cross-libpci +$(CROSS_ROOT): cross-newlib ####### # libraries under tools/libs
@@ -457,7 +429,6 @@ clean: crossclean: clean rm -fr $(CROSS_ROOT) rm -fr newlib-$(XEN_TARGET_ARCH) - rm -fr pciutils-$(XEN_TARGET_ARCH) rm -fr libs-$(XEN_TARGET_ARCH) rm -fr xenstore xenstorepvh rm -fr gmp-$(XEN_TARGET_ARCH)
@@ -481,7 +452,6 @@ downloadclean: patchclean rm -f newlib-$(NEWLIB_VERSION).tar.gz rm -f gmp-$(GMP_VERSION).tar.bz2 rm -f tpm_emulator-$(TPMEMU_VERSION).tar.gz - rm -f pciutils-$(LIBPCI_VERSION).tar.bz2 rm -f lwip-$(LWIP_VERSION).tar.gz rm -f polarssl-$(POLARSSL_VERSION)-gpl.tgz
stubdom/configure +0 -16
@@ -634,8 +634,6 @@ LWIP_VERSION LWIP_URL NEWLIB_VERSION NEWLIB_URL -LIBPCI_VERSION -LIBPCI_URL INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM
@@ -722,7 +720,6 @@ CFLAGS LDFLAGS LIBS CPPFLAGS -LIBPCI_URL NEWLIB_URL LWIP_URL GMP_URL
@@ -1372,7 +1369,6 @@ Some influential environment variables: LIBS libraries to pass to the linker, e.g. -l<library> CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if you have headers in a nonstandard directory <include dir> - LIBPCI_URL Download url for libpci NEWLIB_URL Download url for newlib LWIP_URL Download url for lwip GMP_URL Download url for libgmp
@@ -4023,18 +4019,6 @@ fi # Stubdom libraries version and url setup -if test "x$LIBPCI_URL" = "x" -then : - - if test "x$extfiles" = "xy" -then : - LIBPCI_URL=\$\(XEN_EXTFILES_URL\) -else $as_nop - LIBPCI_URL="https://mirrors.edge.kernel.org/pub/software/utils/pciutils" -fi - -fi -LIBPCI_VERSION="2.2.9"
stubdom/configure.ac +0 -1
@@ -38,7 +38,6 @@ AC_PROG_INSTALL AX_DEPENDS_PATH_PROG([vtpm], [CMAKE], [cmake]) # Stubdom libraries version and url setup -AX_STUBDOM_LIB([LIBPCI], [libpci], [2.2.9], [https://mirrors.edge.kernel.org/pub/software/utils/pciutils]) AX_STUBDOM_LIB([NEWLIB], [newlib], [1.16.0], [https://sourceware.org/ftp/newlib]) AX_STUBDOM_LIB([LWIP], [lwip], [1.3.0], [https://download.savannah.gnu.org/releases/lwip]) AX_STUBDOM_LIB([GMP], [libgmp], [4.3.2], [https://gmplib.org/download/gmp/archive])
stubdom/libpci.config.h deleted +0 -5
@@ -1,5 +0,0 @@ -#define PCI_OS_MINIOS -#define PCI_HAVE_STDINT_H -#define PCI_PATH_IDS_DIR "." -#define PCI_COMPRESSED_IDS -#define PCI_IDS "pci.ids.gz"
stubdom/libpci.config.mak deleted +0 -7
@@ -1,7 +0,0 @@ -LIBZ=-lz -LDLIBS+=$(LIBZ) -PCI_OS_MINIOS=1 -PCI_HAVE_STDINT_H=1 -PCI_PATH_IDS_DIR=. -PCI_COMPRESSED_IDS=1 -PCI_IDS=pci.ids.gz
stubdom/pciutils.patch deleted +0 -298
298 lines not on this page · raw message
Signature · 1 line
2.55.0
PATCH v2 4/4 CHANGELOG: add removal of grub-pv
In reply to Juergen Gross--- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+)
CHANGELOG.md +2 -0
@@ -23,6 +23,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) The only known user was the classic-xen fork of Linux. This does not affect Xen kexec support in the kexec-tools package. - The example stubdom "c-stubdom" has been removed. + - The grub-pv stubdom has been removed. A grub-pv stubdom from an older + Xen version (e.g. 4.22) will still work with Xen 4.23. ## [4.22.0](https://xenbits.xenproject.org/gitweb/?p=xen.git;a=shortlog;h=staging) - 2026-07-30
Signature · 1 line
2.55.0