summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* tests/9p: Add test to EXTRA_DIST.1.19.29Richard W.M. Jones2012-08-111-0/+2
| | | | This fixes commit 499497fab03716278cb5214a8aa89a35618e06c6.
* Version 1.19.29.Richard W.M. Jones2012-08-1121-17597/+31635
|
* sysprep: remove the process accounting log filesWanlong Gao2012-08-114-3/+63
| | | | | | | | | | We just remove the process accounting files previously without touch a empty file, this will cause psacct runs error. Restart the service can't help us create this file auto. couldn't open file '/var/account/pacct': No such file or directory Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* xfs: fix a possible memory leakWanlong Gao2012-08-111-0/+1
| | | | | | free out when failure. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* Fix typo in release notes.Wanlong Gao2012-08-112-2/+2
| | | | | | Fix typo. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* Convert release notes to a POD file / man page.Richard W.M. Jones2012-08-117-214/+1906
| | | | | Note that we add the text version to git so that it's available for people to read without requiring any special tools.
* New APIs: rsync, rsync-in, rsync-outRichard W.M. Jones2012-08-1111-3/+377
| | | | Implement rsync.
* fish: Add --network option.Richard W.M. Jones2012-08-112-6/+14
| | | | | This enables the libguestfs user network, and is the equivalent of the 'virt-rescue --network' option.
* generator: 'delete' is a reserved word (in C++).Richard W.M. Jones2012-08-111-4/+4
|
* tests/extra: Add workaround for memory leak in libvirt.Richard W.M. Jones2012-08-111-1/+13
| | | | See: https://bugzilla.redhat.com/show_bug.cgi?id=847429
* Update release notes for libguestfs 1.20.Richard W.M. Jones2012-08-041-0/+154
|
* appliance: Add rsync and openssh-client{,s} to the appliance.Richard W.M. Jones2012-08-041-0/+3
| | | | | | This adds ~10M to the appliance (328M -> 338M). However for virt-rescue these are frequently requested tools.
* fuse: guestmount doesn't let you pass '-- [FUSE options]'.Richard W.M. Jones2012-08-031-1/+1
| | | | | | I don't think it ever did, so the --help text was always wrong, and definitely didn't match the real behaviour of the program.
* ruby: Mark all VALUEs as volatile.Richard W.M. Jones2012-08-031-15/+26
|
* fish: Fix 'copy-out /' (RHBZ#845522).Richard W.M. Jones2012-08-031-0/+16
|
* Document problems copying long filenames from NTFS to Linux filesystems ↵Richard W.M. Jones2012-08-031-0/+22
| | | | (RHBZ#845488).
* Version 1.19.28.1.19.28Richard W.M. Jones2012-08-0221-19857/+21028
|
* examples: Use add_drive_opts function in examples.Richard W.M. Jones2012-08-0218-25/+25
| | | | | | | | | | | | In libguestfs 1.20, you will be able to use 'add_drive' instead of 'add_drive_opts' (except in the C bindings). However until libguestfs 1.20 is the minimum stable version people will still be using old versions where you have to use 'add_drive_opts'. This makes the examples confusing. Therefore continue to use 'add_drive_opts' in the examples for now.
* grep: Add optargs to grep API and deprecate fgrep etc.Richard W.M. Jones2012-08-026-27/+146
| | | | | | | | This commit makes grep into an optargs API, with flags for extended, fixed, [case-]insensitive and compressed. At the same time it deprecates: egrep, fgrep, grepi, egrepi, fgrepi, zgrep, zegrep, zfgrep, zgrepi, zegrepi and zfgrepi.
* xfs: add new api xfs-growfsWanlong Gao2012-08-025-3/+144
| | | | | | New api xfs_growfs for expanding a XFS filesystem. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* Revert "appliance: Add '-drive detect-zero=on' flag if qemu supports it."Richard W.M. Jones2012-08-011-2/+1
| | | | This reverts commit fe2253088ff51b51e2586f27a9408a38655170e3.
* Reviewed and revised TODO file.Richard W.M. Jones2012-07-311-3/+12
|
* m4: Sort .gitignore with LANG=C. Also add pipe2.m4 (used by RHEL 6).Richard W.M. Jones2012-07-311-36/+37
|
* build: On x86 search for qemu-system-i386 not qemu-system-i686.Richard W.M. Jones2012-07-311-1/+2
| | | | | host_cpu can be set to i686. The qemu binary is called qemu-system-i386. Apply some sed to fix this.
* build: Allow building with new glibc headers and -O0.Eric Blake2012-07-311-2/+5
| | | | | | This is a patch taken from libvirt. See: http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=2af63b1c349
* 9p: Add a regression test for 9p functionality in qemu.Richard W.M. Jones2012-07-304-0/+80
|
* appliance: Exclude kernel* packages explicitly.Richard W.M. Jones2012-07-301-4/+9
| | | | | febootstrap >= 3.19 will no longer exclude the kernel package by default.
* Version 1.19.27.1.19.27Richard W.M. Jones2012-07-3020-11386/+11849
|
* libguestfs-make-fixed-appliance: Don't reference obsolete development version.Richard W.M. Jones2012-07-301-1/+1
|
* New API: utsnameRichard W.M. Jones2012-07-309-1/+94
| | | | | | | | | | Typical output: ><fs> utsname uts_sysname: Linux uts_release: 3.5.0-1.fc18.x86_64 uts_version: #1 SMP Mon Jul 23 17:43:39 UTC 2012 uts_machine: x86_64
* sysprep: Describe more directly how to use qemu-img for snapshotting.Richard W.M. Jones2012-07-281-14/+24
|
* tests: Consistent use of $(top_builddir)/run --test when building test guests.Richard W.M. Jones2012-07-264-21/+9
|
* build: Use $(top_builddir)/run in Makefile.am's.Richard W.M. Jones2012-07-264-9/+9
| | | | | Not necessary, but this makes all invocations of 'run' consistent. There is no functional change.
* Version 1.19.26.1.19.26Richard W.M. Jones2012-07-2621-14955/+16631
|
* appliance: Add '-drive detect-zero=on' flag if qemu supports it.Richard W.M. Jones2012-07-261-1/+2
| | | | | | | NB: The patch to implement this feature in qemu is not upstream, and may never make it upstream. However this is so useful for virt-sparsify that I decided to add this to libguestfs while we see what qemu decides to do.
* ruby: Allow optional arguments hash to be really optional.Richard W.M. Jones2012-07-261-38/+59
| | | | | | | | | | | | | Allow optargs functions to be called as either: g.mkfs_opts(fs, device) or: g.mkfs_opts(fs, device, { optargs hash }) This also preserves backwards compatibility with once_has_no_optargs functions such as mkfs.
* ruby: In event wrapper, ignore callback functions which have type T_ZOMBIE.Richard W.M. Jones2012-07-261-2/+7
| | | | Note that in old versions of Ruby, T_ZOMBIE was not defined.
* ruby: Set LD_LIBRARY_PATH for Ruby libs in run script.Richard W.M. Jones2012-07-251-0/+1
| | | | | This lets you use './run gdb ruby ...' and get accurate debugging information.
* sparsify: Detect qemu-img version and use qcow2 v3 for overlay if available.Richard W.M. Jones2012-07-251-1/+41
| | | | | | | | | qcow2 v3 is generally more efficient, although unfortunately it doesn't support automatically sparsifying zero writes. Note this *only* uses qcow2 v3 for the intermediate overlay file, not for the final output (since we want the output to be broadly compatible with old hypervisors).
* sparsify: Change code that generates qemu-img -o argument.Richard W.M. Jones2012-07-251-7/+9
| | | | This is just code motion.
* sysprep: Generate new random UUIDs for LVM2 PVs and VGs (thanks Kazuo Moriwaka).Richard W.M. Jones2012-07-254-4/+56
|
* New APIs: pvchange-uuid, pvchange-uuid-all, vgchange-uuid, vgchange-uuid-all.Richard W.M. Jones2012-07-253-1/+147
| | | | | | | | These APIs will allow sysprep to change the UUIDs of all PVs and VGs in the system. LVs don't have UUIDs AFAICT, or at least there seems to be no way to change them if they do have them.
* sysprep: Change perform callback to perform_on_filesystems and ↵Richard W.M. Jones2012-07-2533-40/+115
| | | | | | | | | perform_on_devices. Operations that need to work directly on guest block devices will fail because the block devices are busy. Therefore add a phase with the filesystems unmounted, and allow operations to specify that they need to work in this phase.
* fish: Use minimal permissions when initially creating history fileMatthew Booth2012-07-251-1/+1
|
* sysprep: Tidy up the Makefile.Richard W.M. Jones2012-07-251-60/+12
| | | | This is just code motion.
* sysprep: operation machine-id: return `Created_files.Richard W.M. Jones2012-07-251-1/+1
| | | | | | | This operation can create the /etc/machine-id file, so it may need to be relabelled by SELinux. This fixes commit e68336d72a7d71a44d80f0d13c40ff44653e5c01.
* sysprep: remove the local machine IDWanlong Gao2012-07-254-3/+50
| | | | | | | | | | | remove the local machine ID, leave it empty, let it be generated during next booting. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> RWMJ: - Whitespace change. - Remove completed items from TODO.
* sysprep: remove the auto generated abrt dataWanlong Gao2012-07-253-0/+49
| | | | | | | | | | remove the automatically generated abrt data. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> RWMJ: - Remove copy and pasted line. - Use C<> in description.
* Mac OS X: Use u_int64_t/uint64_t instead of unsigned hyper in .x fileMasami HIRATA2012-07-244-12/+53
| | | | | | | Signed-off-by: Masami HIRATA <msmhrt@gmail.com> RWMJ: Fixed whitespace in generator_xdr.ml
* Mac OS X: Use libtool --mode=execute instead of LD_LIBRARY_PATHMasami HIRATA2012-07-241-8/+8
| | | | | | because Mac OS X doesn't support LD_LIBRARY_PATH Signed-off-by: Masami HIRATA <msmhrt@gmail.com>