sr/bin/cat /builddir/build/SOURCES/upstream-pv-iommu-tools.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/allow-rombios-pci-config-on-any-host-bridge.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0007-hypercall-XENMEM_get_mfn_from_pfn.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/gvt-g-hvmloader+rombios.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-CA-298922-Add-support-for-p2m_ioreq_server-to-RMW-em.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/xen-introduce-cmdline-to-control-introspection-extensions.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/xen-domctl-set-privileged-domain.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/x86-domctl-Don-t-pause-the-whole-domain-if-only-gett.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/xen-reexecute-instn-under-monitor-trap.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/xen-emulate-Bypass-the-emulator-if-emulation-fails.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/xen-introspection-pause.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/xen-always-enable-altp2m-external-mode.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-cc-memory-scrubbing.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/xsa297-4.11-1.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/xsa297-4.11-2.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/xsa297-4.11-3.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/xsa297-4.11-4.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/xsa300-linux-5.2.patch + /usr/bin/patch -p1 -s The text leading up to this was: -------------------------- |From ea49450ded575facc0e64e0d6adcb1ca8aaad0ba Mon Sep 17 00:00:00 2001 |From: Juergen Gross |Date: Wed, 19 Jun 2019 11:00:56 +0200 |Subject: [PATCH] xen: let alloc_xenballooned_pages() fail if not enough memory | free | |Instead of trying to allocate pages with GFP_USER in |add_ballooned_pages() check the available free memory via |si_mem_available(). GFP_USER is far less limiting memory exhaustion |than the test via si_mem_available(). | |This will avoid dom0 running out of memory due to excessive foreign |page mappings especially on ARM and on x86 in PVH mode, as those don't |have a pre-ballooned area which can be used for foreign mappings. | |As the normal ballooning suffers from the same problem don't balloon |down more than si_mem_available() pages in one iteration. At the same |time limit the default maximum number of retries. | |Reported-by: Julien Grall |Signed-off-by: Juergen Gross |--- | drivers/xen/balloon.c | 16 +++++++++++++--- | 1 file changed, 13 insertions(+), 3 deletions(-) | |diff --git a/drivers/xen/balloon.c b/drivers/xen/balloon.c |index d37dd5bb7a8f..559768dc2567 100644 |--- a/drivers/xen/balloon.c |+++ b/drivers/xen/balloon.c -------------------------- File to patch: Skip this patch? [y] 3 out of 3 hunks ignored RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.eh7IVv (%prep) BUILDSTDERR: bogus date in %changelog: Tue Mar 07 2019 Samuel Verschelde - 4.7.6-6.4.1 BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.eh7IVv (%prep) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 736, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/xen.spec