Commit Graph
218 Commits
Author SHA1 Message Date
Ian Jackson fb971dc3b4 Update QEMU_TAG 2011-11-02 16:21:37 +00:00
Ian Campbell 1116f63434 Config.mk: error out on non-absolute $(XEN_ROOT)
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Keir Fraser <keir@xen.org>
2011-10-07 09:35:31 +01:00
Ian Jackson ec0c9b58c2 QEMU_TAG update 2011-10-06 18:43:03 +01:00
Keir Fraser 6a688c6b6a build: fix grep invocation in cc-options
Currently the build produces lots of
        Usage: grep [OPTION]... PATTERN [FILE]...
        Try `grep --help' for more information.

This is due to the "grep -- $(2)" in cc-options. It seems that the
default of reading stdin is disabled when using "--". I don't know if
this is a bug in grep or how it is supposed to be but we can work
around it by explicitly passing in "-"

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Keir Fraser <keir@xen.org>
2011-09-30 21:17:47 +01:00
Ian Jackson dcbc297aea tools: Revert seabios and upstream qemu build changes
These have broken the build and it seems to be difficult to fix.  So
we will revert the whole lot for now, and await corrected patch(es).

Revert "fix the build when CONFIG_QEMU is specified by the user"
Revert "tools: fix permissions of git-checkout.sh"
Revert "scripts/git-checkout.sh: Is not bash specific. Invoke with /bin/sh."
Revert "Clone and build Seabios by default"
Revert "Clone and build upstream Qemu by default"
Revert "Rename ioemu-dir as qemu-xen-traditional-dir"
Revert "Move the ioemu-dir-find shell script to an external file"

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
2011-09-14 11:38:13 +01:00
Stefano Stabellini cee3fd7bb8 Clone and build Seabios by default
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
2011-09-13 10:30:09 +01:00
Stefano Stabellini 9233be8d2c Clone and build upstream Qemu by default
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
2011-09-13 10:29:14 +01:00
Keir Fraser ee991a2daf Config.mk: Include optional .config file *first* rather than *last*
Allows the core of Config.mk to correctly respond to any configuration
overrides specified in the .config file.

Signed-off-by: Keir Fraser <keir@xen.org>
2011-08-27 12:20:19 +01:00
Ian Campbell 173b4afb89 build: remove $(DESTDIR) from buildmakevars2file paths
23721:0ccb94d533d6 added this by mistake.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
2011-07-22 08:55:19 +01:00
Jan Beulich ab8112740c build: consolidate buildmakevars2file
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2011-07-19 14:09:48 +01:00
Ian Campbell 2407671d89 build: define "move-if-changed" make macro.
Use it to replace various places which (should) use the
	if ! cmp -s ...; then mv ....; fi
pattern.

Also add an else clause to cleanup the unchanged temporary file.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
2011-07-14 13:22:35 +01:00
Ian Jackson 163a741ea3 QEMU_TAG update 2011-06-28 14:01:53 +01:00
Anthony PERARD 3182373aa4 tools: Introduce XEN_RUN_DIR path.
This patch also add libxl_run_dir_path() function in libxl.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
2011-06-27 17:07:35 +01:00
Ian Jackson e93ad8b732 QEMU_TAG update 2011-06-21 18:28:53 +01:00
Keir Fraser 28f8fb7d2b Fix Config.mk's cc-option for -Wno-* options.
These disable-warning options are handled specially by GCC:
 (a) they are ignored unless the compiler emits a warning; and
 (b) even then they produce a warning rather than an error

To handle this, modify the test invocation of GCC to compile a
fragment of code that will always provoke a warning (integer assigned
to pointer). This works around (a) above.

Then, we grep the compiler's stdout/stderr for the option-under-test,
the presence of which would indicate an "unrecognized command-line
option" warning/error. This works around (b) above, letting us
distinguish between the "integer assigned to pointer" and
"unrecognized command-line option" warnings.

Signed-off-by: Keir Fraser <keir@xen.org>
2011-05-23 17:38:28 +01:00
Olaf Hering 5a40af4739 gcc-4.6 compile fix: build with -Wno-unused-but-set-variable
Avoid "error: variable 'unused' set but not used
[-Werror=unused-but-set-variable]" with gcc 4.6.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
2011-05-21 07:55:46 +01:00
Ian Campbell 5f82d0858d tools: support SeaBIOS. Use by default when upstream qemu is configured.
The SeaBIOS integration here is only semi-complete and is targetted at
developers and very early adopters who can be expected to cope with
some rough edges. In particular the user must clone, patch as
necessary and compile SeaBIOS themselves since this patchset does not
cover any of that (in the same way we currently do not integrate
upstream qemu clone+build). Include a big comment to that effect next
to the Config.mk option.

Many of the bios_config callback functions are not yet used by
SeaBIOS.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson.citrix.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
2011-04-20 17:13:06 +01:00
Keir Fraser 6102cace93 Remove unmaintained Access Control Module (ACM) from hypervisor.
Signed-off-by: Keir Fraser <keir@xen.org>
2011-03-25 21:47:57 +00:00
Keir Fraser 547cb1849c build: Make XEN_ROOT an absolute path.
Otherwise make can search the path relative to certain standard paths
such as /usr/include (e.g., the line '-include $(XEN_ROOT)/.config' in
Config.mk suffers from this).

Signed-off-by: Keir Fraser <keir@xen.org>
2011-03-17 10:36:25 +00:00
Tim Deegan 87c604dae4 Tidy makefiles to use CFLAGS-$(foo) idiom instead of ifeq.
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
2011-03-08 10:23:52 +00:00
Tim Deegan 436323c065 xen: add "clang=y" option to build Xen with clang/llvm instead of gcc.
Tested with svn snapshot of clang and llvm from 17 February 2011.
Only x86_64 hypervisor builds (make dist-xen clang=y) are supported
and I haven't even begun to look at cross-compiling.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
2011-03-07 11:21:11 +00:00
Keir Fraser 4a649c84f5 Update Xen version to 4.1.0-rc6 2011-02-28 16:54:15 +00:00
Keir Fraser 317f9f334f Update Xen version to 4.1.0-rc5 2011-02-16 18:23:07 +00:00
Ian Jackson 9b908cbbcf QEMU_TAG update 2011-02-11 18:22:37 +00:00
Keir Fraser 4e0f60c5ad Update Xen version to 4.1.0-rc4 2011-02-10 17:23:57 +00:00
Ian Jackson c6adcbdc01 QEMU_TAG update 2011-02-04 18:43:53 +00:00
Ian Jackson ccbc9c57bd Update QEMU_TAG to xen-4.1.0-rc3 2011-01-31 17:46:55 +00:00
Ian Jackson abf1efa40d Config.mk: commented-out CONFIG_QEMU example now uses pwd/$(XEN_ROOT)
If you actually set it to a relative path, the qemu build breaks.
So this commented-out rune (an example) should arrange to be absolute.

Unfortunately XEN_ROOT is itself relative so the previous attempt to
fix this (22772:654563af359f) didn't work.  So use `pwd`.

Tested-by: M A Young <m.a.young@durham.ac.uk>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
2011-01-27 19:42:40 +00:00
Keir Fraser 394a695e0e Update Xen version to 4.1.0-rc2 2011-01-25 14:06:52 +00:00
Ian Jackson e6859a733d QEMU_TAG update 2011-01-21 18:03:18 +00:00
Ian Jackson be58f6691f QEMU_TAG update 2011-01-21 18:00:39 +00:00
Ian Jackson 44d2b43fc2 QEMU_TAG update 2011-01-20 16:45:54 +00:00
Ian Jackson 5bea24d307 Config.mk: commented-out CONFIG_QEMU example now uses XEN_ROOT
If you actually set it to a relative path, the qemu build breaks.
So this commented-out rune (an example) should arrange to be absolute.

Reported-by: M A Young <m.a.young@durham.ac.uk>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
2011-01-17 17:55:12 +00:00
Keir Fraser d7bcf432a2 Update Xen version to 4.1.0-rc1 2011-01-13 15:38:29 +00:00
Ian Jackson bdf80c61cb QEMU_TAG update 2011-01-11 18:52:21 +00:00
Ian Jackson f1bbc236c6 QEMU_TAG update 2011-01-05 23:54:15 +00:00
Ian Campbell 94705cc4bf libxc: convert gnttab interfaces to use an opaque handle type
The xc_interface previously passed to xc_gnttab_* was only used for
logging which can now be done via the xc_gnttab handle instead.

This makes the interface consistent with the changes made to the main
interface in 21483:779c0ef9682c.

Also update QEMU_TAG to pull in the corresponding qemu change.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
2010-12-23 15:32:52 +00:00
Ian Campbell 3e446a35ee libxc: convert evtchn interfaces to use an opaque handle type
This makes the interface consistent with the changes made to the main
interface in 21483:779c0ef9682c.

Also fix some references to "struct xc_interface" which should have
been simply "xc_interface" in tools/xenpaging, and update QEMU_TAG to
pull in the corresponding qemu change.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
2010-12-23 15:25:57 +00:00
Ian Jackson 8231289385 QEMU_TAG update 2010-12-16 16:58:39 +00:00
Ian Jackson e7da200f3d QEMU_TAG update 2010-12-14 18:56:35 +00:00
Ian Jackson 36c7617ea0 QEMU_TAG update 2010-11-23 19:21:22 +00:00
Ian Jackson d5e8312ed9 Reapply 61c0c52a8c6c "qemu-xen: build adjustments"
The changeset
  qemu-xen: build adjustments to support out-of-tree builds
works after all.  Sorry for the noise.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
2010-11-23 19:12:55 +00:00
Ian Jackson 16f2fb18bc Revert 61c0c52a8c6c "qemu-xen: build adjustments"
It appears that the changeset
  qemu-xen: build adjustments to support out-of-tree builds
broke the build.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
2010-11-23 18:38:16 +00:00
Jan Beulich 762626dd33 qemu-xen: build adjustments to support out-of-tree builds
QEMU by itself can be built outside of its source directory. With the
qemu repository being separate from the hypervisor/tools one it seems
to make sense to make use of this feature, but doing so requires a
couple of adjustments to the Xen changes to it. Basically, if
CONFIG_QEMU is found to indicate an existing directory, this directory
will be used rather than cloning the git repo into the build tree.

[ This changeset is the xen-unstable part of the patch but also
  includes the QEMU_TAG update to pull in the qemu part. -iwj ]

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
2010-11-23 16:43:38 +00:00
Ian Jackson 47aec067a5 QEMU_TAG update 2010-11-19 18:55:18 +00:00
Anthony Perard 8fe49db6bd firmware, qemu: Change ACPI IO values to match QEMU BIOS
As part of the QEMU/Xen merge, this patch comes to change the value of
sleep states and add some information in the PCI registers to match the
implementation of the BIOS of QEMU.

It also does a hypercall (HVM_PARAM_ACPI_IOPORTS_LOCATION) that tell the
Xen to use the new Port I/O instead of the old one.

[ Also, in this patch, update QEMU_TAG to the qemu-xen revision
  with the corresponding qemu change. -iwj ]

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
2010-11-09 18:03:55 +00:00
Ian Jackson d32628fe37 QEMU_TAG update 2010-11-08 17:14:50 +00:00
Ian Jackson dca1b6e714 QEMU_TAG update 2010-11-03 12:51:14 +00:00
Ian Jackson 16febcc2cb QEMU_TAG update 2010-10-28 12:28:49 +01:00
Ian Jackson 8e5c88afb0 QEMU_TAG update 2010-10-21 18:51:36 +01:00