summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gobject: Move headers into a subdirectoryMatthew Booth2012-04-267-137/+144
| | | | | | | | | The gobject bindings generate a large number of header files, which pollute /usr/include when installed. This patch moves them all into a guestfs-gobject/ subdirectory. guestfs-gobject.h remains in the same place. This change also moves generated source files into src/, because it makes the gobject directory a bit tidier.
* btrfs: Fix docs for btrfs_subvolume_set_default (thanks Matt Booth).Richard W.M. Jones2012-04-261-1/+1
| | | | This fixes commit 87ea7a04094d5ed40f3f047ff2b7a613d4d530d4.
* gobject: Implement libguestfs events as signalsMatthew Booth2012-04-262-1/+220
| | | | | | | | | | Implement libguestfs events as GObject signals. Callback arguments are passed in a boxed object. Note that this patch fixes the length of the uint64_t array in the callback arguments at 16, whereas it is actually arbitrary length. This is to make it introspectable. There is currently no way to pass an arbitrary length array to a callback, and have its type introspected.
* gobject: Wrap literal sections in POD in CDATA sectionsMatthew Booth2012-04-261-0/+5
|
* gobject: NFC generated code formatting fixMatthew Booth2012-04-261-1/+1
|
* rescue: Add --scratch option.Richard W.M. Jones2012-04-262-0/+121
| | | | This lets you create temporary scratch disks.
* fish: Add opaque field to the drives list for programs to use.Richard W.M. Jones2012-04-261-0/+5
| | | | Not used at present.
* Version 1.17.35.1.17.35Richard W.M. Jones2012-04-2520-20077/+22286
|
* appliance: Remove some unnecessary errors.Richard W.M. Jones2012-04-251-2/+4
| | | | | | | | | | | | virt-rescue prints errors such as: rm: cannot remove `/proc': Is a directory mkdir: cannot create directory `/proc': File exists rm: cannot remove `/sys': Is a directory mkdir: cannot create directory `/sys': File exists People have reported these errors (which are nothing to worry about) as bugs in the past, so avoid them where possible.
* btrfs: Enhance the btrfs device test.Richard W.M. Jones2012-04-251-2/+37
| | | | This enhances commit 87ea7a04094d5ed40f3f047ff2b7a613d4d530d4.
* tests: Add some more substantial test data.Richard W.M. Jones2012-04-253-0/+2
| | | | | | | | | | | | | The two tarballs: 8252 bytes tests/data/filesanddirs-10M.tar.xz 41152 bytes tests/data/filesanddirs-100M.tar.xz contain, as their names suggest, highly compressed files and directories, with unpacked size respectively around 10M and 100M (the precise size after unpacking depends on the filesystem). These can be used for testing purposes.
* btrfs-device-delete: Use correct (sysroot-prefixed) path to filesystem.Richard W.M. Jones2012-04-252-4/+4
| | | | This fixes commit 87ea7a04094d5ed40f3f047ff2b7a613d4d530d4.
* New btrfs APIs.Richard W.M. Jones2012-04-2513-1/+678
| | | | | | | | | | | | | | | | Bind the easy parts of the 'btrfs' program. The new APIs are: btrfs-device-add: add devices to a btrfs filesystem btrfs-device-delete: remove devices from a btrfs filesystem btrfs-filesystem-sync: sync a btrfs filesystem btrfs-filesystem-balance: balance a btrfs filesystem btrfs-subvolume-create: create a btrfs snapshot btrfs-subvolume-delete: delete a btrfs snapshot btrfs-subvolume-list: list btrfs snapshots and subvolumes btrfs-subvolume-set-default: set default btrfs subvolume btrfs-subvolume-snapshot: create a writable btrfs snapshot
* btrfs: Modify mkfs-btrfs API so it takes a list of devices.Richard W.M. Jones2012-04-252-8/+20
| | | | | | | btrfs filesystems can span multiple filesystems. Note this changes the API, but this API has not yet been released in a stable version of libguestfs.
* TODO: remove sssd and samba in sysprepWanlong Gao2012-04-251-3/+0
| | | | | | remove the TODO of sssd and samba in sysprep. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* sysprep: fix typo of the objectWanlong Gao2012-04-251-3/+3
| | | | | | | Fix the typo of the OBJECT. I'm sorry for the copy and paste typo. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* sysprep: remove the db and log of sambaWanlong Gao2012-04-252-0/+54
| | | | | | Remove the db and log of samba. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* sysprep: remove the db and log of sssdWanlong Gao2012-04-252-0/+52
| | | | | | Remove the db and log of sssd. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* todo: Suggest 'virt-customize' tool.Richard W.M. Jones2012-04-241-1/+10
|
* todo: Debian APT cache is now removed (thanks Wanlong Gao).Richard W.M. Jones2012-04-241-1/+0
| | | | This updates commit 7fc7c3aa5b8088abc52b5cc39b682cdaedd1ba84.
* bugs: Update BUGS file.Richard W.M. Jones2012-04-241-0/+6
|
* bugs: Print count of bugs in each section.Richard W.M. Jones2012-04-241-0/+11
|
* generator: Add explicit types to pod memoization code.Richard W.M. Jones2012-04-241-3/+7
| | | | This is just code motion.
* Version 1.17.34.1.17.34Richard W.M. Jones2012-04-2420-157/+295
|
* sysprep: remove the cache of package managerWanlong Gao2012-04-242-0/+47
| | | | | | | | | Remove the cache of package manager like yum and apt. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> RWMJ: - Small code cleanup.
* sysprep: flag the system for reconfigurationWanlong Gao2012-04-233-2/+44
| | | | | | | | | | Flag the system for reconfiguration by touching /.unconfigured . Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> RWMJ: - Updated so this is disabled by default, since it requires user intervention at next boot.
* sysprep: remove user accountsWanlong Gao2012-04-232-0/+72
| | | | | | | | | | | | Remove user accounts from /etc/passwd, /etc/group, /etc/shadow, and the home directory of the user, except the root user. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> RWMJ: - Updated to use Augeas to delete accounts. - Disable this by default, since it is very invasive.
* Version 1.17.33.1.17.33Richard W.M. Jones2012-04-2220-963/+1276
|
* sysprep: Don't enable every option by default.Richard W.M. Jones2012-04-2120-64/+148
| | | | | | | | | | All current operations are enabled by default. Also: * The POD description is split into a heading and the description body. * An 'enabled_by_default' flag is added to the structure.
* build: Change comment above OCaml tools.Richard W.M. Jones2012-04-211-1/+1
|
* guests: Add /etc/shadow file to fedora.img.Richard W.M. Jones2012-04-211-0/+5
| | | | This is used for testing file permissions and SELinux contexts.
* tests: Space before parens in perl code.Richard W.M. Jones2012-04-211-77/+77
|
* Update release notes.Richard W.M. Jones2012-04-191-36/+63
|
* configure: Test for tgetent, tputs and 'UP' symbols (from libtinfo).Richard W.M. Jones2012-04-191-0/+14
|
* maint: fix doc typosJim Meyering2012-04-183-5/+5
| | | | | | | Fix typos spotted by http://github.com/lyda/misspell-check. * configure.ac: As above. * ocaml/examples/guestfs-ocaml.pod: Likewise. * fish/guestfish.pod: Likewise.
* Remove obsolete valgrind rule from C API tests.Richard W.M. Jones2012-04-181-5/+0
|
* extra-tests: Check if valgrind supports --vgdb=no option.Richard W.M. Jones2012-04-182-3/+17
| | | | This option didn't exist in RHEL 6 valgrind.
* Check library still compiles without libvirt.Richard W.M. Jones2012-04-183-0/+6
|
* sparsify: Add a note about sparsify on tmpfs.Richard W.M. Jones2012-04-181-0/+8
|
* Don't abort inspection if mdadm.conf ARRAY doesn't have a uuidMatthew Booth2012-04-181-1/+1
|
* Version 1.17.32.1.17.32Richard W.M. Jones2012-04-1720-1250/+1517
|
* python: Remove 'del g' from the docs, replace with 'g.close ()'.Richard W.M. Jones2012-04-174-4/+4
| | | | | | | | | 'del g' is a trap for the unwary. If the handle has any other references, it does nothing (in fact, it can be actively dangerous if the user was expecting the appliance to go away). In non-CPython it can be delayed arbitrarily long. Using 'g.close()' on the other hand is always safe.
* todo: Note about -cpu host.Richard W.M. Jones2012-04-171-0/+5
|
* virt-alignment-scan: Fix error code.Richard W.M. Jones2012-04-171-2/+2
| | | | This fixes commit fb401ebff837f9df7c06acb8467b2c03d5b8ced0.
* resize, sparsify: Add a simple-minded check to stop indisk = outdisk.Richard W.M. Jones2012-04-172-0/+12
|
* sparsify: Fix comma/colon and quoting in qemu-img command.Richard W.M. Jones2012-04-172-12/+27
| | | | | | | | | | Colon characters are not allowed in qemu/qemu-img filenames. There's no way to quote them. Comma characters CAN be used. However they must be quoted (by doubling) when used in the '-o' option. Fix general quoting problems in the external command.
* virt-alignment-scan: Add ability to list all domains.Richard W.M. Jones2012-04-176-25/+447
| | | | | | | | | | The output looks like this: F16x64:/dev/sda1 1048576 1024K ok F16x64:/dev/sda2 2097152 2048K ok F16x64:/dev/sda3 526385152 2048K ok If the --uuid option is used, then UUIDs are shown instead of names.
* gitignore: Move cscope.out to second section.Richard W.M. Jones2012-04-161-1/+1
| | | | This fixes commit 3c843e2129d7ce2d6b9bbc6c294cacf7385aa5e3.
* .gitignore: cscope.out isn't always at the top-levelMatthew Booth2012-04-161-1/+1
|
* fuse: Improve reporting in mount-local when verbose is enabled.Richard W.M. Jones2012-04-161-3/+10
|