aboutsummaryrefslogtreecommitdiffstats
path: root/.hgignore
Commit message (Collapse)AuthorAgeFilesLines
...
* hgignore: Add EFI-related auto-generated files.Keir Fraser2011-06-281-0/+3
| | | | Signed-off-by: Keir Fraser <keir@xen.org>
* libxl: remove and hgignore testenum.cIan Jackson2011-06-221-0/+1
| | | | | | | | | This is an output file from the test idl generator and should not have been committed. Reported-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* libxl: autogenerate to_string and from_string functions for Enumerations.Ian Campbell2011-06-211-0/+1
| | | | | | | | | | | | The generated strings are the lower case enum value names, with underscores. Accepted string for parsing are the same but are case insensitive. We provide a table of strings->value for each Enumeration as well as a convenience function to perform a lookup. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* tools: ocaml: lay ground work for auto generating xl datatypes.Ian Campbell2011-04-201-0/+5
| | | | | | | | | | | | | Doesn't actually generate anything yet but puts all the moving parts into place. In particular sets up the xl.ml.in+_libxl_types.ml.in->xl.ml transformation using sed. This appears to be the only/best way to do this for ocaml due to the lack of a preprocessor and/or an include mechanism which has an inmpact on namespacing. 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>
* tools: hvmloader: rename roms.h to roms.incIan Campbell2011-04-121-1/+1
| | | | | | | It's not really a header, it's an autogenerated data file. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Keir Fraser <keir@xen.org>
* Update hgignore listKeir Fraser2011-01-081-4/+5
|
* ocaml: install built modulesIan Campbell2010-11-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the install target was having no effect because it ended up calling the default target in the subdir Makefile instead of the install target. Resolve this by tying the tools/ocaml Makefiles into the generic handling done by tools/Rules.mk. Other changes arising in one way or another from this: - Add libs/xl/META.in - Update .hgignore for META files - Create leading directories - Remove existing module before installation in install targer (worksaround what appears to be a quirk of "ocamlfind install") - Use the globally defined $(DESTDIR) - Move "ocamlfind printfconf destdir" to a common variable, repurposing exising unused OCAMLDESTDIR, incorporating $(DESTDIR) at the same time. - Drop a few unused variabe definitions (mainly to avoid deciding if $(DESTDIR) made sense for them or not. - Pass -destdir to ocamlfind in uninstall target for symmetry with install target. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* hgignore: Rename gpxe -> ipxeKeir Fraser2010-11-041-2/+2
|
* "kdd" Windows debugger stub.Tim Deegan2010-10-261-0/+1
| | | | | | | | | | | | kdd runs in dom0, attaches to a domain and speaks the Windows kd serial protocol over a TCP connection (which should go to kd or windbg, e.g. by having another VM with its virtual COM1 set up as a TCP listener). It doesn't do breakpoints &c yet, and windbg can get quite confused since the kernel debugger's not actually running, but it's good enough to extract backtraces from wedged VMs. Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
* xenstore: add xenstore-watch command line clientIan Campbell2010-10-211-0/+1
| | | | | | | | | | | | | | | | | | | # xenstore-watch x | while read w ; do > echo "watch fired on $w" > echo "value" $(xenstore-read $w) > echo > done # xenstore-write x/y/z 42 output from while loop: watch fired on x/t/z value 42 [ also add line to .hgignore - iwj ] Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* libxl, buildmakevars2file: Do not relink libxl each timeIan Jackson2010-09-211-0/+1
| | | | | | | | | | | | | Make Config.mk's definition of buildmakevars2file and tools/libxl/Makefile's rule for _libxl_paths.h generate their files to temporary files and only rename them into place if the intended file has changed. This gets rid of unnecessarily compilation and link steps. Add *.tmp to .hgignore. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Acked-by: Keir Fraser <keir.fraser@citrix.com>
* libxl, tools/python: Add libxl python bindingGianni Tedesco2010-09-161-0/+2
| | | | | | | | | | | | | | | | Introduce python binding for libxl. The binding is not yet complete but serveral methods are implemented and tested. Those which are implemented provide examples of the two or three basic patterns that most future methods should follow. Over 5,000 lines of boilerplate is automatically generated to wrap and export all relevant libxl structure definitions. There are a few places where such code cannot be fully auto-generated and special hooks are declared and stubbed where, for example, conversion between libxl_file_reference and a python file object is required. Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* libxl: generate destructors for each libxl defined typeIan Campbell2010-08-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | I chose the name "_destroy" rather than "_free" because the destructor functions will free only the members of a type recursively but will not free the actual type structure itself. The allocation of the type is typically done by the caller and may not be a single allocation, e.g. lists/arrays of types or embedded in other structures etc. The exceptions to this rule are libxl_string_list_destroy and libxl_key_value_list_destroy but I'm not 100% convinced they are exceptions (since they are kind-of opaque) and I couldn't see a cleanerway to express this concept. I have made a best effort attempt to implement these functions sanely but since as far as I can tell nothing in the current code base ever sets libxl_domain_create_info.{xsdata,platformdata} I'm flying somewhat blind. [PATCH 05 of 16 of libxl: autogenerate type definitions and destructor functions] Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* tools/misc: xen-hvmcrash: New tool to attempt to crash HVM guestsPaul Durrant2010-07-291-0/+1
| | | | | | | | | | | | This tool reads the CPU save records, overwrites RIP with a bogus value, and then restores them. This is, of course, not guaranteed to crash the guest (since the CPUs may not be executing in kernel at the time) but it's good for breaking into some tight loops that would be hard to debug otherwise. Signed-off-by: Paul Durrant <paul.durrant@citrix.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* hvmloader: Build GPXE from upstream git repo, latest release tag.Keir Fraser2010-07-201-0/+1
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* gpxe: Add eb-roms.h to hgignore list and build ROMs serially.Keir Fraser2010-06-291-0/+1
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* hgignore: Update for new tap-ctl utilityKeir Fraser2010-06-081-2/+1
|
* hgignore: Modify *.d line to avoid fale trigger on tools/hotplug/Linux/init.d/Keir Fraser2010-06-071-1/+1
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* Watchdog timers for domainsKeir Fraser2010-06-041-0/+1
| | | | | | | | Each domain is allowed to set, reset and disable its timers; when any timer runs out the domain is killed. Patch from Christian Limpach <Christian.Limpach@citrix.com> Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
* .hgignore: Update for new ocaml build-generated files.Keir Fraser2010-05-071-1/+4
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* libxl: Expose build-time install paths inside libxl.Keir Fraser2010-04-291-0/+1
| | | | | | Use this to construct the fully-qualified path to xenconsole. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* Tools: add online/offline hotplug user interfacesKeir Fraser2010-04-211-0/+1
| | | | | | | | | | | | | | | | | Exporting cpu on/offline and memory on/offline hotplug interfaces, so that users can do those (memory/cpu) hotplug actions with following command line freely: usage: xen-hptool <command> [args] xen-hptool command list:\n\n cpu-online <cpuid> online CPU <cpuid> cpu-offline <cpuid> offline CPU <cpuid> mem-online <mfn> online MEMORY <mfn> mem-offline <mfn> offline MEMORY <mfn> mem-status <mfn> query Memory status<mfn> Signed-off-by: Yunhong Jiang<yunhong.jiang@intel.com> Signed-off-by: Liping Ke <liping.ke@intel.com>
* Commit output from flex for benefit of prehistoric peopleKeir Fraser2010-03-051-2/+1
| | | | | Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* Replace config file parser for "xl"Keir Fraser2010-03-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | This provides a replacement config file parser for "xl" based on bison and flex. Benefits: * proper error reporting with line numbers * parser can understand nearly all "xm" configuration files directly (doesn't understand Python code but should do everything else) * parser also understands the ;-infested "xl" style files * removes the dependency on libconfig * better checking for certain kinds of mistakes * eliminates the strange "massage file and try again" code This is intended to support all config files currently supported by "xl" and almost all files supported by "xm". (NB that whether a feature works depends on the implementation of that feature in xl/libxl of course.) This patch also introduces a new library "libxlutil" which is mainly for the benefit of "xl". Users of libxl do not need to use libxlutil, but they can do so if they want to parse "xl" files without being "xl". Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Acked-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com>
* hvmloader: Build a compatibility DSDT with only 15 processor objects.Keir Fraser2010-02-111-1/+1
| | | | | | | | | Deploy this smaller DSDT where possible: this is required to boot Windows 2000, which only supports up to 15 processors and will blue screen if it sees more processor objects than that (even inactive ones). Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* hvmloader: Remove checked-in ready-compiled SSDT_PM and SSDT_TPM.Keir Fraser2010-02-111-1/+2
| | | | | | These can be built at the same time as the DSDT. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* hvmloader: Do not leave compiled DSDT checked in to tree.Keir Fraser2010-02-111-1/+1
| | | | | | | It's big and small changes generate huge diffs. People building the firmware will have to ensure they have iasl installed. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* User-land tool for memory paging.Keir Fraser2009-12-171-0/+1
| | | | | | | | | | | | | This tool will page out the specified number of pages from the specified domain. When a paged out page is accessed, Xen will issue a request and notify the tool over an event channel. The tool will process ther request, page the page in, and notify Xen. The current (default) policy tracks the 1024 most recently paged in pages and will not choose to evict any of those. This is done with the assumption that if a page is accessed, it is likely to be accessed again soon. Signed-off-by: Patrick Colp <Patrick.Colp@citrix.com>
* Remus: support for network bufferingKeir Fraser2009-11-131-0/+2
| | | | | | | | | | | This currently relies on the third-party IMQ patch (linuximq.net) being present in dom0. The plan is to replace this with a direct hook into netback eventually. This patch includes a pared-down and patched copy of ebtables to install IMQ on a VIF. Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
* tools: Make build again on netbsdKeir Fraser2009-11-101-0/+2
| | | | | Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* Update .hgignore listKeir Fraser2009-10-291-0/+4
|
* gdbsx: a gdbserver stub for xen.Keir Fraser2009-10-151-6/+1
| | | | | | | | It should be run on dom0 on gdbsx enabled hypervisor. For details, please see tools/debugger/gdbsx/README Signed-off-by: Mukesh Rathor <mukesh.rathor@oracle.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* libxc: More LZMA/BZIP fixes.Keir Fraser2009-08-241-1/+1
| | | | | | | | | - Fix an error message in xc_try_bzip2_decode() - Check library installation on demand using a Makefile function, rather than generating a dependency file. Cleaner and avoids a race on generating the dep file. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* Update .hgignore for tools/libxc/.zlib.depsKeir Fraser2009-08-211-0/+1
|
* xen-hvmctx: a tool to print the HVM state of a running domainKeir Fraser2009-08-141-0/+1
| | | | | Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* tools/tests: Add syntax check for different versions of pythonKeir Fraser2009-07-281-0/+3
| | | | | From: Andreas Florath <xen@flonatel.org> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* x86 Cx tracing: adds gtraceview & gtracestat utilitiesKeir Fraser2009-06-291-0/+2
| | | | Signed-off-by: Lu Guanqun <guanqun.lu@intel.com>
* Update hgignore fileKeir Fraser2009-06-231-0/+1
|
* Remove bogus checked in file headers.chk, remove it on make clean, andKeir Fraser2009-06-181-0/+1
| | | | | | add it to .hgignore file. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* blktap2: a completely rewritten blktap implementationKeir Fraser2009-05-261-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Benefits to blktap2 over the old version of blktap: * Isolation from xenstore - Blktap devices are now created directly on the linux dom0 command line, rather than being spawned in response to XenStore events. This is handy for debugging, makes blktap generally easier to work with, and is a step toward a generic user-level block device implementation that is not Xen-specific. * Improved tapdisk infrastructure: simpler request forwarding, new request scheduler, request merging, more efficient use of AIO. * Improved tapdisk error handling and memory management. No allocations on the block data path, IO retry logic to protect guests transient block device failures. This has been tested and is known to work on weird environments such as NFS soft mounts. * Pause and snapshot of live virtual disks (see xmsnap script). * VHD support. The VHD code in this release has been rigorously tested, and represents a very mature implementation of the VHD image format. * No more duplication of mechanism with blkback. The blktap kernel module has changed dramatically from the original blktap. Blkback is now always used to talk to Xen guests, blktap just presents a Linux gendisk that blkback can export. This is done while preserving the zero-copy data path from domU to physical device. These patches deprecate the old blktap code, which can hopefully be removed from the tree completely at some point in the future. Signed-off-by: Jake Wires <jake.wires@citrix.com> Signed-off-by: Dutch Meyer <dmeyer@cs.ubc.ca>
* Transcendent memory ("tmem") for Xen.Keir Fraser2009-05-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tmem, when called from a tmem-capable (paravirtualized) guest, makes use of otherwise unutilized ("fallow") memory to create and manage pools of pages that can be accessed from the guest either as "ephemeral" pages or as "persistent" pages. In either case, the pages are not directly addressible by the guest, only copied to and fro via the tmem interface. Ephemeral pages are a nice place for a guest to put recently evicted clean pages that it might need again; these pages can be reclaimed synchronously by Xen for other guests or other uses. Persistent pages are a nice place for a guest to put "swap" pages to avoid sending them to disk. These pages retain data as long as the guest lives, but count against the guest memory allocation. Tmem pages may optionally be compressed and, in certain cases, can be shared between guests. Tmem also handles concurrency nicely and provides limited QoS settings to combat malicious DoS attempts. Save/restore and live migration support is not yet provided. Tmem is primarily targeted for an x86 64-bit hypervisor. On a 32-bit x86 hypervisor, it has limited functionality and testing due to limitations of the xen heap. Nearly all of tmem is architecture-independent; three routines remain to be ported to ia64 and it should work on that architecture too. It is also structured to be portable to non-Xen environments. Tmem defaults off (for now) and must be enabled with a "tmem" xen boot option (and does nothing unless a tmem-capable guest is running). The "tmem_compress" boot option enables compression which takes about 10x more CPU but approximately doubles the number of pages that can be stored. Tmem can be controlled via several "xm" commands and many interesting tmem statistics can be obtained. A README and internal specification will follow, but lots of useful prose about tmem, as well as Linux patches, can be found at http://oss.oracle.com/projects/tmem . Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com>
* stubdom: Rebuild the ocaml runtime libraries with the options neededKeir Fraser2009-05-191-0/+1
| | | | | | | | | if they are to be linked with object files created by ocamlc and the minios kernel. This is needed to build stubdoms written in ocaml. Signed-off-by: Alex Zeffertt <alex.zeffertt@eu.citrix.com>
* ocaml-xenstored: Allow to build ocaml xenstored instead of C versionKeir Fraser2009-05-191-0/+2
| | | | | | | | To use, set CONFIG_OCAML_XENSTORED=y at build time. Then the build system will automatically download the remote repo to tools/ocaml-xenstored. Signed-off-by: Alex Zeffertt <alex.zeffertt@eu.citrix.com>
* python: get rid of hardcoded search pathes in python code.Keir Fraser2009-05-191-0/+1
| | | | Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* x86: Relocate Multiboot structures where we know they will beKeir Fraser2009-02-031-9/+1
| | | | | | | | | | | | | | | accessible. GRUB2 seems to like to stick them really high sometimes (just below 4GB). The 32-bit C code framework that this sets up can also be used for other stuff in future: * early cmdline parsing * relocating multiboot modules so they too are guaranteed accessible Its interaction with normal Xen start-of-day, and with the 16-bit assembly trampoline, needs a bit of thought. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* Remove accidentally checked-in xenpmd binary.Keir Fraser2008-10-231-0/+1
|
* hvm firmware: Replace etherboot with modern gPXE ROMs.Keir Fraser2008-09-251-4/+1
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* x86: Add xenpm utility to list CPU power info.Keir Fraser2008-09-251-0/+1
| | | | | Signed-off-by: Lu Guanqun <guanqun.lu@intel.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* xsm, python tools: remove autogenerated xsm.pyKeir Fraser2008-09-041-1/+0
| | | | | | | | | | | | | | | | | | | | | | - The patch does away with the autogenerated xsm.py file and introduces a config parameter in xend-config.sxp to determine the security module. The parameter is (xsm_module_name {acm, dummy, flask}). The default setting/option is dummy. .hgignore is also updated to stop ignoring xsm.py on commits. - The patch has created an xsconstant for XS_POLICY_FLASK and updated the toolchain to check the instance of XS_POLICY_USE. XS_POLICY_USE evalauates to XS_POLICY_FLASK or XS_POLICY_ACM or XS_POLICY_DUMMY depending on configuration. - Flask relies on the current value of ssidref returned by dominfo to ensure that the label to sid mapping is consistent. ssidref had been pop'ed from the dominfo object. The patch addresses this issue. - Flask python module style cleanups. Signed-off-by: George Coker <gscoker@alpha.ncsc.mil>
* pv-grub: On x86_64, also build an x86_32 pv-grubKeir Fraser2008-08-141-7/+3
| | | | | | | This requires suffixing obj directories and having grub compiled outside sources. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>