summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* lib: Break long line in definition of guestfs_set_error_handler.Richard W.M. Jones2012-11-091-1/+2
| | | | This is just a whitespace change.
* examples: Copy-editing instructions printed by the mount-local program.Richard W.M. Jones2012-11-091-3/+3
|
* header: Define LIBGUESTFS_HAVE_CREATE_FLAGS=1.Richard W.M. Jones2012-11-091-0/+1
| | | | This fixes commit 9466060201600db47016133d80af22eb38091a49.
* fish: Update documentation for environment variables.Richard W.M. Jones2012-11-091-8/+22
| | | | This fixes commit 1efed122c07792f4c66a4083159cfacfb1893212.
* lib: Rework temporary and cache directory code.Richard W.M. Jones2012-11-0920-130/+358
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New APIs: set-tmpdir, get-tmpdir, set-cachedir, get-cachedir. The current code has evolved over time and has a number of problems: (a) A single environment variable ($TMPDIR) controls the location of several directories. (b) It's hard for the library user to predict which directory libguestfs will use, unless the user simulates the same internal steps that libguestfs performs. This commit fixes these issues. (a) Now three environment variables control the location of all small temporary files, and the appliance cache: For temporary files: $LIBGUESTFS_TMPDIR or $TMPDIR or /tmp. For the appliance cache: $LIBGUESTFS_CACHEDIR or $TMPDIR or /var/tmp. The user can also set these directories explicitly through API calls (guestfs_set_tmpdir and guestfs_set_cachedir). (b) The user can also retrieve the actual directories that libguestfs will use, by calling guestfs_get_tmpdir and guestfs_get_cachedir. These functions are also used internally. This commit also: - reworks the internal tmpdir code - removes the internal (undocumented) guestfs_tmpdir call (replacing it with calls to the documented guestfs_get_tmpdir API instead) - changes the ./run script to set LIBGUESTFS_TMPDIR and LIBGUESTFS_CACHEDIR - adds a test - fixes a few places like libguestfs-make-fixed-appliance which depended on $TMPDIR
* lib: When parsing environment, handle LIBGUESTFS_TRACE first.Richard W.M. Jones2012-11-091-4/+4
| | | | So that we can trace all the later calls.
* Version 1.19.57.1.19.57Richard W.M. Jones2012-11-071-1/+1
|
* format: Allow virt-format test to be skipped by setting ↵Richard W.M. Jones2012-11-061-0/+5
| | | | SKIP_TEST_VIRT_FORMAT_SH=1.
* lib: debian support for package arch inspectionJohn Eckersberg2012-11-051-3/+8
|
* tests: wipefs: Don't try to wipe mounted filesystem.Richard W.M. Jones2012-11-031-1/+2
| | | | | | | Previously wipefs (the utility) allowed this, but it's obviously a bad thing to do and the new wipefs gives an error if you try it: wipefs: error: /dev/VG/LV: probing initialization failed: Device or resource busy
* fish: Fix documentation quit | exit -> separate exit & quit headings.Richard W.M. Jones2012-11-021-1/+3
|
* fish: Clean up prompt documentation.Richard W.M. Jones2012-11-021-2/+2
|
* fish: Use Unicode LOWER ONE QUARTER BLOCK to represent cursor.Richard W.M. Jones2012-11-021-1/+1
| | | | | | 'ls' (with no argument) is not a valid command. This fixes commit bad5c7d5a50e7f340d3a5daff59d7f3c18c0ab8f.
* Version 1.19.56.1.19.56Richard W.M. Jones2012-11-0220-19575/+20588
|
* generator: Split up huge src/actions.c into separate files.Richard W.M. Jones2012-11-025-8/+42
| | | | | | | | Split the functions according to a simple hash across C.nr_actions_files files (this number can be increased later if necessary). This is just code motion.
* generator: actions: Move variant functions to a separate file.Richard W.M. Jones2012-11-025-6/+30
| | | | This is just code motion.
* generator: actions: Move 3 helper functions to a separate file.Richard W.M. Jones2012-11-025-89/+127
| | | | This is just code motion.
* New API: mklost_and_foundRichard W.M. Jones2012-11-024-2/+43
|
* todo: General updates.Richard W.M. Jones2012-11-021-2/+6
|
* ROADMAP: Remove some completed items.Richard W.M. Jones2012-11-021-13/+0
|
* sysprep: Don't fail when trying to remove /var/spool/at/spool (directory).Richard W.M. Jones2012-11-011-1/+3
| | | | This fixes commit 1949016e899b2737525fdc9b6dda451ad9ecbd66.
* inspect: Use new inspect_list_applications2 API callJohn Eckersberg2012-11-012-25/+30
| | | | | RWMJ: - Update virt-inspector.rng.
* lib: Add inspect_list_applications2 method (RHBZ#859949)John Eckersberg2012-11-018-44/+233
| | | | | | RWMJ: - Fix memory leak in guestfs__inspect_list_applications wrapper. - Don't document app2_spare* fields.
* message catalogs don't need to be executableHilko Bengen2012-11-011-1/+1
|
* Version 1.19.55.1.19.55Richard W.M. Jones2012-10-3021-899/+1135
|
* build: Source 'localenv' in top-level Makefile.Richard W.M. Jones2012-10-302-0/+37
| | | | Also document 'local*' files.
* tests: Allow more tests to be skipped.Richard W.M. Jones2012-10-303-0/+18
| | | | | Specifically tests which involve btrfs, because btrfs is currently broken upstream (RHBZ#863978).
* generator: Use an OCaml struct to store the structs.Richard W.M. Jones2012-10-3012-92/+137
| | | | | | This just makes it simpler to add extra fields to each struct. This is code motion.
* lib: Force visibility default on public actions.Richard W.M. Jones2012-10-301-4/+10
| | | | | | This is currently done implicitly because of the linker script. However in order to do symbol versioning, we will have to do this explicitly at each definition instead.
* generator: Move struct-freeing functions to a separate source file.Richard W.M. Jones2012-10-305-27/+47
| | | | This is just code motion.
* sysprep: Move a comment.Richard W.M. Jones2012-10-301-1/+3
| | | | No change.
* sysprep: remove man pages cacheWanlong Gao2012-10-301-0/+3
| | | | | | Remove the cache files generated by man-db. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* sysprep: remove fontconfig cacheWanlong Gao2012-10-301-0/+3
| | | | | | Remove the cache files generated by fontconfig. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* lib: update inspect_list_applications to return all installed RPMs ↵John Eckersberg2012-10-291-46/+71
| | | | | | | (RHBZ#859885). Note that because of RHBZ#859949, this will return two identical entries for RPMs which differ only by arch.
* build: Remove 'make bindist' rule.Richard W.M. Jones2012-10-291-12/+0
| | | | | We've not distributed binaries for quite a long time, and possibly this is not advisable.
* Version 1.19.54.1.19.54Richard W.M. Jones2012-10-2920-2576/+3188
|
* guestfs-testing: Use L<> around links.Richard W.M. Jones2012-10-291-2/+2
|
* fish: Add GUESTFISH_PS1 environment variable to control prompt.Richard W.M. Jones2012-10-292-9/+203
|
* fish: Make progress bars slightly lighter.Richard W.M. Jones2012-10-271-1/+1
|
* docs: Review and clarify ERROR HANDLING section of guestfs(3).Richard W.M. Jones2012-10-251-14/+32
|
* launch: libvirt: Disable CPU host-model.Richard W.M. Jones2012-10-251-0/+8
| | | | | | See the comment in the change. This "fixes" commit f7a67914c03db6d4c75671793964954640af7892.
* gitignore: Ignore config.cache file.Richard W.M. Jones2012-10-251-0/+1
|
* launch: libvirt: Fix <cpu> element.Richard W.M. Jones2012-10-251-1/+6
| | | | | | | | | Use <cpu mode="host-model"> (not model=... which was a typo). Also set fallback=allow so that libvirt knows it can use another CPU model if it wants. This fixes commit 890a4fbc8740b9b2019885a866aa06bc82566a41.
* daemon: Mark some functions as attribute((noreturn)).Richard W.M. Jones2012-10-251-2/+2
|
* fish: Fix test-events.sh because of new debug message.Richard W.M. Jones2012-10-241-1/+1
| | | | | | Commit 2e90f4312928f332f8997b52be3fe54f20920242 added a debug message which isn't filtered out by the set of grep -v's in this test. Therefore this test would fail when run with LIBGUESTFS_DEBUG=1.
* resize: Depend explicitly on Unix module.Richard W.M. Jones2012-10-221-1/+1
| | | | | | | | | Commit a0722c7ad846960be54978a31ebe73b76e119203 introduced a dependency on the Unix module. This was not listed in the list of '-package's, but as long as you had ocaml-gettext installed it would still work because that pulled in Unix implicitly. Thanks Olaf Hering.
* Version 1.19.53.1.19.53Richard W.M. Jones2012-10-1920-24874/+27110
|
* filearch: Use command mini-library to run external cpio command.Richard W.M. Jones2012-10-181-8/+14
|
* fuse: Use command mini-library to run the fusermount command.Richard W.M. Jones2012-10-181-61/+28
|
* info: Use command mini-library to run 'qemu-img info' commands.Richard W.M. Jones2012-10-181-133/+91
|