aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
Commit message (Collapse)AuthorAgeFilesLines
* libxl: domain save/restore: run in a separate processIan Jackson2012-06-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libxenctrl expects to be able to simply run the save or restore operation synchronously. This won't work well in a process which is trying to handle multiple domains. The options are: - Block such a whole process (eg, the whole of libvirt) while migration completes (or until it fails). - Create a thread to run xc_domain_save and xc_domain_restore on. This is quite unpalatable. Multithreaded programming is error prone enough without generating threads in libraries, particularly if the thread does some very complex operation. - Fork and run the operation in the child without execing. This is no good because we would need to negotiate with the caller about fds we would inherit (and we might be a very large process). - Fork and exec a helper. Of these options the latter is the most palatable. Consequently: * A new helper program libxl-save-helper (which does both save and restore). It will be installed in /usr/lib/xen/bin. It does not link against libxl, only libxc, and its error handling does not need to be very advanced. It does contain a plumbing through of the logging interface into the callback stream. * A small ad-hoc protocol between the helper and libxl which allows log messages and the libxc callbacks to be passed up and down. Protocol doc comment is in libxl_save_helper.c. * To avoid a lot of tedium the marshalling boilerplate (stubs for the helper and the callback decoder for libxl) is generated with a small perl script. * Implement new functionality to spawn the helper, monitor its output, provide responses, and check on its exit status. * The functions libxl__xc_domain_restore_done and libxl__xc_domain_save_done now turn out to want be called in the same place. So make their state argument a void* so that the two functions are type compatible. The domain save path still writes the qemu savefile synchronously. This will need to be fixed in a subsequent patch. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com>
* hgignore/gitignore: add xen/arch/x86/boot/reloc.bin, .lnkIan Jackson2012-06-281-0/+2
| | | | | | | | 25479:61dfb3da56b0 added a .PRECIOUS which causes these files to be left over more often. They should have been ignored already, though. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* xl: add "check-xl-vif-parse" test scriptMathieu Gagne2012-04-241-0/+1
| | | | | | | | | | | | This test script runs "xl -N network-attach 0 <foobar>" against various rate syntax and checks that the output is as expected. [ Added entries to .hgignore and .gitignore for tools/libxl/tmp.* -iwj ] Signed-off-by: Mathieu Gagne <mgagne@iweb.com> Acked-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>
* .gitignore: Add a missing fileIan Jackson2012-04-111-0/+1
| | | | | | Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
* MergeIan Jackson2012-03-141-0/+2
|\
| * arm: add generated files to .gitignore and .hgignoreDavid Vrabel2012-03-141-0/+2
| | | | | | | | | | Signed-off-by: David Vrabel <david.vrabel@citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
* | gitignore: Add cscope filesIan Campbell2012-03-141-0/+4
|/ | | | | Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* Low mem virq incremental adjustmentsAndres Lagar-Cavilla2012-03-081-0/+1
| | | | | | | | | | Consider tmem before firing the virq. Add .gitignore rune. Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org> Acked-by: Dan Magenheimer <dan.magenheimer@oracle.com> Committed-by: Keir Fraser <keir@xen.org>
* Revert 24897:f25e5785327e "Export configure variables to hypervisor build"Keir Fraser2012-02-291-1/+0
| | | | Signed-off-by: Keir Fraser <keir@xen.org>
* build: Export configure variables to hypervisor buildDaniel De Graaf2012-02-291-0/+1
| | | | | | | | | | | | Since the introduction of autoconf, builds with XSM enabled in .config have been broken unless FLASK_ENABLE was explicitly set. Since the setting in .config has apparently been deprecated in favor of an autoconf --enable-xsm, add config/Xen.mk to export this to Xen. This also makes --disable-debug and some paths to be pulled from the configure process in the hypervisor build. Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov> Committed-by: Keir Fraser <keir@xen.org>
* .gitignore: add autoconf-related filesIan Jackson2012-02-221-0/+6
| | | | | Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
* gitignore: add more files generated in xen/arch/x86/efi to .gitignoreDavid Vrabel2012-02-201-0/+3
| | | | | | | These files were already listed in .hgignore. Signed-off-by: David Vrabel <david.vrabel@citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* .hgignore/.gitignore: Add some tools/tests binariesKeir Fraser2012-02-061-0/+1
| | | | Signed-off-by: Keir Fraser <keir@xen.org>
* .gitignore/.hgignore: add missing output filesDaniel De Graaf2012-02-061-1/+4
| | | | | | | | | | - extras/mini-os/include/list.h (already in .hgignore) - tools/flask/flask-{get,set}-bool - tools/flask/loadpolicy no longer exists - tools/xenstore/init-xenstore-domain Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov> Committed-by: Keir Fraser <keir@xen.org>
* tools: memshrtool: tool to test and exercise the sharing subsystemAndres Lagar-Cavilla2012-01-271-0/+1
| | | | | | | | | | | | This is demo code meant to showcase how to perform sharing operations. It is useful for testing. [ Added appropriate lines to .hgignore and .gitignore -iwj ] Signed-off-by: Adin Scannell <adin@scannell.ca> Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* .gitignore/.hgignore: New names for ioemu dirs, seabiosIan Jackson2012-01-271-18/+9
| | | | | | | | | | * Add new seabios clone directories to .gitignore. * Add new qemu clone directories to .gitignore. * Remove old tools/ioemu (long-obsolete) from .gitignore and .hgignore. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
* .gitignore: ocaml: add xenlight.mliIan Jackson2012-01-131-0/+1
| | | | | Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
* .gitignoreIan Jackson2012-01-121-0/+372
Introduce a .gitignore file for the convenience of people who use git. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Acked-by: Keir Fraser <keir@xen.org> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>