summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Version 1.16.24.1.16.24Richard W.M. Jones2012-06-0119-244/+447
|
* build: Temporarily disable generation of 'BUGS' file.Richard W.M. Jones2012-06-011-2/+2
| | | | | Red Hat Bugzilla is broken: RHBZ#823510. (cherry picked from commit 91f3456244e7843768da659e24ce0aeeb4ebe4b0)
* appliance: 'udevd' has been renamed, since it joined systemd.Richard W.M. Jones2012-06-011-28/+29
| | | | (cherry picked from commit a7868dd3c940b6cee0894e6033ba611f01a423dd)
* appliance: Move udev (common package name) to the common section.Richard W.M. Jones2012-06-011-3/+1
| | | | | This should be just code motion. (cherry picked from commit a7e4a6c692554e4207b3bdff65946427e66e9fce)
* trace: Fix escaping of non-printable signed characters.Richard W.M. Jones2012-06-011-1/+1
| | | | (cherry picked from commit fba81add94cde015afe8a65245cb4e60a1d3e6bf)
* inspection: Don't fail if /etc/HOSTNAME or /etc/hostname are empty files ↵Richard W.M. Jones2012-06-012-4/+24
| | | | | | | | | | | | | | | | | | | (RHBZ#823821). Change guestfs___first_line_of_file so that if the file is empty this returns an empty string instead of an error. This is consistent with the behaviour of this function in the case where the file starts with a \n character, where it would previously have returned an empty string. Change all callers so that they handle this case. Then change the hostname parsing code so that it doesn't give up when /etc/HOSTNAME is empty, but falls through to the next alternative, and similarly for /etc/hostname. Thanks Todd Mummert for finding and diagnosing this bug. (cherry picked from commit f00066d22b11bf40d0272f68565a2a27fea15627)
* inspection: Use parse_release_file to parse ttylinux release file.Richard W.M. Jones2012-06-011-2/+1
| | | | | | | | | | parse_release_file should be used to set fs->product_name, instead of calling guestfs___first_line_of_file directory, although currently the two are equivalent. This is code motion and fixes commit b648b1813fc8e55db790435b5414d9be3ec765d2. (cherry picked from commit cffb7fefc88a317f957785f6448fb24183c8c629)
* fish/mount: Add better error message when -m (mount) fails (RHBZ#824043).Richard W.M. Jones2012-06-012-7/+16
| | | | (cherry picked from commit ee9ab52bc3e087f63dcc51d3b6ac5c79277425e1)
* fish: Remove inaccurate comment from code.Richard W.M. Jones2012-06-011-4/+0
| | | | (cherry picked from commit 216a6d16abdfbc36a5514df34f59507ef825e33e)
* virt-make-fs: When writing vfat, add utf8 option to mount (RHBZ#823885).Richard W.M. Jones2012-06-011-1/+10
| | | | (cherry picked from commit d5d9ceee8b56a10761e207ad9970ebf704fc46e8)
* virt-make-fs: Provide a clearer error message when mkfs fails (RHBZ#823883).Richard W.M. Jones2012-06-011-1/+13
| | | | (cherry picked from commit 975a41db20eff2b5edf510f8a65005c915b21f27)
* appliance: Include 'bzip2' in appliance (RHBZ#824716).Richard W.M. Jones2012-06-011-0/+1
| | | | | | | | | Missing package caused this error in compress-device-out: libguestfs: error: compress_device_out: compression type bzip2 is not supported Thanks Mohua Li. (cherry picked from commit f904fa822316ff793e71d4d4ff7dc79e608dcb25)
* java: Remove unnecessary imports from the generated Java code.Richard W.M. Jones2012-06-011-8/+0
| | | | (cherry picked from commit 54028b9b669cfe495089a7652bb8cd06115f4907)
* Version 1.16.23.1.16.23Richard W.M. Jones2012-05-1818-20/+26
|
* virt-ls: Don't initialize path = NULL.Richard W.M. Jones2012-05-181-1/+1
| | | | (cherry picked from commit 88a854cf7fd80ce4a6c6c3ded3aaaa3c135a1964)
* virt-ls: Fix --checksum option (RHBZ#822490).Richard W.M. Jones2012-05-181-1/+2
| | | | (cherry picked from commit 32765e440cee03bb7b89d1aa58c7dea4f55458c8)
* doc: Add notes on how GPT works on 4k sector disks.Richard W.M. Jones2012-05-182-3/+16
| | | | | | | | | | I used scsi_debug to create a 4k sector virtual disk: modprobe scsi_debug dev_size_mb=128 sector_size=4096 I then used 'gdisk' to create lots of partitions, and used 'hexdump' to examine what was written to disk. (cherry picked from commit 2fd2c85f6a42575749b9d38bd2f1512ae25db760)
* Version 1.16.22.1.16.22Richard W.M. Jones2012-05-1420-916/+928
|
* examples: Add if HAVE_HIVEX ... endif around virt_dhcp_address example.Richard W.M. Jones2012-05-141-0/+2
| | | | (cherry picked from commit 7201a48d18d03bf3b16141bcff8c56e842d3b1c1)
* qemu: Move -nodefaults etc logically together.Richard W.M. Jones2012-05-141-13/+16
| | | | | | This is just code motion. (cherry picked from commit 157f6fb18b7197f688ea761a4e52cd39287024f2)
* arm: Set minimum LIBGUESTFS_MEMSIZE at 128.Richard W.M. Jones2012-05-141-1/+1
| | | | | | | | | For ARM Versatile ("versatilepb") architecture, memsize must be set to 256 (megabytes) else the appliance is unable to boot. Previously setting LIBGUESTFS_MEMSIZE=256 was not allowed. Versatile Express has larger limits. (cherry picked from commit a3718c6b8be9bcbfd1e753c699f030d1852bc26e)
* configure: Fix valgrind --vgdb test.Richard W.M. Jones2012-05-141-1/+1
| | | | (cherry picked from commit 77afc92fcd08677f9a9ae3b4f6c6919eb8ec2b33)
* configure: Add a comment about vmchannel_test.Richard W.M. Jones2012-05-141-2/+5
| | | | (cherry picked from commit 0e960614ab0f7d878347d74229ffbb69a4a05540)
* configure: Allow systemtap/DTrace userspace probes to be disabled.Richard W.M. Jones2012-05-142-5/+15
| | | | | | | | | | './configure --disable-probes' will disable these probes. Otherwise they are autodetected as before. The <sys/sdt.h> produces lots of errors when you try to compile with these probes enabled under clang, so it is necessary to provide a way to disable them for clang users. (cherry picked from commit a1680f03b7d38bf007d29ac23035e5af33736b0e)
* test-tool: Implement -V / --version option.Richard W.M. Jones2012-05-142-18/+34
| | | | (cherry picked from commit dd23234f730db7add330bd06f87cab1f08654747)
* 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)