summaryrefslogtreecommitdiffstats
path: root/po
Commit message (Collapse)AuthorAgeFilesLines
* Version 1.19.65.1.19.65Richard W.M. Jones2012-11-2915-256/+391
|
* inspection: Read libosinfo database in order to inspect OS install ↵Richard W.M. Jones2012-11-291-0/+1
| | | | CD/DVD/ISOs (RHBZ#803650, RHBZ#805417).
* Version 1.19.64.1.19.64Richard W.M. Jones2012-11-2415-496/+496
|
* appliance: Pass lpj=... on the appliance command line (thanks Marcelo Tosatti).Richard W.M. Jones2012-11-241-0/+1
| | | | | | | | | | | | | | | | | | | | | Try to get the host's loops_per_jiffy value and pass this on the command line to the guest. In theory this should avoid the appliance having to recalculate this value in a VM with TCG (which is generally error-prone). This should avoid timing issues. We only do this when we are certain that the guest will be TCG. Currently we only have enough information to do this from the libvirt attach-method. So mostly this will only affect people using Fedora in a VM. The host loops_per_jiffy value is not exported by the kernel. It is only printed by the kernel early during boot, so if boot messages have "scrolled off" the kernel ring buffer, it won't be available. Some operating systems save early kernel messages in /var/log/dmesg but (a) Fedora 18+ seem to have abandoned this file and (b) on Ubuntu this file is unreadable for spurious "security" reasons. I have submitted a patch to make lpj available through /proc/cpuinfo.
* Version 1.19.63.1.19.63Richard W.M. Jones2012-11-2315-13253/+16635
|
* New APIs: Implement Linux filesystem capabilities.Richard W.M. Jones2012-11-221-0/+1
| | | | | | This adds the following new APIs: - cap_get_file - cap_set_file
* New APIs: Implement POSIX ACLs.Richard W.M. Jones2012-11-221-0/+1
| | | | | | | This adds the following new APIs: - acl_get_file - acl_set_file - acl_delete_def_file
* sysprep: remove crash data generated by kexec-toolsWanlong Gao2012-11-221-0/+1
| | | | | | | | | | Remove the kdump generated kernel crash data. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> RWMJ: - Added /var/log/dump/* path for SLES (thanks Olaf Hering). - Update po/POTFILES-ml.
* Update PO files from transifex.Richard W.M. Jones2012-11-2014-4015/+1203
|
* Version 1.19.62.Richard W.M. Jones2012-11-201-2/+2
|
* Version 1.19.61.1.19.61Richard W.M. Jones2012-11-191-2/+2
|
* Version 1.19.60.1.19.60Richard W.M. Jones2012-11-1715-181/+269
|
* Add Lua bindings.Richard W.M. Jones2012-11-171-0/+1
| | | | | | | | These are relatively complete, although only lightly tested. Missing: - events - last_errno - user_cancel
* Version 1.19.59.1.19.59Richard W.M. Jones2012-11-1315-406/+406
|
* lib: Split up huge src/guestfs.c into logical compilation units.Richard W.M. Jones2012-11-121-1/+6
| | | | | | | | | | | | | | | | | | | This file had grown by accretion to include: - code related to handles (now in src/handle.c) - safe allocation (src/alloc.c) - debug, errors, warnings (src/errors.c) - private data (src/private-data.c) - miscellaneous functions (src/canonical-name.c, src/utils.c) This commit also removes about a dozen #include files which were probably not really used. This is just code motion.
* Version 1.19.58.1.19.58Richard W.M. Jones2012-11-1015-12271/+12541
|
* lib: Rework temporary and cache directory code.Richard W.M. Jones2012-11-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Version 1.19.56.1.19.56Richard W.M. Jones2012-11-0215-11611/+11686
|
* generator: Split up huge src/actions.c into separate files.Richard W.M. Jones2012-11-021-1/+7
| | | | | | | | 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-021-0/+1
| | | | This is just code motion.
* generator: actions: Move 3 helper functions to a separate file.Richard W.M. Jones2012-11-021-0/+1
| | | | This is just code motion.
* lib: Add inspect_list_applications2 method (RHBZ#859949)John Eckersberg2012-11-011-0/+1
| | | | | | 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-3015-46/+46
|
* generator: Move struct-freeing functions to a separate source file.Richard W.M. Jones2012-10-301-0/+1
| | | | This is just code motion.
* Version 1.19.54.1.19.54Richard W.M. Jones2012-10-2915-601/+601
|
* Version 1.19.53.1.19.53Richard W.M. Jones2012-10-1915-12273/+12371
|
* lib: Add a new 'command' mini-library for running external commands.Richard W.M. Jones2012-10-181-0/+1
| | | | | | | | | | | | | This is a wrapper or mini-library for running external command, loosely based on libvirt's virCommand interface. Amongst the advantages are: - Can redirect errors into the error log (RHBZ#713678). - Can redirect output into a callback function. - Handles shell quoting properly. - Safely resets signal handlers, closes file descriptors, etc. - Single place where we can implement other improvements in future.
* NEW API: mktempWanlong Gao2012-10-171-0/+2
| | | | | | | | | | | | | | | | Used to create temporary directory or file with an optional suffix. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> RWMJ: - Split this out into a new file (daemon/mktemp.c). - I don't see a reason to deprecate the mkdtemp function which works fine. Instead remove complex dir-making code from the new function. - Test and fix the patch (missing close(fd)).
* Update PO files from Transifex.Richard W.M. Jones2012-10-1415-12364/+13046
| | | | Also run 'make update-po'.
* New APIs: Model libvirt authentication events through the API.Richard W.M. Jones2012-10-131-0/+1
| | | | | | | | | | | | | | | | | | | | | This commit models libvirt authentication events through the API, adding one new event (GUESTFS_EVENT_LIBVIRT_AUTH) and several new APIs: guestfs_set_libvirt_supported_credentials guestfs_get_libvirt_requested_credentials guestfs_get_libvirt_requested_credential_prompt guestfs_get_libvirt_requested_credential_challenge guestfs_get_libvirt_requested_credential_defresult guestfs_set_libvirt_requested_credential See the documentation and example which shows how to use the new API. This commit also changes existing calls to virConnectOpen* within the library so that the new API is used. Also included is an example (but not a test, because it's hard to see how to automatically test the libvirt API).
* lib: Rename src/libvirtdomain.c -> src/libvirt-domain.c.Richard W.M. Jones2012-10-131-1/+1
| | | | No change, just code motion.
* Version 1.19.51.1.19.51Richard W.M. Jones2012-10-1115-196/+196
|
* sparsify: Re-use progress bar wrapper code from virt-resize.Richard W.M. Jones2012-10-112-5/+3
| | | | | | | | | | | The code was identical -- just copied with s/resize/sparsify/. Instead of duplicating identical code, cause the Makefile.am to use the code from the ../resize/ directory. Unfortunately because there are two Utils modules (which are different), this means we had to rename those modules to Resize_utils and Sparsify_utils respectively. So this is a rather larger change than intended. However it's just code motion.
* Version 1.19.50.1.19.50Richard W.M. Jones2012-10-101-2/+2
|
* Version 1.19.49.Richard W.M. Jones2012-10-0915-11851/+12403
|
* Add support for hotplugging (adding disks) to the libvirt attach-method.Richard W.M. Jones2012-10-081-0/+1
| | | | | | | | | | | | | When libvirt is used, we can allow disks to be hotplugged. guestfs_add_drive can be called after launch to hot-add a disk. When a disk is hot-added, we first ask libvirt to add the disk to the appliance, then we make an internal call into the appliance to get it to wait for the disk to appear (ie. udev_settle ()). Hot-added disks are tracked in the g->drives array. This also adds a test.
* Version 1.19.47.1.19.47Richard W.M. Jones2012-10-0615-1053/+16931
|
* Version 1.19.46.1.19.46Richard W.M. Jones2012-10-0115-16976/+1044
|
* Version 1.19.45.1.19.45Richard W.M. Jones2012-09-2615-586/+586
|
* Version 1.19.44.1.19.44Richard W.M. Jones2012-09-2415-11116/+11311
|
* NEW API:ext:mke2fsWanlong Gao2012-09-241-0/+1
| | | | | | | | | | | New api mke2fs for full configuration of filesystem. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> RWMJ: - Update description. - Run and fix the tests. - Remove bogus filename from po/POTFILES.
* Version 1.19.43.1.19.43Richard W.M. Jones2012-09-2115-515/+605
|
* Version 1.19.42.1.19.42Richard W.M. Jones2012-09-1715-11671/+11731
|
* Version 1.19.41.1.19.41Richard W.M. Jones2012-09-1615-1681/+1681
|
* Version 1.19.40.1.19.40Richard W.M. Jones2012-09-041-2/+2
|
* Version 1.19.39.1.19.39Richard W.M. Jones2012-09-0415-11551/+11986
|
* rescue: Add an expect-driven test for the virt-rescue command.Richard W.M. Jones2012-09-041-0/+1
| | | | | | | | This command was not tested at all. As a result we didn't notice that it was broken for a long time (RHBZ#853159). This adds a test that drives the command through a pty. It uses the perl 'Expect' module, although this is not required.
* Version 1.19.38.1.19.38Richard W.M. Jones2012-09-0315-11296/+11506
|
* New API: guestfs_disk_formatRichard W.M. Jones2012-09-031-0/+1
| | | | Detect the disk image format of a file, in a secure way.