aboutsummaryrefslogtreecommitdiffstats
path: root/stubdom
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* stubdom: fixes to compile with qemu-xenKeir Fraser2008-07-101-8/+36
| | | | | | | | | | This adds fixes to the stub domain build into compiling Ian Jackson's qemu-xen. The most notable change is that mini-os headers now #include each other through a mini-os/ prefix, so that we can turn all -I into -isystem and still be sure that we include Mini-OS headers (and not qemu's console.h or blktaplib's list.h for instance...). Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: make compilation independent of tools/ by building our own copy of ↵Keir Fraser2008-07-091-8/+15
| | | | | | the includes Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: use a newlib snapshot instead of the slow cvs checkout.Keir Fraser2008-07-081-13/+31
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: do not build tapdisk as it it not supposed to build and we don't ↵Keir Fraser2008-07-081-1/+1
| | | | | | need it Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: fix parallel buildKeir Fraser2008-07-051-1/+1
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: Remove obsolete patch files.Keir Fraser2008-07-042-45/+0
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* stubdom: use host's gccKeir Fraser2008-07-041-67/+34
| | | | | | | | This makes stubdom use the host's gcc instead of downloading/compiling binutils+gcc. That requires a bunch of changes and even uncovered a few bugs, but saves a lot of time. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: PCI passthrough support via PV-PCIKeir Fraser2008-07-024-4/+312
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* PV-GRUB: fix reiserfs 64bit supportKeir Fraser2008-06-201-1/+12
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* PV-GRUB: compilation fix caused by 17880Keir Fraser2008-06-201-1/+1
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* Add PV-GRUBKeir Fraser2008-06-1815-17/+5596
| | | | | | | | | | | This fetches GRUB1 sources, applies the {graphical, print function, save default, and ext3_256byte} patches from debian, and applies a patch to make it work on x86_64 and port it to Mini-OS. By using libxc, PV-GRUB can then "kexec" the loaded kernel from inside the domain itself, hence permitting to avoid the security-concerned pygrub. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios,stubdom: Add OBJ_DIR parameter to compile outside sources,Keir Fraser2008-06-173-37/+39
| | | | | | | which permits to easily compile mini-os in various flavors. Also clean some parts of stubdom build. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: document that pty usage should be disabledKeir Fraser2008-06-091-0/+2
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: prevent newlib from emiting cli/sti in longjmpKeir Fraser2008-06-091-4/+9
| | | | | | Also fix build dependencies and cleanup. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: upgrade lwip to newer upstream version since it provides bugfixesKeir Fraser2008-06-051-1/+1
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: make the build more generic by moving as many stubdom partsKeir Fraser2008-05-285-16/+76
| | | | | | | into stubdom/ as possible. That also permits to build all of ioemu, c and caml stubdoms at the same time. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: Fix quotes in stub domain creationKeir Fraser2008-04-051-1/+1
| | | | | | by using the same as in debug mode. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: add C example targetKeir Fraser2008-03-193-1/+28
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: support save/restore by passing the -loadvm parameter,Keir Fraser2008-03-182-3/+17
| | | | | | | letting the stubdomain access the save area, and having it watch the correct xenstore node. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: fix mini-os messages log and SDL terminationKeir Fraser2008-02-281-18/+9
| | | | | | | | | | | We can now let the stubdom-dm script output mini-os messages to stdout/err so that it gets output to the new /var/log/xen/qemu-dm-$domname.log In the SDL case, we must not wait for the VNC server port to appear, as it won't ever. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: use PVFB so as to e.g. permit SDL displayKeir Fraser2008-02-281-18/+57
| | | | | | | | This adds support in ioemu for PVFB frontend as stubdomain display. This permits for instance to use SDL in dom0 to perform the eventual display. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: log and documentation fixesKeir Fraser2008-02-262-9/+13
| | | | | | | | - Document that for vnclisten names and 127.0.0.1 should not be used. - Documentation cosmetic fixes - Dump qemu output to the usual logs Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: missing two renames (avoids always re-compiling newlib)Keir Fraser2008-02-121-2/+2
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: Rename stubdom/*.build into stubdom/*-build, newlib intoKeir Fraser2008-02-124-19/+268
| | | | | | | newlib-cvs, lwip into lwip-cvs. Fix .hgignore to ignore only them and not the patches. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* Make stubdom/Makefile override XEN_OS to MiniOS, and addKeir Fraser2008-02-121-0/+2
| | | | | | | config/MiniOS.mk. Add PTHREAD_LIBS to configs (usually holding -lpthread). Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* Add stubdomain support. See stubdom/README for usage details.Keir Fraser2008-02-127-0/+423
- Move PAGE_SIZE and STACK_SIZE into __PAGE_SIZE and __STACK_SIZE in arch_limits.h so as to permit getting them from there without pulling all the internal Mini-OS defines. - Setup a xen-elf cross-compilation environment in stubdom/cross-root - Add a POSIX layer on top of Mini-OS by linking against the newlib C library and lwIP, and implementing the Unixish part in mini-os/lib/sys.c - Cross-compile zlib and libpci too. - Add an xs.h-compatible layer on top of Mini-OS' xenbus. - Cross-compile libxc with an additional xc_minios.c and a few things disabled. - Cross-compile ioemu with an additional block-vbd, but without sound, tpm and other details. A few hacks are needed: - Align ide and scsi buffers at least on sector size to permit direct transmission to the block backend. While we are at it, just page-align it to possibly save a segment. Also, limit the scsi buffer size because of limitations of the block paravirtualization protocol. - Allocate big tables dynamically rather that letting them go to bss: when Mini-OS gets installed in memory, bss is not lazily allocated, and doing so during Mini-OS is unnecessarily trick while we can simply use malloc. - Had to change the Mini-OS compilation somehow, so as to export Mini-OS compilation flags to the Makefiles of libxc and ioemu. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>