]> xenbits.xensource.com Git - xentesttools/bootstrap.git/log
xentesttools/bootstrap.git
8 years agoMakefile: Build kexec-tools with xen-devel headers.
Konrad Rzeszutek Wilk [Mon, 1 May 2017 01:05:24 +0000 (21:05 -0400)]
Makefile: Build kexec-tools with xen-devel headers.

Otherwise they would not have been picked up.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
8 years agoconfig: Compile Linux as EFI
Konrad Rzeszutek Wilk [Mon, 1 May 2017 01:04:56 +0000 (21:04 -0400)]
config: Compile Linux as EFI

So one can you execute Linux from EFI shell.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
8 years agoMakefile: Enable git pulling using HTTP
Konrad Rzeszutek Wilk [Tue, 7 Feb 2017 20:53:38 +0000 (15:53 -0500)]
Makefile: Enable git pulling using HTTP

to deal with firewalls.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
8 years agoxen-config: Enable livepatch, max CPUS is 512, and enable TMEM
Konrad Rzeszutek Wilk [Tue, 7 Feb 2017 16:34:02 +0000 (11:34 -0500)]
xen-config: Enable livepatch, max CPUS is 512, and enable TMEM

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
8 years agoMakefile: Create an xend config file if not found.
Konrad Rzeszutek Wilk [Tue, 7 Feb 2017 16:32:54 +0000 (11:32 -0500)]
Makefile: Create an xend config file if not found.

The target may have put it in another directory (/usr/local/etc)
and we still need it in /etc so prepare one that fits
out environment.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
8 years agoconfig: Enable CONFIG_ACPI_DEBUG.
Konrad Rzeszutek Wilk [Tue, 7 Feb 2017 16:31:47 +0000 (11:31 -0500)]
config: Enable CONFIG_ACPI_DEBUG.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
8 years agoMakefile: Include the xenpolicy file if it is built.
Konrad Rzeszutek Wilk [Tue, 7 Feb 2017 16:31:26 +0000 (11:31 -0500)]
Makefile: Include the xenpolicy file if it is built.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
8 years agoMakefile: For Xen greater than 4.4 don't use --disable-vnc-tls
Konrad Rzeszutek Wilk [Tue, 7 Feb 2017 16:31:01 +0000 (11:31 -0500)]
Makefile: For Xen greater than 4.4 don't use --disable-vnc-tls

for QEMU

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
8 years agoMakefile: Build livepatch test-cases.
Konrad Rzeszutek Wilk [Tue, 7 Feb 2017 16:30:35 +0000 (11:30 -0500)]
Makefile: Build livepatch test-cases.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
8 years agoMakefile: Re-order the linux dependencies to pick up on config changes.
Konrad Rzeszutek Wilk [Tue, 7 Feb 2017 16:29:39 +0000 (11:29 -0500)]
Makefile: Re-order the linux dependencies to pick up on config changes.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
8 years agoscm: Update xenalyze path.
Konrad Rzeszutek Wilk [Tue, 7 Feb 2017 15:35:56 +0000 (10:35 -0500)]
scm: Update xenalyze path.

It is now in GIT not in HG.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
8 years agoefi: Make it possible to build EFI images.
Konrad Rzeszutek Wilk [Wed, 3 Aug 2016 18:40:15 +0000 (14:40 -0400)]
efi: Make it possible to build EFI images.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
9 years agoMakefile: Don't erase everything in /usr/lib/debug/
Konrad Rzeszutek Wilk [Mon, 15 Feb 2016 20:52:35 +0000 (15:52 -0500)]
Makefile: Don't erase everything in /usr/lib/debug/

as xSplice payloads may be there.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
9 years agoconfig: Enable DRM QXL, VirtioGPU, and Cirrus QEMU support.
Konrad Rzeszutek Wilk [Mon, 15 Feb 2016 20:51:04 +0000 (15:51 -0500)]
config: Enable DRM QXL, VirtioGPU, and Cirrus QEMU support.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
9 years agotmem: Include name in the pool descriptions. Fix check on 32-bit builds.
Konrad Rzeszutek Wilk [Mon, 15 Feb 2016 20:47:28 +0000 (15:47 -0500)]
tmem: Include name in the pool descriptions. Fix check on 32-bit builds.

Which is the check for incorrect values in the tmem pages.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
9 years agoRevert "Makefile: Parallize the build of root_image."
Konrad Rzeszutek Wilk [Wed, 13 Jan 2016 17:01:02 +0000 (12:01 -0500)]
Revert "Makefile: Parallize the build of root_image."

This reverts commit 5ec9e10cd32c3b4e44466a2b73ad67adbd50a561.

As I see some oddities. It would be nice if I could pipe the
output of each 'make' in a different file to figure out
what went awry.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
9 years agoMakefile: Parallize the build of root_image.
Konrad Rzeszutek Wilk [Wed, 13 Jan 2016 14:19:50 +0000 (09:19 -0500)]
Makefile: Parallize the build of root_image.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
9 years agoMakefile: Parallize the cleanup
Konrad Rzeszutek Wilk [Wed, 13 Jan 2016 14:19:30 +0000 (09:19 -0500)]
Makefile: Parallize the cleanup

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
9 years agoMakefile: gdb
Konrad Rzeszutek Wilk [Wed, 13 Jan 2016 14:18:03 +0000 (09:18 -0500)]
Makefile: gdb

Add dependencies (previously they would come about if python
was brought in).

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
9 years agoMakefile: hwloc
Konrad Rzeszutek Wilk [Wed, 13 Jan 2016 14:17:24 +0000 (09:17 -0500)]
Makefile: hwloc

Add hwloc target if building that.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
9 years agoMakefile: Build with python once more (needed for pygrub)
Konrad Rzeszutek Wilk [Wed, 13 Jan 2016 14:16:44 +0000 (09:16 -0500)]
Makefile: Build with python once more (needed for pygrub)

Otherwise we can't use pygrub.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
9 years agoMakefile: Add userspace-prep dependency to various targets
Konrad Rzeszutek Wilk [Wed, 13 Jan 2016 14:15:17 +0000 (09:15 -0500)]
Makefile: Add userspace-prep dependency to various targets

As that will allow us to make this more parallel.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
9 years agoxen.config: Add support for .config in xen/xen
Konrad Rzeszutek Wilk [Wed, 13 Jan 2016 14:12:11 +0000 (09:12 -0500)]
xen.config: Add support for .config in xen/xen

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
9 years agogitignore: Update with other git trees.
Konrad Rzeszutek Wilk [Fri, 8 Jan 2016 15:13:55 +0000 (10:13 -0500)]
gitignore: Update with other git trees.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
9 years agoMakefile: prune debug bits and strip *.ko from debug symbols.
Konrad Rzeszutek Wilk [Fri, 8 Jan 2016 15:09:43 +0000 (10:09 -0500)]
Makefile: prune debug bits and strip *.ko from debug symbols.

To lessen the size of the image.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
9 years agoMakefile: Stop building Python for Xen 4.5 or later.
Konrad Rzeszutek Wilk [Fri, 8 Jan 2016 15:06:15 +0000 (10:06 -0500)]
Makefile: Stop building Python for Xen 4.5 or later.

We still bundle Python code even if we do not need. In
the past the only reason for doing it was for Xend but
since that is gone..

However the python-dependency brought in some other dependencies
shared by other programs - gdb and perl. As such make this
dependency be part of the targets.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
9 years agoMakefile: Deal with "tools: Refactor "xentoollog" into its own library"
Konrad Rzeszutek Wilk [Fri, 8 Jan 2016 14:56:32 +0000 (09:56 -0500)]
Makefile: Deal with "tools: Refactor "xentoollog" into its own library"

In Xen 4.7 commit 5d3dc8671521ea4a4f753e77d3e7fb3a3a6f5f80
("tools: Refactor "xentoollog" into its own library") puts an
requirement on Python code to compile with:

-Wl,-rpath-link="+PATH_LIBXENTOOLLOG"

Which ends up with:

error: -Wl,-rpath-link=../../tools/libs/toollog: No such file or directory

We can't over-write the PATH_LIBXENTOOLLOG .. and on further
thought - there is absolutly no need for us to even build Python
code as we do not need Xend.

As such if we detect Xen 4.7 or later we skip this part.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
9 years agoMakefile: support for hwloc.
Konrad Rzeszutek Wilk [Fri, 8 Jan 2016 14:54:54 +0000 (09:54 -0500)]
Makefile: support for hwloc.

One would also need to:

git clone https://github.com/open-mpi/hwloc in the root_image

to use it.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
9 years agoMakefile: All pass in $(XEN_OPTS) to the tools.
Konrad Rzeszutek Wilk [Fri, 8 Jan 2016 14:52:56 +0000 (09:52 -0500)]
Makefile: All pass in $(XEN_OPTS) to the tools.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
9 years agoconfig: Also enable TMEM
Konrad Rzeszutek Wilk [Fri, 8 Jan 2016 14:51:37 +0000 (09:51 -0500)]
config: Also enable TMEM

for the tmem test-case.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
9 years agoipi_hog: Add an IPI test-case - where each IPI routine compresses/decompresses
Konrad Rzeszutek Wilk [Fri, 8 Jan 2016 14:47:51 +0000 (09:47 -0500)]
ipi_hog: Add an IPI test-case - where each IPI routine compresses/decompresses

in a loop. This should be a good test-case for CPU intensive workload.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
9 years agotmem-test: Initial work.
Konrad Rzeszutek Wilk [Tue, 25 Aug 2015 15:22:10 +0000 (11:22 -0400)]
tmem-test: Initial work.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
9 years agoperl-core: Always bundle it in.
Konrad Rzeszutek Wilk [Fri, 24 Jul 2015 13:19:53 +0000 (09:19 -0400)]
perl-core: Always bundle it in.

We used to only need it for Xen 4.4 and earlier but with
the udev scripts gone we need it all the time.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
9 years agoconfig: Enable CONFIG_NUMA_BALANCING=y
Konrad Rzeszutek Wilk [Fri, 24 Jul 2015 13:18:31 +0000 (09:18 -0400)]
config: Enable CONFIG_NUMA_BALANCING=y

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
9 years agoMakefile: Xen no longer creates dist/install/etc/udev which breaks.
Boris Ostrovsky [Tue, 7 Jul 2015 22:15:37 +0000 (18:15 -0400)]
Makefile: Xen no longer creates dist/install/etc/udev which breaks.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
10 years agoMakefile: Link libvccard to /usr/lib from /usr/lib/xen/lib
Konrad Rzeszutek Wilk [Wed, 11 Feb 2015 14:45:41 +0000 (09:45 -0500)]
Makefile: Link libvccard to /usr/lib from /usr/lib/xen/lib

They are installed there since qemu-traditional builds them
and ends up installing them in /usr/lib/xen/lib. However
the linker only looks in /usr/lib so we fail when starting
that. Hence link the file to /usr/lib/xen/lib.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
10 years agoMakefile: rm files after python-deps.
Konrad Rzeszutek Wilk [Wed, 11 Feb 2015 14:44:17 +0000 (09:44 -0500)]
Makefile: rm files after python-deps.

The python-extra removes the files, but we might (if run
with make -j8) also extract the files in other build
stanzas. As such put it back in the python one to remove
the files.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
10 years agoFix 8a10beae1649961c6d3ccc3fa7a22a372707fa6 "Makefile: QEMU build options."
Konrad Rzeszutek Wilk [Tue, 10 Feb 2015 21:56:06 +0000 (16:56 -0500)]
Fix 8a10beae1649961c6d3ccc3fa7a22a372707fa6 "Makefile: QEMU build options."

for which I left accidently the '+' when I copied it.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
10 years agoMakefile: make xen-clean should use 'mrproper' instead of rm -Rf
Konrad Rzeszutek Wilk [Tue, 10 Feb 2015 21:24:20 +0000 (16:24 -0500)]
Makefile: make xen-clean should use 'mrproper' instead of rm -Rf

As that its job.

Suggested-by: Boris Ostrovksy <boris.ostrovksy@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
10 years agoMakefile: perf-install
Konrad Rzeszutek Wilk [Tue, 10 Feb 2015 17:38:53 +0000 (12:38 -0500)]
Makefile: perf-install

does not like to be build in parallel. Disable that (And also don't be
so verbose). We also need to fix up the depends.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
10 years agotest VM file: Add bridge switch and make the directory depend on the file
Konrad Rzeszutek Wilk [Tue, 10 Feb 2015 17:08:07 +0000 (12:08 -0500)]
test VM file: Add bridge switch and make the directory depend on the file

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
10 years agorcS/inittab: xen-detect under Haswell for PV guests report it as HVM
Konrad Rzeszutek Wilk [Tue, 10 Feb 2015 17:06:33 +0000 (12:06 -0500)]
rcS/inittab: xen-detect under Haswell for PV guests report it as HVM

which means we put in inittab 'ttyS0' - but we want 'hvc0'.
Do one more test for console=hvc0 and if that is found
assume PV.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
10 years agoWhen booting with 'test=net' (default) also run web-server
Konrad Rzeszutek Wilk [Tue, 10 Feb 2015 16:48:39 +0000 (11:48 -0500)]
When booting with 'test=net' (default) also run web-server

As we want to be able to trigger the netperf/netserver tests
in that case as well.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
10 years agoMakefile: When building Xen 4.5 or later don't build with python-extra (nor perl)
Konrad Rzeszutek Wilk [Tue, 10 Feb 2015 16:27:52 +0000 (11:27 -0500)]
Makefile: When building Xen 4.5 or later don't build with python-extra (nor perl)

As we really don't need them. In the old days of 'Xend' that
might be true - but with Xen 4.5 or later 'Xend' is truly gone.

We do need to rm those files otherwise we end with some extra
dependencies.

I am not sure why we need perl either.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
10 years agoMakefile: python dependens
Konrad Rzeszutek Wilk [Tue, 10 Feb 2015 16:23:11 +0000 (11:23 -0500)]
Makefile: python dependens

We need python for 'pygrub' and 'xend'. However it is
unclear why we need 'python-extra's such as the development
libraries. As such just move them to their own build
stanza and we can tweak this at some other point.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
10 years agoMakefile: Don't bundle cpufreq, pm-utils, and xenalyze
Konrad Rzeszutek Wilk [Tue, 10 Feb 2015 16:20:44 +0000 (11:20 -0500)]
Makefile: Don't bundle cpufreq, pm-utils, and xenalyze

As we don't use them 99% unless you are trying to troubleshoot
an particular problem - in which case you will modify the
make lines.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
10 years agoMakefile: Strip debug options from QEMU-traditional.
Konrad Rzeszutek Wilk [Tue, 10 Feb 2015 16:18:04 +0000 (11:18 -0500)]
Makefile: Strip debug options from QEMU-traditional.

It (in Xen 4.6) ends up being an 20MB file. But since there
is no development being done on it - we might as well
strip out the debug pieces out of it to save space on the ramdisk.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
10 years agoMakefile: Disable plymouth install.
Konrad Rzeszutek Wilk [Tue, 10 Feb 2015 16:16:53 +0000 (11:16 -0500)]
Makefile: Disable plymouth install.

We needed that at some point to make sure that KMS would function
properly - but at this point it is just a waste of extra
space on the ramdisk.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
10 years agoMakefile: QEMU build options.
Konrad Rzeszutek Wilk [Tue, 10 Feb 2015 16:08:54 +0000 (11:08 -0500)]
Makefile: QEMU build options.

For Xen 4.4 and later we want to limit the amount of pieces of
code that qemu-xen is built with. It pulls in libSDL, libgtk, etc.

We also want to disable BLKTAP1 as we do not need it.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
10 years agoMakefile: clean removes xen/dist
Konrad Rzeszutek Wilk [Tue, 10 Feb 2015 16:30:56 +0000 (11:30 -0500)]
Makefile: clean removes xen/dist

as well.
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
10 years agoMakefile: Also run 'defconfig' on seabios and clean it up when doing 'clean'
Konrad Rzeszutek Wilk [Tue, 10 Feb 2015 15:57:34 +0000 (10:57 -0500)]
Makefile: Also run 'defconfig' on seabios and clean it up when doing 'clean'

.. as we had forgotten to do it in the past.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
10 years agoMakefile: Turn 'autoballon' feature off.
Konrad Rzeszutek Wilk [Tue, 10 Feb 2015 16:25:10 +0000 (11:25 -0500)]
Makefile: Turn 'autoballon' feature off.

We do not want to use it as we are running of an ramdisk.
Anytime we shrink - we might have less space to run applications
and can risk the danger of OOM.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
10 years agoXen/configure: Disable building blktap2 (as we don't use it).
Konrad Rzeszutek Wilk [Tue, 10 Feb 2015 15:54:35 +0000 (10:54 -0500)]
Xen/configure: Disable building blktap2 (as we don't use it).

For our testing we only use phy devices so the extra code
is not needed.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
10 years agoconfig: Disable CTF and DTRACE
Konrad Rzeszutek Wilk [Tue, 10 Feb 2015 16:11:58 +0000 (11:11 -0500)]
config: Disable CTF and DTRACE

If we are building an UEK kernel we don't want to build with
DTRACE as we do not have all the required user-space bits.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
10 years agoconfig: Enable x2APIC and AMD IOMMU so baremetal can work on large machines.
Konrad Rzeszutek Wilk [Mon, 13 Oct 2014 20:51:01 +0000 (16:51 -0400)]
config: Enable x2APIC and AMD IOMMU so baremetal can work on large machines.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
10 years agonetwork: If the 'test' parameter is used still create an ifup-script
Konrad Rzeszutek Wilk [Tue, 13 May 2014 19:40:52 +0000 (15:40 -0400)]
network: If the 'test' parameter is used still create an ifup-script

instead of just ignoring that.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agorcS/network: Bring up to six interfaces instead of two.
Konrad Rzeszutek Wilk [Tue, 29 Apr 2014 13:59:56 +0000 (09:59 -0400)]
rcS/network: Bring up to six interfaces instead of two.

With more NICs (for SR-IOV testing) the built-in NIC can
show up _after_ the SR-IOV one when module loading. As such
just bring up more interfaces.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoIntel firmware: Update it from Fedora 20
Konrad Rzeszutek Wilk [Tue, 29 Apr 2014 13:58:05 +0000 (09:58 -0400)]
Intel firmware: Update it from Fedora 20

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agobusybox: Also build in netcat
Konrad Rzeszutek Wilk [Tue, 29 Apr 2014 13:57:13 +0000 (09:57 -0400)]
busybox: Also build in netcat

As it is quite useful.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoMakefile/config: Add support for IEE1394 support.
Konrad Rzeszutek Wilk [Tue, 29 Apr 2014 13:53:00 +0000 (09:53 -0400)]
Makefile/config: Add support for IEE1394 support.

To build it as part of the xtt, do:
 make libraw1394-install

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoisolinux/rcS: Add 'test=cpu-low' and 'test=cpu-high' test-cases
Konrad Rzeszutek Wilk [Tue, 29 Apr 2014 13:50:32 +0000 (09:50 -0400)]
isolinux/rcS: Add 'test=cpu-low' and 'test=cpu-high' test-cases

The first will consume one CPU by spinning around and
doing md5sum of the memory. The later will do this on
all of the CPUs.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoAMD microcode:
Konrad Rzeszutek Wilk [Tue, 29 Apr 2014 13:44:13 +0000 (09:44 -0400)]
AMD microcode:

Update it from Fedora 20.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoMakefile: Use 'mrproper' when cleaning Xen's directory.
Konrad Rzeszutek Wilk [Tue, 29 Apr 2014 13:42:30 +0000 (09:42 -0400)]
Makefile: Use 'mrproper' when cleaning Xen's directory.

We weren't doing that which meant we still had the
obsoleted versions of binary that Xen pulls - such as
QEMU/SeaBIOS, etc.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoMakefile: Don't use '--disable-opengl' when building Xen.
Konrad Rzeszutek Wilk [Tue, 29 Apr 2014 13:41:30 +0000 (09:41 -0400)]
Makefile: Don't use '--disable-opengl' when building Xen.

We had it at some point (I don't remember why) but it breaks
compilation for Xen 4.4 and later.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoconfig: Disable CONFIG_DEBUG_VIRTUAL as it breaks baremetal and Xen
Konrad Rzeszutek Wilk [Tue, 29 Apr 2014 13:40:31 +0000 (09:40 -0400)]
config: Disable CONFIG_DEBUG_VIRTUAL as it breaks baremetal and Xen

Still unclear why.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoconfig: Enable CONFIG_DEBUG_VM= and CONFIG_DEBUG_VIRTUAL
Konrad Rzeszutek Wilk [Tue, 21 Jan 2014 17:26:07 +0000 (12:26 -0500)]
config: Enable CONFIG_DEBUG_VM= and CONFIG_DEBUG_VIRTUAL

to find out if PVH is accessing pages during bootup outside
proper ranges.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoconfig: Enable PCI ACPI hotplug and memory. And XEN PVH
Konrad Rzeszutek Wilk [Tue, 21 Jan 2014 17:24:45 +0000 (12:24 -0500)]
config: Enable PCI ACPI hotplug and memory. And XEN PVH

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoMakefile: early microcode cpio generation - optional on EARLY_MICROCODE variable
Konrad Rzeszutek Wilk [Tue, 1 Oct 2013 14:02:00 +0000 (10:02 -0400)]
Makefile: early microcode cpio generation - optional on EARLY_MICROCODE variable

If the EARLY_MICROCODE env variable is set then we will generate
the early cpio image. Otherwise we won't and will use the old-style
of putting it in /lib/firmware/.

Also fix the AMD ucode generation - it was using the Intel blobs
and not the AMD ones.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agorcS: Use 'xm' for Xen 4.2 as 'xl' has issues with save/restore
Konrad Rzeszutek Wilk [Tue, 1 Oct 2013 13:47:08 +0000 (09:47 -0400)]
rcS: Use 'xm' for Xen 4.2 as 'xl' has issues with save/restore

of PVHVM guests.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoconfig: Reboot the machine if softlockups or other issues appear.
Konrad Rzeszutek Wilk [Wed, 4 Sep 2013 16:04:26 +0000 (12:04 -0400)]
config: Reboot the machine if softlockups or other issues appear.

Instead of continuing on in a zombie state.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoconfig: Enable microcode (early and normal) build options.
Konrad Rzeszutek Wilk [Fri, 19 Jul 2013 18:52:53 +0000 (14:52 -0400)]
config: Enable microcode (early and normal) build options.

Since by default it is =m which means the early loading parts
won't be built-in.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agospinlock_hog: A simple module that hogs all of the CPUs doing
Konrad Rzeszutek Wilk [Fri, 19 Jul 2013 18:50:25 +0000 (14:50 -0400)]
spinlock_hog: A simple module that hogs all of the CPUs doing
spinlock/unlock.

Will cause the 'softlockup' splat to show up.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoxen_diag: Add diagnostic module that causes 'xl debug-keys 0dreg'
Konrad Rzeszutek Wilk [Fri, 19 Jul 2013 18:47:29 +0000 (14:47 -0400)]
xen_diag: Add diagnostic module that causes 'xl debug-keys 0dreg'

This is a debug facility that can be handy at some point.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agorcS, primary_fb: Redirect modprobe output to /dev/null
Konrad Rzeszutek Wilk [Fri, 19 Jul 2013 18:38:28 +0000 (14:38 -0400)]
rcS, primary_fb: Redirect modprobe output to /dev/null

There is no need for it - especially if it fails.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoMakefile: Generate initramfs with the early microcode in it.
Konrad Rzeszutek Wilk [Fri, 19 Jul 2013 18:12:27 +0000 (14:12 -0400)]
Makefile: Generate initramfs with the early microcode in it.

The microcode blob is prepended right in front of the normal
initramfs.cpio.gz

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agofirmware: Add the AMD microcode blobs
Konrad Rzeszutek Wilk [Fri, 19 Jul 2013 17:55:32 +0000 (13:55 -0400)]
firmware: Add the AMD microcode blobs

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agorcS: Fix iperf hogging the console.
Konrad Rzeszutek Wilk [Fri, 19 Jul 2013 17:52:18 +0000 (13:52 -0400)]
rcS: Fix iperf hogging the console.

We forgot to put in the background.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agorcS: Fix the annoying "init: starting pid XYZ, tty '/dev/hvc0': '/bin/sh, not found"
Konrad Rzeszutek Wilk [Fri, 19 Jul 2013 17:49:36 +0000 (13:49 -0400)]
rcS: Fix the annoying "init: starting pid XYZ, tty '/dev/hvc0': '/bin/sh, not found"

The reason the /etc/inittab was not re-read (even
thought we did an kill -1 1 within this startup
script) is b/c:

(from busybox/init/init.c)
/*
 * NB: while SYSINIT/WAIT/ONCE are being processed,
 * SIGHUP ("reread /etc/inittab") will be ignored.
 * Rationale: it would be ambiguous whether SYSINIT/WAIT/ONCE
 * need to be rerun or not.
 */

and init.d/rcS is SYSINIT - so no SIGHUP can be done as
that is running. As such we just spawn a nohup subprocess that will
do it for us.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agorcd: No need to run these from the initial script and depend
Konrad Rzeszutek Wilk [Fri, 28 Jun 2013 13:42:19 +0000 (09:42 -0400)]
rcd: No need to run these from the initial script and depend

on network always being on.
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoMakefile: perf-install.
Konrad Rzeszutek Wilk [Wed, 26 Jun 2013 16:56:49 +0000 (12:56 -0400)]
Makefile: perf-install.

Fix up the dependency and the compile target.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoRevert "Makefile: Make it possible to build a quite build."
Konrad Rzeszutek Wilk [Tue, 25 Jun 2013 18:57:15 +0000 (14:57 -0400)]
Revert "Makefile: Make it possible to build a quite build."

This reverts commit 18626953718e73906bd9745855edc8f14c5ad521.

Conflicts:
Makefile

It makes it soo much harder to troubleshoot
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoMakefile: For Xen 4.2 also create an extra directory
Konrad Rzeszutek Wilk [Sat, 22 Jun 2013 02:08:50 +0000 (22:08 -0400)]
Makefile: For Xen 4.2 also create an extra directory

When booting using a 32-bit dom0, I see:

qemu-system-i386: looking for plugins in '/usr/lib64/sasl2', failed to open directory, error: No such file

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoMakefile: Add 'xen' to the COMPONENTS so that 'make clean' works
Konrad Rzeszutek Wilk [Fri, 21 Jun 2013 19:38:15 +0000 (15:38 -0400)]
Makefile: Add 'xen' to the COMPONENTS so that 'make clean' works

there too.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoconfig: Enable CONFIG_KGDB_KDB
Konrad Rzeszutek Wilk [Fri, 21 Jun 2013 17:21:25 +0000 (13:21 -0400)]
config: Enable CONFIG_KGDB_KDB

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoMakefile: Remove the config file for Xen when make clean
Konrad Rzeszutek Wilk [Fri, 21 Jun 2013 17:20:43 +0000 (13:20 -0400)]
Makefile: Remove the config file for Xen when make clean

is invoked.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoREADME: Fix the URL.
Konrad Rzeszutek Wilk [Fri, 21 Jun 2013 17:20:28 +0000 (13:20 -0400)]
README: Fix the URL.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoREADME: Add the initial README file.
Konrad Rzeszutek Wilk [Fri, 14 Jun 2013 18:19:50 +0000 (14:19 -0400)]
README: Add the initial README file.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agodebugspace: Move the ssh_stuff in root/ssh_stuff
Konrad Rzeszutek Wilk [Fri, 14 Jun 2013 18:02:56 +0000 (14:02 -0400)]
debugspace: Move the ssh_stuff in root/ssh_stuff

(And also alter the README file to reflect new path).
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoMakefile: Disable building perf for right now.
Konrad Rzeszutek Wilk [Fri, 14 Jun 2013 17:50:46 +0000 (13:50 -0400)]
Makefile: Disable building perf for right now.

I keep on getting issues with it failing to build. Not sure
why.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agodebugspace: Add init.custom and ssh_stuff to deal with SSH keys.
Konrad Rzeszutek Wilk [Fri, 14 Jun 2013 16:49:37 +0000 (12:49 -0400)]
debugspace: Add init.custom and ssh_stuff to deal with SSH keys.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoMakefile: Add XEN_OPTS to pass in extra build arguments to Xen.
Konrad Rzeszutek Wilk [Fri, 14 Jun 2013 16:21:40 +0000 (12:21 -0400)]
Makefile: Add XEN_OPTS to pass in extra build arguments to Xen.

For example:

XEN_OPTS="debug=y"

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoMakefile: Move the targets around to make it easier on the eye.
Konrad Rzeszutek Wilk [Fri, 14 Jun 2013 16:19:18 +0000 (12:19 -0400)]
Makefile: Move the targets around to make it easier on the eye.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoMakefile: Drop oprofile build, use perf build.
Konrad Rzeszutek Wilk [Fri, 14 Jun 2013 16:16:31 +0000 (12:16 -0400)]
Makefile: Drop oprofile build, use perf build.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoMakfile: Xen configure by defualt sets the prefix to /usr/local.
Konrad Rzeszutek Wilk [Fri, 14 Jun 2013 16:08:06 +0000 (12:08 -0400)]
Makfile: Xen configure by defualt sets the prefix to /usr/local.

We want /usr.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agosources: Add correct GIT address for xen-unstable tree.
Konrad Rzeszutek Wilk [Fri, 14 Jun 2013 15:30:35 +0000 (11:30 -0400)]
sources: Add correct GIT address for xen-unstable tree.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agodiscard_io: Make it possible to give start and end LBA's.
Konrad Rzeszutek Wilk [Mon, 10 Jun 2013 16:25:54 +0000 (12:25 -0400)]
discard_io: Make it possible to give start and end LBA's.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoMakefile: Make it possible to build a quite build.
Konrad Rzeszutek Wilk [Sat, 8 Jun 2013 19:24:31 +0000 (15:24 -0400)]
Makefile: Make it possible to build a quite build.

V=1 will make it noisy.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
11 years agoconfig: Allow KMEMLEAK to have a bigger buffer.
Konrad Rzeszutek Wilk [Mon, 10 Jun 2013 14:22:26 +0000 (10:22 -0400)]
config: Allow KMEMLEAK to have a bigger buffer.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
12 years agoAdd xenalyze to the build system.
Konrad Rzeszutek Wilk [Wed, 8 May 2013 14:23:18 +0000 (10:23 -0400)]
Add xenalyze to the build system.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
12 years agoread_intr: Also see the IPIs.
Konrad Rzeszutek Wilk [Wed, 8 May 2013 14:19:11 +0000 (10:19 -0400)]
read_intr: Also see the IPIs.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>