aboutsummaryrefslogtreecommitdiffstats
path: root/stubdom
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>