aboutsummaryrefslogtreecommitdiffstats
path: root/extras
Commit message (Collapse)AuthorAgeFilesLines
* pv-grub: On x86_64, also build an x86_32 pv-grubKeir Fraser2008-08-141-2/+2
| | | | | | | This requires suffixing obj directories and having grub compiled outside sources. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: for safety, tell lwip we use the heap in the event handlerKeir Fraser2008-08-111-0/+1
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* prefix mini-os lists with minios_, drop QEMU_ prefix from QEMU_LIST_*Keir Fraser2008-08-089-108/+108
| | | | | | That permits to reduce the amount of difference with upstream. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: turn off_t 64bit on x86Keir Fraser2008-08-084-12/+11
| | | | | | | | 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>
* mini-os: Fix 32bit compilation of fs-front.cKeir Fraser2008-08-041-2/+2
| | | | | Reported-by: Trolle Selander <trolle.selander@eu.citrix.com> Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* FSIF: extend protocol to multi-grant requests and multi-page ringKeir Fraser2008-08-013-65/+192
| | | | | | | To improve throughput and inline the stat response. Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk> Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* mini-os: make init_pcifront fail early if there is no backendKeir Fraser2008-07-311-2/+9
| | | | | | Else, we would leave entries in xenstore, which disturbs xend. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: grant table map (gntdev) bug fixesKeir Fraser2008-07-241-4/+6
| | | | | | | | | | | * Uninitialized dev_bus_addr argument to GNTTABOP_unmap_grant_ref results in an angry hypervisor. * Set errno in libxc and return -1 on error. * op.status is a int16_t, so it should be printed with PRId16. * Don't print domids[0] or refs[0] if the ptr is NULL. It's more polite to crash later, after the message has been printed. Signed-off-by: Diego Ongaro <diego.ongaro@citrix.com>
* minios: Fix build on some gcc versions.Keir Fraser2008-07-241-0/+1
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* minios: grant table map (gntdev) for miniosKeir Fraser2008-07-245-0/+292
| | | | | | | | I've implemented a grant map for mini-os to support the xc_gnttab_*() functions, the equivalent of gntdev in linux. This is useful for my work in putting xenstored in a stub domain. Signed-off-by: Diego Ongaro <diego.ongaro@citrix.com>
* mini-os: fix FS frontend index readingKeir Fraser2008-07-211-2/+2
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* mini-os: fix fs-front.c debugging printsKeir Fraser2008-07-211-13/+22
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* mini-os: export allocate_ondemandKeir Fraser2008-07-183-6/+21
| | | | | | | allocate_ondemand can be used to allocate addresse space. Primarily used for mapping MFNs, it can also be used e.g. to map grant refs. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* mini-os is missing list_top in its list.hKeir Fraser2008-07-181-0/+6
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* mini-os: add stack walking debugKeir Fraser2008-07-185-11/+79
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: add functions for caml runtimeKeir Fraser2008-07-172-3/+8
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: fixes for old gcc & binutilsKeir Fraser2008-07-113-9/+9
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: do not use realpath, new in make 3.81Keir Fraser2008-07-111-4/+4
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: Fixes for gcc 4.2.4 32bitKeir Fraser2008-07-102-3/+2
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: fixes to compile with qemu-xenKeir Fraser2008-07-1038-66/+71
| | | | | | | | | | 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>
* Fix a couple of Grzegorz Milos copyright lines.Keir Fraser2008-07-101-1/+1
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* minios: Add missing fcntl.h.Keir Fraser2008-07-091-0/+11
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* stubdom: add stub functions to reduce qemu patchesKeir Fraser2008-07-091-0/+11
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: fix copy/paste typo in select()Keir Fraser2008-07-081-1/+1
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: fix pass-through compilationKeir Fraser2008-07-051-0/+1
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: gcc-4.3 supportKeir Fraser2008-07-041-1/+37
| | | | | | It seems we need to provide limits.h in the gcc-4.3 case. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: use host's gccKeir Fraser2008-07-0428-107/+313
| | | | | | | | 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>
* minios: PIRQ and MSI/MSI-X supportKeir Fraser2008-07-024-2/+121
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: PCI passthrough support via PV-PCIKeir Fraser2008-07-024-0/+322
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* merge with xen-unstable.hgIsaku Yamahata2008-07-026-20/+12
|\
| * minios: proper frees are now handled, so drop the FIXME commentKeir Fraser2008-07-012-3/+0
| | | | | | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
| * stubdom: fix libc-verbose non-lwip compilationKeir Fraser2008-06-301-1/+1
| | | | | | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
| * minios: fix add_id_to_freelist(0)Keir Fraser2008-06-202-8/+8
| | | | | | | | | | | | add_id_to_freelist(0) would make get_id_from_freelist() always return 0. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
| * minios: do not systematically free the page under shared info, as theKeir Fraser2008-06-201-8/+3
| | | | | | | | | | | | guest booted by PV-GRUB will need it. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* | merge with xen-unstable.hgIsaku Yamahata2008-06-1940-127/+479
|\|
| * minios: fix gnttab allocation boundaryKeir Fraser2008-06-181-1/+2
| | | | | | | | | | | | | | The gnttab_sem is already fed during initialization's put_free_entry loop. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
| * Add PV-GRUBKeir Fraser2008-06-186-6/+47
| | | | | | | | | | | | | | | | | | | | | | 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: fix declaration after codeKeir Fraser2008-06-181-1/+1
| | | | | | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
| * stubdom: fix using minios frontends directly when libc is activedKeir Fraser2008-06-183-13/+35
| | | | | | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
| * minios,stubdom: Add OBJ_DIR parameter to compile outside sources,Keir Fraser2008-06-175-33/+37
| | | | | | | | | | | | | | 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>
| * minios can cope with >4G CR3 since it never uses itKeir Fraser2008-06-121-1/+1
| | | | | | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
| * minios: Fix >4GB machine addressesKeir Fraser2008-06-102-15/+15
| | | | | | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
| * minios: add proper shutdown facilitiesKeir Fraser2008-06-0927-12/+184
| | | | | | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
| * stubdom: fetch command line from start_info instead of xenstoreKeir Fraser2008-06-091-21/+7
| | | | | | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
| * stubdom: permit compilation without lwipKeir Fraser2008-06-092-2/+26
| | | | | | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
| * minios: use inlines instead of macros for bswap*Keir Fraser2008-06-091-14/+25
| | | | | | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
| * minios: add a blkfront synchronous interfaceKeir Fraser2008-06-052-6/+28
| | | | | | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
| * stubdom: Add console reading supportKeir Fraser2008-06-034-8/+77
| | | | | | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* | minios/ia64: fix EFI_RUNTIME_SERVICES_SIGNATURE valueIsaku Yamahata2008-06-101-1/+1
|/ | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: Save main_thread value by moving it out from app_bss whichKeir Fraser2008-05-282-2/+2
| | | | | | gets cleared. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>