summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Version 1.17.31.1.17.31Richard W.M. Jones2012-04-1520-17936/+20054
|
* New APIs for reading and writing ext2 file attributes and file generation.Richard W.M. Jones2012-04-136-6/+392
| | | | | | | | | | | | The new APIs are: get-e2attrs: List ext2 file attributes of a file. set-e2attrs: Set or clear ext2 file attributes of a file. get-e2generation: Get ext2 file generation of a file. set-e2generation: Set ext2 file generation of a file. These are implemented using the lsattr and chattr programs from e2fsprogs.
* todo: Remove obsolete sections from the TODO file.Richard W.M. Jones2012-04-131-174/+0
|
* sysprep: Make the tests run quietly.Richard W.M. Jones2012-04-132-3/+3
|
* sysprep: bash_history: fix copyrightWanlong Gao2012-04-131-1/+1
| | | | Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* sysprep: remove .ssh directory in users' directoryWanlong Gao2012-04-133-1/+48
| | | | | | | Remove the .ssh directory of user "root" and any other users who have a .ssh directory in their home directory. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* Version 1.17.30.1.17.30Richard W.M. Jones2012-04-1318-23/+20
|
* tests: Fix reference to guestfish in test for RHBZ#811649.Richard W.M. Jones2012-04-131-1/+1
| | | | This fixes commit a9bd90abfb3d4519278dfff305b8b7033ae6d76a.
* Version 1.17.29.1.17.29Richard W.M. Jones2012-04-1220-422/+445
|
* Add regression test to test funny filenames (RHBZ#811649).Richard W.M. Jones2012-04-122-0/+50
|
* lib: Escape , as ,, on qemu command line (RHBZ#811649).Richard W.M. Jones2012-04-121-3/+16
|
* lib: Remove check_path function, limitation is colon, not comma (RHBZ#811649).Richard W.M. Jones2012-04-121-12/+8
| | | | | | | | | | | | | | | Remove the bogus check_path function and move the functionality into the two places where it was being used. qemu -cdrom , works fine, I tested it. Colon cannot be used in a block device filename anywhere, since the qemu block driver interprets it as a prefix. There is no known way to work around this problem. I checked this is true with kwolf. Comma is fine in -drive options, provided it is escaped by doubling it.
* Revert "launch: don't add a drive twice"Richard W.M. Jones2012-04-121-19/+2
| | | | This reverts commit be47b66c3033105a2b880dbc10bfc2b163b7eafe.
* extra-tests: Add suppression for memory leak in FUSE.Richard W.M. Jones2012-04-121-0/+9
|
* extra-tests: ocaml: Use a short delay instead of Thread.yield.Richard W.M. Jones2012-04-121-1/+2
| | | | | | On the new faster computer, Thread.yield wasn't yielding, so the second thread would block the main test from proceeding (only when run under valgrind however).
* inspector: Update example XML.Richard W.M. Jones2012-04-121-0/+1
|
* inspection: Remove spurious warning for Ubuntu 10.04 with encrypted swap ↵Richard W.M. Jones2012-04-122-1/+4
| | | | (RHBZ#811872).
* inspector: Fix incorrect arch in example-ubuntu.xml.Richard W.M. Jones2012-04-121-1/+1
|
* sysprep: remove the bash history of usersWanlong Gao2012-04-122-0/+48
| | | | | | | Remove the bash history of users in home directory, and history of root. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* website: typo: guestfs-performance.3 -> guestfs-performance.1Richard W.M. Jones2012-04-121-1/+1
|
* Version 1.17.28.1.17.28Richard W.M. Jones2012-04-1120-754/+2183
|
* New man page: guestfs-performance(1).Richard W.M. Jones2012-04-119-142/+1127
| | | | This contains tips for engineering libguestfs for greatest performance.
* docs: Add libguestfs-test-tool(1) and libguestfs-make-fixed-appliance(1) to ↵Richard W.M. Jones2012-04-111-1/+3
| | | | | | guestfs(3) man page. Inexplicably these were not included before.
* po-docs: Allow parallel builds in po-docs directory.Richard W.M. Jones2012-04-113-6/+17
| | | | | | | The first time the directory is checked out from git, there are no *.pod files. In a parallel build, the first thread notices this and runs the 'make -C .. update-po' rule, but the other threads also try to run at the same time and fail.
* po-docs: No need to touch virt-sysprep.1 output file.Richard W.M. Jones2012-04-112-2/+0
|
* extra-tests: Add suppression for libvirt/gnutls leak.Richard W.M. Jones2012-04-111-1/+12
| | | | https://www.redhat.com/archives/libvir-list/2012-April/msg00322.html
* python: Add a regression test for RHBZ#811650.Richard W.M. Jones2012-04-111-0/+29
|
* launch: Set error when qemu fails early during launch (RHBZ#811650).Richard W.M. Jones2012-04-111-1/+4
| | | | | This caused the Python bindings (and probably others) to segfault because guestfs_last_error(g) would return NULL.
* python: Add PYTHONPATH to './run' script.Richard W.M. Jones2012-04-112-7/+16
| | | | | | | Also: - tidy up the script - use the ./run script when running Python tests
* sysprep: Sort and align all arguments (thanks Wanlong Gao).Richard W.M. Jones2012-04-111-4/+8
|
* sysprep: Make a common Utils.compare_command_line_args function.Richard W.M. Jones2012-04-113-4/+10
| | | | | This isn't quite code motion, since the new function also ignores case (which previously we didn't ignore).
* sysprep: Move skip_dashes function into Utils module.Richard W.M. Jones2012-04-113-12/+21
| | | | | This is mostly code motion, but I also changed the function to use String.unsafe_get and raise Invalid_argument on failure.
* sysprep: Add utils.mli (interface) file.Richard W.M. Jones2012-04-111-0/+39
|
* sysprep: Print some logging by default.Richard W.M. Jones2012-04-114-6/+23
| | | | | | | | | | | | | | | | | | | | | | | | | It can be disabled using the --quiet option. The logging looks like: Examining the guest ... Performing "cron-spool" ... Performing "dhcp-client-state" ... Performing "dhcp-server-state" ... Performing "hostname" ... Performing "logfiles" ... Performing "mail-spool" ... Performing "net-hwaddr" ... Performing "random-seed" ... Performing "rhn-systemid" ... Performing "script" ... Performing "smolt-uuid" ... Performing "ssh-hostkeys" ... Performing "udev-persistent-net" ... Performing "utmp" ... Performing "yum-uuid" ... Reviewed-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* extra-tests: Disable valgrind vgdb.Richard W.M. Jones2012-04-101-1/+2
| | | | This leaves files called 'vgdb-pipe-*' in .
* Version 1.17.27.1.17.27Richard W.M. Jones2012-04-1019-316/+323
|
* sysprep: Allow hwaddr to be removed on other Red Hat derivatives (RHBZ#811117).Qin Guan2012-04-101-1/+1
|
* sysprep: Allow hostname to be set on other Red Hat derivatives (RHBZ#811112).Qin Guan2012-04-101-1/+1
|
* Use posix_fadvise when uploading or downloading files.Richard W.M. Jones2012-04-092-0/+18
| | | | | But ignore it if the call fails, since the file descriptor could be a non-file (eg. /dev/stdout).
* Fix libguestfs-make-fixed-appliance --help option so it displays usage.Richard W.M. Jones2012-04-091-1/+3
| | | | Previously it printed 'Internal error!'
* gobject: Remove guestfs-gobject.c from POTFILES.in.Richard W.M. Jones2012-04-061-1/+0
| | | | | This file no longer exists after the sources were split across multiple files for the benefit of gtk-doc.
* tests: Fix guest building so parallel 'make -jN check' works.Richard W.M. Jones2012-04-066-29/+34
| | | | | | | | | | | | | | | | This means renaming various temporary files (eg. fstab.tmp) that several of the scripts were using so they don't conflict (eg. fstab.tmp.$$). Also the rule: fedora-md1.img fedora-md2.img: guest-aux/make-fedora-img.pl causes the script to run twice in parallel when using 'make -jN'. Replace this with a stamp file so it runs once: fedora-md1.img fedora-md2.img: stamp-fedora-md.img stamp-fedora-md.img: guest-aux/make-fedora-img.pl
* tests: Don't print "4" when running make-windows-img.shRichard W.M. Jones2012-04-061-1/+1
| | | | | The return value of the pwrite-device command -- 4 (bytes) -- is printed out. Hide it instead.
* fuse: Add missing #include to guestmount.cMatthew Booth2012-04-041-0/+1
| | | | Fix compilation failure on F17