aboutsummaryrefslogtreecommitdiffstats
path: root/stubdom
Commit message (Collapse)AuthorAgeFilesLines
...
* stubdom docs: Update to reflect the new way of configuring stubdom domains.Keir Fraser2009-05-111-58/+2
| | | | Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
* stubdoms: handle cdrom devices in the config fileKeir Fraser2009-04-231-1/+3
| | | | Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
* stubdom: drop lwip supportKeir Fraser2009-04-231-15/+2
| | | | | | | | | | | | | | | | | | | | Network support is still provided the same way: using the tap interface, created in qemu using netfront. The lwip stack is still available to avoid additional compilation issues. However the stubdom is not going to have its own vif anymore, this means that the only vnc server supported is the one in dom0. You can still enable the vnc server in a stubdom at compile time, if you want so. Probably the most important change caused by this patch to xen users is that you don't have to specify two vif in the stubdom config file anymore, but just one: -vif = [ '', 'ip=10.0.1.1,mac=aa:00:00:12:23:34'] +vif = ['ip=10.0.1.1,mac=aa:00:00:12:23:34'] Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
* stubdoms: generate stubdom config fileKeir Fraser2009-04-231-9/+71
| | | | | | | | | | | | | | | | | | This patch removes the need for a second configuration file for stubdoms: it is going to be automatically generated by the script stubdom-dm using command line options and xenstore to find any needed information. The configuration script will be placed under /etc/xen/stubdoms and automatically removed when the domain is destroyed. The only change needed in xend is not to write on xenstore sdl, opengl and serial command line options for qemu, because stubdoms do not support them. It is safe to remove those two options from xenstore because qemu does not use xenstore to read commans line options. Finally this patch fixes blkfront disconnections from backends and display and xauthority variables for pv guests. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
* stubdom: Fix newlib-chk.patch so it appliesKeir Fraser2009-04-011-12/+8
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* stubdom: Add newlib-chk.patchKeir Fraser2009-03-311-0/+159
| | | | | From: "George S. Coker, II" <gscoker@alpha.ncsc.mil> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
* minios: _chk_fail and _chk canaries for minios and newlibKeir Fraser2009-03-311-0/+1
| | | | | | | | Add __stack_chk_fail to mini-os and __sprintf_chk __fprintf_chk to newlib, to cope with ocaml runtimes compiled with -fstack-protector. From: "George S. Coker, II" <gscoker@alpha.ncsc.mil> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
* build system cleanup - get rid of some hardcoded pathsKeir Fraser2009-03-191-6/+6
| | | | Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* ioemu-stubdom: Use xen-setup-stubdom rather than configureKeir Fraser2009-03-181-4/+6
| | | | | | | | | | | | | | xen-setup runs the upstream configure script, and ends up autodetecting various properties of the host and then trying to use them in stubdom, which works badly. In commit c609854fe18aab3216f28e1e5291b75970d398d5 in qemu-xen-unstable we provide a new `xen-setup-stubdom' script, which hardcodes the relevant answers. With these two changes, stubdom should compile again. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* Make stubdom compile on systems with libvde installedKeir Fraser2009-03-171-1/+1
| | | | | | | We need to disable libvde in the stubdom qemu-xen configuration. Thanks to Jun Koi for the report and testing. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* stubdom: add videoram to stubdom initial memory reservationKeir Fraser2009-01-291-1/+6
| | | | | | | | | | | This patch adds a videoram parameter (4MB is the default) to pv guests too: if the pv guest is actually a stubdomain then the videoram size is added to the initial required available memory. This way there is no risk that a stubdom fails to populate the videoram because the RAM freed for the videoram by dom0 has already been used to create the stubdom. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
* documentation: how to disable opengl for stubdomainsKeir Fraser2009-01-141-0/+5
| | | | Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
* stubdom: Fix compilation after libelf header changesKeir Fraser2009-01-091-0/+1
| | | | | | | | | | | Changeset 19011:7df072566b8c moved some of the libelf headers. However, no changes were made to stubdom/Makefile. stubdom/Makefile unfortunately contains embedded in it knowledge about the header directory structures, and must therefore typically be updated if new header directories are created. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* Download external tarballs from xenbits.xensource.comKeir Fraser2009-01-051-5/+15
| | | | | | | | | | | | | | I have copied the tarballs that the xen-unstable build downloads to xenbits.xensource.com (which also hosts our hg and git). This patch changes the download URLs to use that location. That way the build will depend on only one external machine, under one administration, rather than many. Also it means that the build won't break if these sites become permanently unavailable or are rearranged and we don't run a risk of having to panic and beg if a file should go missing. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* pvgrub: value returned by getrtsecs should be BCDKeir Fraser2008-12-011-1/+1
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* Add documentation on how to build one's own stub domain kernelKeir Fraser2008-10-141-0/+18
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
* pvgrub: Allow to work with a partitionless virtual disc.Keir Fraser2008-09-181-0/+72
| | | | | | From: Bastian Blank <bastian@waldi.eu.org> Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* Remove internal tools/ioemu tree.Keir Fraser2008-09-181-16/+0
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* stubdom/ioemu link farm creation fixesKeir Fraser2008-09-161-17/+20
| | | | | | | | | | | | | | | | | | | | | | | | | Replace the stubdom/ioemu link farm creation in stubdom/Makefile, with code which arranges that: * No symlinks are made for output files - in particular, any symlinks for .d files would be written through by the compiler and cause damage to the original tree and other strange behaviours * All subdirectories are made as local subdirectories rather than links * Any interrupted or half-completed creation of the link farm leaves the directory in a state where the link farming will be restarted * We use make's inherent ability to test for the existence of files rather than using [ -f ... ] at the start of the rule's commands * The list of files to be excluded from the link farm can be easily updated etc. This should fix some problems particularly with parallel builds, or by-hand builds where directories are entered in other than the usual order. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* $(XEN_ROOT) absolutification fixes for ioemu-remote (incl stubdom)Keir Fraser2008-09-121-2/+3
| | | | | | | | | | | | | | | | * Move code for generating an absolute version of XEN_ROOT into a common make variable set in Config.mk * Use this common code when invoking make -C ioemu-dir clean from tools/, which avoids a problem where `make clean' fails because qemu's (ioemu-remote's) build system wants to run `make clean' in `tests' but XEN_ROOT is a confection involving ../'s. * Use this common code in stubdom/Makefile, instead of $(abspath...) as the latter is a relatively new feature in GNU make and is not available in all the places that we want to be able to build (cf c/s 17997:3f23e01d31985899dbd1660b166f229f1ee74292) Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* stubdom: compile stubdom with qemu-remoteKeir Fraser2008-09-121-7/+8
| | | | | | Remove the CONFIG_QEMU override; fixing lwip isystem path. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
* stubdom: Fix README for renamed device-model config file.Keir Fraser2008-09-091-4/+4
| | | | Sigend-off-by: Keir Fraser <keir.fraser@citrix.com>
* cross-install: Only apply in tools directory, and automatically wrap $INSTALL.Keir Fraser2008-08-301-1/+1
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* stubdom: Absolute path for XEN_ROOT.Keir Fraser2008-08-301-1/+1
| | | | | | | It may be used in subdirectories indirectly (e.g., as path component of $(INSTALL)). Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* stubdom: add LANG=C for 'gcc -print-search-dirs'Keir Fraser2008-08-281-1/+1
| | | | | | Prevents unwanted localisation of pretty-printing. Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
* ioemu-stubdom: drop --disable-gfx-check option, already added by qemu-xen treeKeir Fraser2008-08-271-1/+1
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* pv-grub: On x86_64, also build an x86_32 pv-grubKeir Fraser2008-08-142-53/+69
| | | | | | | This requires suffixing obj directories and having grub compiled outside sources. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: turn off_t 64bit on x86Keir Fraser2008-08-081-0/+120
| | | | | | | | We can decide to make off_t 64bit instead of implementing the LFS tricks. Name corresponding functions foo64 to permit simple caml programs linking. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* install more documentation to /usr/share/doc/xen and /etc/xenKeir Fraser2008-08-061-1/+5
| | | | | | Also resync xmexample3 with xmexample1 and 2. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: add *_URL variables to permit to use e.g. local mirrors.Keir Fraser2008-08-061-5/+10
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: install stubdom kernels as dataKeir Fraser2008-08-041-2/+2
| | | | | | since they do not need to be directly executed Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: rename the ioemu-dm domain config file to domainname-dm,Keir Fraser2008-08-042-3/+6
| | | | | | | which is shorter, makes more sense, and sorts better. From: Samuel Thibault <samuel.thibault@eu.citrix.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* stubdom: Fix the Makefile to avoid brace expansionKeir Fraser2008-08-041-1/+1
| | | | | | | | | | | | While building stubdom, I saw an error. install: cannot stat `lib/{config,header,pci,types}.h': No such file or directory It seems brace expansion is not available in some environments, so we had better avoid using it. Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
* Fix stubdom makefile mistake.Keir Fraser2008-08-011-2/+2
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* stubdom: fix clean target after distcleanKeir Fraser2008-08-011-2/+2
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: update documentationKeir Fraser2008-08-011-10/+5
| | | | | | | stubdom/ is now compiled and installed by default HVM+IOEMU-stubdom can not boot if dom0 has to be ballooned. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: fix make clean ; makeKeir Fraser2008-07-311-1/+3
| | | | | | | | make should not have to regenerate the libxc and ioemu directories since that is part of the mk-headers target. Use the subdirectory clean targets instead to clean just the object files. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: avoid re-making mk-headers and thus newlib etc.Keir Fraser2008-07-251-1/+2
| | | | | | | Using a stamp file for mk-headers permits to avoid to re-run newlib configuration etc. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: make sure to use old tree for nowKeir Fraser2008-07-241-2/+2
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: fix build dependenciesKeir Fraser2008-07-181-3/+3
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: fix build dependencyKeir Fraser2008-07-181-6/+6
| | | | | | newlib now depends on mini-os header links Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: fix qemu keymap pathsKeir Fraser2008-07-181-2/+2
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: use lwip 1.3.0 release + patch instead of checking out from cvsKeir Fraser2008-07-172-16/+2421
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* PV-GRUB: use the 0.97 snapshot + patch instead of checking out from cvsKeir Fraser2008-07-173-12/+1398
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* PV-GRUB: allow passing menu.lst as a ramdiskKeir Fraser2008-07-161-1/+3
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: missing fixes for old gccKeir Fraser2008-07-141-0/+89
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: fixes for old gcc & binutilsKeir Fraser2008-07-111-0/+337
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: do not use realpath, new in make 3.81Keir Fraser2008-07-111-1/+1
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* PV-GRUB: Enable xfs supportKeir Fraser2008-07-101-2/+0
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* PV-GRUB: xfs supportKeir Fraser2008-07-101-0/+28
| | | | | | i386 doesn't have PAE anyway. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>