summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* virt-df: Add newlines after error messages.Richard W.M. Jones2012-05-141-6/+6
| | | | (cherry picked from commit 9e2cdd309b709ee1e88269ee3252768515bf56ad)
* virt-make-fs: Use mount instead of mount_options.Richard W.M. Jones2012-05-141-1/+1
| | | | (cherry picked from commit 93734c78d8f802fbd80418e6ddb333b21f060fa9)
* virt-make-fs: Fix filesystem type check when estimating ntfs.Richard W.M. Jones2012-05-141-1/+1
| | | | (cherry picked from commit e60556d92725289a26ccb406c9c94be32b3251c8)
* perl: Don't fail if 'type' (disk format) attribute is missing in libvirt XML ↵Richard W.M. Jones2012-05-141-1/+5
| | | | | | | | | | | | | | | | | | | | | (RHBZ#701814). Old versions of libvirt allowed you to define disks like this: <disk type='file' device='disk'> <driver name='qemu'/> ... Since the <driver> element does not have a 'type' attribute (which defines the format), we are supposed to do autodetection, so the format should be undefined. However what actually happened was that the code in Sys::Guestfs::Lib::open_guest received format as an empty string from the xpath query, causing libguestfs to give an error. If the xpath query returns the format as an empty string, undefine it. (cherry picked from commit f072a21f3aef6779aaa77329578ae3677a685d85)
* fish: Move 'feature_available' function to global.Richard W.M. Jones2012-05-143-20/+20
| | | | | This is just code motion. (cherry picked from commit 79bf966ceaa3508698f19bdc951ffc51693eb499)
* Version 1.16.21.1.16.21Richard W.M. Jones2012-05-0120-2827/+2750
|
* doc: Rewrite description section in man page guestfs(3).Richard W.M. Jones2012-05-011-31/+12
| | | | | | Make the introduction in the man page shorter and punchier, so it leads readers directly to other pages of interest. (cherry picked from commit 922052c70fdc66859c78bbc89a7817aad141862a)
* configure: Comment fix.Richard W.M. Jones2012-05-011-2/+2
| | | | (cherry picked from commit 79822d46e3d7785ae7b02272e6661f15a61f4b5e)
* Move 'libguestfs.pc' (pkgconfig file) to src/ directory.Richard W.M. Jones2012-05-015-8/+8
| | | | | Since it describes the C library, it's better in the src/ directory. (cherry picked from commit bb73cf0941ba9d34eb2ecf82d10ecb5fc5d2362d)
* debug: 'progress' (unsupported debug command) now checks argument is ↵Richard W.M. Jones2012-05-011-1/+5
| | | | | | | reasonable (RHBZ#816839). Thanks Yuyu Zhou. (cherry picked from commit cc798540370658ecc1bba94c4ab4b64485c9bcc6)
* gobject: Fix whitespace in Makefile.am.Richard W.M. Jones2012-05-011-2/+2
| | | | (cherry picked from commit 1f0964536b7c9a4a165e9b041ef0e5340ead7e1f)
* gobject: NFC generated code formatting fixMatthew Booth2012-05-011-1/+1
| | | | (cherry picked from commit a2dc83cf03c3a040e12a3ac33ab6bc99e0faf5c4)
* fish: Add opaque field to the drives list for programs to use.Richard W.M. Jones2012-05-011-0/+5
| | | | | Not used at present. (cherry picked from commit 39d79e677b684dfd49c852ee7ce4c4bf3d5cf56f)
* appliance: Remove some unnecessary errors.Richard W.M. Jones2012-05-011-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. (cherry picked from commit beaa5288558fc78304bcd008b9254ae2725017f2)
* tests: Add some more substantial test data.Richard W.M. Jones2012-05-013-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. (cherry picked from commit 12c5394d4cb379890c9c69c16d1d735674a2e80d)
* generator: Add explicit types to pod memoization code.Richard W.M. Jones2012-05-011-3/+7
| | | | | This is just code motion. (cherry picked from commit 37a3cdbc139167d7b77d84a761f681595ff7fc23)
* Version 1.16.20.1.16.20Richard W.M. Jones2012-04-2420-394/+456
|
* build: Change comment above OCaml tools.Richard W.M. Jones2012-04-241-1/+1
| | | | (cherry picked from commit 97ef9afca77ee81a6c0d1a30cf4d367d7cefa2e3)
* guests: Add /etc/shadow file to fedora.img.Richard W.M. Jones2012-04-241-0/+5
| | | | | This is used for testing file permissions and SELinux contexts. (cherry picked from commit 03d321d0225512bdcd136ac7cb086c0b292a9c09)
* tests: Space before parens in perl code.Richard W.M. Jones2012-04-241-77/+77
| | | | (cherry picked from commit c844a38d6e6990af00506afb434a6f7b40e5259f)
* maint: fix doc typosJim Meyering2012-04-243-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. (cherry picked from commit e97b6a1bb15e8cad319dceff53c58f8267e8152f)
* Remove obsolete valgrind rule from C API tests.Richard W.M. Jones2012-04-241-5/+0
| | | | (cherry picked from commit c253c69d0955242e5f23dc194ddbaf34764f79f7)
* extra-tests: Check if valgrind supports --vgdb=no option.Richard W.M. Jones2012-04-242-3/+17
| | | | | This option didn't exist in RHEL 6 valgrind. (cherry picked from commit 58a5b5bd944655b028c915a91dad2220176986db)
* Check library still compiles without libvirt.Richard W.M. Jones2012-04-242-0/+4
| | | | (cherry picked from commit 5d6a323b9358bb01233681b784fa67414a5d2c6d)
* sparsify: Add a note about sparsify on tmpfs.Richard W.M. Jones2012-04-241-0/+8
| | | | (cherry picked from commit b0b5fdc69f6ee831f325760f95a164627b499f77)
* Don't abort inspection if mdadm.conf ARRAY doesn't have a uuidMatthew Booth2012-04-241-1/+1
| | | | (cherry picked from commit 4542401fee7a141204baea98dcdc9fa557878f85)
* Version 1.16.19.1.16.19Richard W.M. Jones2012-04-1718-35/+43
|
* 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. (cherry picked from commit 255882a3f615c7727d2cc2f18f692513dc0a75e9)
* resize, sparsify: Add a simple-minded check to stop indisk = outdisk.Richard W.M. Jones2012-04-172-0/+12
| | | | (cherry picked from commit 84d450210b3ea01de3fe26b2cf1db2b492d77aec)
* 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. (cherry picked from commit 8d3d5a52d2746af91f770608cce5f47462f33aba)
* Version 1.16.18.1.16.18Richard W.M. Jones2012-04-1318-26/+27
|
* extra-tests: ocaml: Use a short delay instead of Thread.yield.Richard W.M. Jones2012-04-131-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). (cherry picked from commit 5b414f581f1e40f91e44914776b119ce3ef6594c)
* extra-tests: Add suppression for memory leak in FUSE.Richard W.M. Jones2012-04-131-0/+9
| | | | (cherry picked from commit a97e9429ea888b4732bbbcfdd85b9368dd6ef96c)
* inspector: Update example XML.Richard W.M. Jones2012-04-131-0/+1
| | | | (cherry picked from commit 681377f1b274cba0a4881ad18ccf200b9a014e94)
* inspection: Remove spurious warning for Ubuntu 10.04 with encrypted swap ↵Richard W.M. Jones2012-04-132-1/+4
| | | | | | (RHBZ#811872). (cherry picked from commit 96b6504b09461aeb6850bb2e7b870a0a4c2f5edf)
* inspector: Fix incorrect arch in example-ubuntu.xml.Richard W.M. Jones2012-04-131-1/+1
| | | | (cherry picked from commit a996f0d370d883374dbe2448f57b72966d20514e)
* Version 1.16.17.1.16.17Richard W.M. Jones2012-04-1120-195/+212
|
* docs: Add libguestfs-test-tool(1) to guestfs(3) man page.Richard W.M. Jones2012-04-111-1/+2
| | | | | Cherry picked from commit 307e8bc51a7416fa62ec43568cb8ba1876490a62 and modified to make it appropriate for the stable-1.16 branch.
* 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. (cherry picked from commit 3e164f15b77230b0961048893d03ec588fc8ab0e)
* 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 (cherry picked from commit de2dc9f71dd284e033e999a4d0541848a7201b02)
* python: Add a regression test for RHBZ#811650.Richard W.M. Jones2012-04-111-0/+29
| | | | (cherry picked from commit b6dd7e72500cbfa4e13379b9f2b1d0ccfa7ebec3)
* 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. (cherry picked from commit 0f7de2279a4af0bb259c9e36fca5e5c3aa835301)
* 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 (cherry picked from commit f237ae2ad61ad583e5eacf5759b25c32bb7538a1)
* extra-tests: Disable valgrind vgdb.Richard W.M. Jones2012-04-111-1/+2
| | | | | This leaves files called 'vgdb-pipe-*' in . (cherry picked from commit b10a3d718e4ff8957e8af4afafcd1680c386ad33)
* Version 1.16.16.1.16.16Richard W.M. Jones2012-04-1019-31/+38
|
* sysprep: Allow hwaddr to be removed on other Red Hat derivatives (RHBZ#811117).Qin Guan2012-04-101-2/+2
| | | | | | | | | Allow hostname to be set on other Red Hat derivatives (RHBZ#811112). Since virt-sysprep has been rewritten on the development branch, this is a new patch based on commit 5e054f873198b83947de328777d9ced3bfa39ad5 and commit 60b87d0a5c97a458cefb6c5d31eeede7709f5a3d.
* 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 (cherry picked from commit f2ac7c18a775dc10c3fa502f3de5ad01faa0efea)
* 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. (cherry picked from commit 418a048215b17dcf1f0c74693831306cbcf0f194)
* debian: Suggest 'apt-get build-dep' to install dependencies.Richard W.M. Jones2012-04-061-3/+10
| | | | (cherry picked from commit 4b86f1ad03f617e60f68be6153ca75baaaedf754)
* Version 1.16.15.1.16.15Richard W.M. Jones2012-04-0318-75/+74
|