aboutsummaryrefslogtreecommitdiffstats
path: root/Config.mk
Commit message (Collapse)AuthorAgeFilesLines
* QEMU_TAG updateIan Jackson2012-02-071-3/+3
|
* Tools: build testsAndres Lagar-Cavilla2012-02-061-0/+1
| | | | | | | | | | | | | Build tests as part of the tools build. It is enabled with CONFIG_TESTS in Config.mk Currently disabled build of tests/regressions and tests/xen-access (in 32-bit mode) as they fail. Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Keir Fraser <keir@xen.org>
* Update QEMU_TAG, for CVE-2012-0029Ian Jackson2012-02-021-3/+3
|
* libxl: add support for yajl 2.xRoger Pau Monne2012-01-311-0/+5
| | | | | | | | | This patch adds support for yajl versions 2.x, while retaining 1.x compatibility. All the needed ifdefs can be found in libxl_json.h. Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* mini-os: use BSD sys/queue.h instead of Linux list.hIan Campbell2012-01-311-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The latter is GPL which makes the whole of mini-os GPL rather than BSD as intended. In tree users are all GPL or GPL-compatible but we should fix this so that mini-os is BSD. Do so by using the same BSD sys/queue.h as we use in libxl. Tested with the builtin mini-os test app and qemu stubdomain, both of which appear to still function as expected. Move tools/libxl/external and the associated sed script to tools/include/xen-external to allow more sensible access from mini-os. Also add s/NULL/0/ in the sed script due to NULL not always being defined in stubdom code when mini-os/wait.h is included. As well as the obvious ABI changes there are a few API updates associated with the change: - struct rw_semaphore.wait_list is unused - remove_waiter needs to take the wait_queue_head The latter requires a qemu update, so there is also a QEMU_TAG update in this changeset. I sprinkled some extra-emacs local variables around the files I edited which didn't have them. I think this should be backported to the stable branches since external users of mini-os may have been mislead into thinking they could safely link mini-os against GPL-incompatible code. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
* seabios: update to 1.6.3.1 releaseIan Campbell2012-01-261-1/+1
| | | | | | | This is the latest seabios stable release. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Keir Fraser <keir@xen.org>
* Clone and build Seabios by default2012-01-241-9/+3
| | | | | | | | From: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson.citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com>
* Clone and build upstream Qemu by default2012-01-241-0/+7
| | | | | | | From: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson.citrix.com>
* build: detect if libiconv is presentRoger Pau Monne2011-12-201-0/+5
| | | | | | | | | Detect if libiconv is present in the system, since we will have to link against it when using iconv. Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu> Committed-by: Ian Jackson <ian.jackson.citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
* Update QEMU_TAGIan Jackson2012-01-051-3/+3
|
* Update QEMU_TAGIan Jackson2011-12-221-3/+3
|
* stubdom: allow to build with older tool chainJan Beulich2011-12-131-0/+3
| | | | | | | | | | | GNU make prior to 3.81 doesn't support $(realpath ...). This fixes a regression introduced in 23368:0f670f5146c8 (the option tested via cc-option-add got interpreted as the argument of the -I compiler option, as its intended argument was blank, and hence the compiler was falsely considered to support *any* option in the pciutils sub-tree). Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
* remove the use of -Wno-unused-valueJan Beulich2011-12-131-4/+0
| | | | | | | | It has been hiding actual mistakes, and there are not too many changes necessary to make things build without suppressing this warning. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
* Update QEMU_TAGIan Jackson2011-12-081-3/+3
|
* Update QEMU_TAGIan Jackson2011-12-051-3/+3
|
* Update QEMU_TAGIan Jackson2011-12-011-3/+3
|
* Update QEMU_TAGIan Jackson2011-12-011-3/+3
|
* tools: Switch to system libaio (again)Ian Jackson2011-12-011-1/+1
| | | | | | | | The test system problems which prompted 24233:a9c67c2daf4b (itself a tiny partial revert of 24184:4ecd3615e726 / 24186:7aa5838499d1) have now been resolved, we think. So revert 24233. Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* Update QEMU_TAGIan Jackson2011-11-281-3/+3
|
* tools: Revert to our built-in aioIan Jackson2011-11-281-1/+1
| | | | | | | | | | These two changesets: 24184:4ecd3615e726 tools: use system installed libaio by default. 24186:7aa5838499d1 tools: use system libaio for blktap1 as well. cause HVM guest installs (both Windows and Redhat) to fail on Debian squeeze with xl. So change the default for now. Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* xenpaging: add XEN_PAGING_DIR / libxl_xenpaging_dir_path()Olaf Hering2011-11-201-1/+1
| | | | | Signed-off-by: Olaf Hering <olaf@aepfle.de> Committed-by: Ian Jackson <ian.jackson.citrix.com>
* tools: use system installed libaio by default.Ian Campbell2011-11-221-0/+1
| | | | | | | | | | | | | | | | | | | | I could have sworn I did this years ago. IIRC the need for our own copy was due to the use of io_set_eventfd which is not present in version 0.3.106. However it is in 0.3.107 the first version of which was uploaded to Debian in June 2008 (I can't find a better reference for the release date). The necessary version is available in Debian Lenny onwards and is in at least RHEL 6, Fedora 13 and OpenSuSE 11.3. The necessary version appears to not be available in RHEL 5 or SLES 11 which is why I haven't simply nuked the in tree version. This is based on tools-system-libaio.diff from the Debian packaging although I have made it optional (but default on). Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* Update QEMU_TAGIan Jackson2011-11-221-3/+3
|
* tools/check: check for headers and libraries in user defined folders.Roger Pau Monne2011-11-141-0/+3
| | | | | | | | | Parse EXTRA_INCLUDES, EXTRA_LIB, PREPEND_INCLUDES, PREPEND_LIB, APPEND_INCLUDES, APPEND_LIB during checks, to search for required files. Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* tools/build: Introduce {PREPEND,APPEND}_{LIB,INCLUDES}Roger Pau Monne2011-11-141-0/+4
| | | | | | | | | | | | | | | | | | | | | | | Create two new variables called APPEND_ and PREPEND_ to add compile flags at the beginning or at the end of the search path. Added a new semantic for user defined compile flags, here is the list of possible options: PREPEND_LIB: add libraries to the search path before xen (before xen installation folders). PREPEND_INCLUDES: add headers to the search path before xen (before xen installation folders). APPEND_LIB: add libraries to the search path at the end (after all xen installation folders have been added). APPEND_INCLUDES: add libraries to the search path at the end (after all xen installation folders have been added). EXTRA_INCLUDES and EXTRA_LIB can still be used, and they will have the same effect as PREPEND_INCLUDES and PREPEND_LIB. Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* Update QEMU_TAGIan Jackson2011-11-021-3/+3
|
* Config.mk: error out on non-absolute $(XEN_ROOT)Ian Campbell2011-10-071-0/+4
| | | | | Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Keir Fraser <keir@xen.org>
* QEMU_TAG updateIan Jackson2011-10-061-3/+3
|
* build: fix grep invocation in cc-optionsKeir Fraser2011-09-301-1/+1
| | | | | | | | | | | | | | 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>
* tools: Revert seabios and upstream qemu build changesIan Jackson2011-09-141-6/+9
| | | | | | | | | | | | | | | 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>
* Clone and build Seabios by defaultStefano Stabellini2011-09-131-9/+2
| | | | Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
* Clone and build upstream Qemu by defaultStefano Stabellini2011-09-131-0/+4
| | | | Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
* Config.mk: Include optional .config file *first* rather than *last*Keir Fraser2011-08-271-2/+2
| | | | | | | 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>
* build: remove $(DESTDIR) from buildmakevars2file pathsIan Campbell2011-07-221-1/+1
| | | | | | 23721:0ccb94d533d6 added this by mistake. Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
* build: consolidate buildmakevars2fileJan Beulich2011-07-191-12/+6
| | | | Signed-off-by: Jan Beulich <jbeulich@novell.com>
* build: define "move-if-changed" make macro.Ian Campbell2011-07-141-1/+11
| | | | | | | | | | | 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>
* QEMU_TAG updateIan Jackson2011-06-281-3/+3
|
* tools: Introduce XEN_RUN_DIR path.Anthony PERARD2011-06-271-0/+1
| | | | | | | | 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>
* QEMU_TAG updateIan Jackson2011-06-211-4/+3
|
* Fix Config.mk's cc-option for -Wno-* options.Keir Fraser2011-05-231-2/+12
| | | | | | | | | | | | | | | | | | 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>
* gcc-4.6 compile fix: build with -Wno-unused-but-set-variableOlaf Hering2011-05-211-0/+1
| | | | | | | 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>
* tools: support SeaBIOS. Use by default when upstream qemu is configured.Ian Campbell2011-04-201-0/+12
| | | | | | | | | | | | | | | | | 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>
* Remove unmaintained Access Control Module (ACM) from hypervisor.Keir Fraser2011-03-251-4/+2
| | | | Signed-off-by: Keir Fraser <keir@xen.org>
* build: Make XEN_ROOT an absolute path.Keir Fraser2011-03-171-20/+3
| | | | | | | | 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>
* Tidy makefiles to use CFLAGS-$(foo) idiom instead of ifeq.Tim Deegan2011-03-081-5/+11
| | | | | Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com> Acked-by: Keir Fraser <keir@xen.org>
* xen: add "clang=y" option to build Xen with clang/llvm instead of gcc.Tim Deegan2011-03-071-0/+7
| | | | | | | | | 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>
* Update Xen version to 4.1.0-rc64.1.0-rc6Keir Fraser2011-02-281-1/+1
|
* Update Xen version to 4.1.0-rc54.1.0-rc5Keir Fraser2011-02-161-1/+2
|
* QEMU_TAG updateIan Jackson2011-02-111-4/+3
|
* Update Xen version to 4.1.0-rc44.1.0-rc4Keir Fraser2011-02-101-1/+2
|