summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* virt-make-fs: Round disk size to integer, fix for qemu-img 0.14.Richard W.M. Jones2011-03-081-0/+2
| | | | | | | | qemu-img used to allow you to specify a fractional image size in bytes (or at least, it used to ignore the part after the decimal place). In qemu-img 0.14 it no longer does this so we round down the size to a whole number of bytes. (cherry picked from commit eda9826d25336bcf661700270c580d4d62128750)
* virt-make-fs: In debug mode, print qemu-img command line.Richard W.M. Jones2011-03-081-0/+3
| | | | (cherry picked from commit 29b3ffdad5d6774f988fd0e25f9c8242e5dd577a)
* Fix inspection code when PCRE or hivex is missing.Richard W.M. Jones2011-03-081-0/+24
| | | | (cherry picked from commit 2b26c7f721fc8ed2e6f64963289981ac286c02aa)
* java: Add a test of g.list_filesystems (a function that returns a Map).Richard W.M. Jones2011-03-081-0/+10
| | | | (cherry picked from commit 21fef55ca4907aa9872754f20320c24c7f8a5fac)
* java: Fix generated functions that return RHashtable.Richard W.M. Jones2011-03-081-15/+30
| | | | | | | | | | Creating a HashMap directly from JNI is possible but very tedious (see: http://java.sun.com/docs/books/jni/html/fldmeth.html#26254) Instead we use the existing code to return hashes from JNI as plain String[], then add some code in the Java wrapper to convert these to HashMap<String,String>. (cherry picked from commit eb54a7ede43d9275f10db6fce1472256550da0eb)
* java: Return Map<String,String> for RHashtable functions.Richard W.M. Jones2011-03-081-1/+2
| | | | | | | | | There's no point returning the specific HashMap type here. Return the generic interface type instead. Note that no users are actually calling these functions yet, since at present they always fail. (cherry picked from commit 0b2e45da609002d44cbbf689cfdee252e6806648)
* java: Fix a minor whitespace error in generated code.Richard W.M. Jones2011-03-081-2/+2
| | | | | | In functions that don't have javadoc, the function prototype wasn't being indented correctly. (cherry picked from commit ec62f1127ec4f8609745f9d08b62c65e0ccbd154)
* java: Remove old test file if one was left around.Richard W.M. Jones2011-03-081-0/+4
| | | | | | | If a test.img file was left over from a previous run, then it would cause the subsequent test to fail. Therefore remove any old test.img file. (cherry picked from commit 80aad709954cc4a3a294200e242876599047cef8)
* java: Enable assertions when doing 'make check'.Richard W.M. Jones2011-03-081-2/+2
| | | | | | | | | | | | It turns out that Java assertions are disabled by default. You have to add the 'java -ea' flag to the JVM. Who knew ..? Because of this oversight, the tests weren't actually performing the assertions that we wanted (although in fact none of the assertions were failing). This change enables assertions when running the tests. (cherry picked from commit db98ac041ec36c4e2ce322d336f5792fa8e6922d)
* daemon: Ignore return value from chdir.Richard W.M. Jones2011-03-081-1/+1
| | | | | This updates commit 7eb012f3710bb554d5fc2c4229036901b0b5ad90. (cherry picked from commit 8d7d7c4ecfd202e04d18736718e9c5bb125ce4f0)
* daemon: change to root directoryRichard W.M. Jones2011-03-081-0/+2
| | | | | Ensure the daemon always starts with current directory == root. (cherry picked from commit 7eb012f3710bb554d5fc2c4229036901b0b5ad90)
* lib: Move appliance launching to separate function.Richard W.M. Jones2011-03-081-14/+24
| | | | | This is just code motion. (cherry picked from commit 99f0d8859fdc8f6c81873d4cdd1c8c780ac25e84)
* php: Ignore another generated file in php/extension directory.Richard W.M. Jones2011-03-081-0/+1
| | | | (cherry picked from commit 5ae752559284efd925fb7959c5760d4fee25f1d6)
* virt-make-fs: Fix typo in man page.Richard W.M. Jones2011-03-081-1/+1
| | | | (cherry picked from commit 0089575d4bd50a7ca55d7c3c8caa8a12ae09d40a)
* perl: Ignore internal_* functions in POD coverage test.Richard W.M. Jones2011-03-081-1/+2
| | | | | This updates commit 1d999540bddd7aea7c2d0fef8b15223d4acc645f. (cherry picked from commit 6975e87153f593fddd5c27435c2e6347825daca9)
* lib: Fix use-after-free bug in XPath parsing code.Richard W.M. Jones2011-03-081-1/+1
| | | | (cherry picked from commit 82f5fdb0dbbc0c7b04861edeadf70c86c9342df2)
* daemon: Add perror to two exit paths to make errors clearer.Richard W.M. Jones2011-03-081-1/+4
| | | | (cherry picked from commit e85fbee7bff9422a370d3f437594d262c043d89b)
* debian: Include actual shared libraries in python-guestfs package.Richard W.M. Jones2011-03-081-1/+1
| | | | (cherry picked from commit 8a406c7bee521289c6f8704549f1f144b5bbbbd9)
* mkfs-opts: Add a note about blocksize param and UFS filesystems.Nikita A Menkovich2011-03-081-0/+2
| | | | (cherry picked from commit dd653336cc34c2e8640aa7e19174a3e339049dc2)
* generator: Fix generation of library-side stubs with optional String arguments.Richard W.M. Jones2011-03-081-1/+1
| | | | (cherry picked from commit 2110f6fa8c397f74e38408612d5514a42f3b9cee)
* packagelist: Add ufsutils for Debian and Ubuntu.Richard W.M. Jones2011-03-081-0/+1
| | | | | | Note there is no mkfs.ufs available for Fedora (see RHBZ#541618 for details). (cherry picked from commit c76f155496717c526ef0b5e72083bb0034f61d3c)
* fish: Fix typo in error message (copy-in should be copy-out).Richard W.M. Jones2011-03-081-1/+1
| | | | (cherry picked from commit e8ab05b12c6b1c13278e549883efd47900a4bac1)
* fish: Initialize pcmd structure.Richard W.M. Jones2011-03-081-1/+4
| | | | | | | | On Debian we get this warning which I'm pretty sure is bogus: fish.c:690: error: 'pcmd.cmd' may be used uninitialized in this function [-Wuninitialized] (cherry picked from commit 316ad8311a41869cf5f253225137dd03d1211ce7)
* fish: Factor out command line parsing.Richard W.M. Jones2011-03-081-154/+170
| | | | | Factor out the code which splits a string into a command line. (cherry picked from commit 61a4db138e4f85033c655bf6b24df0949683c24c)
* fish: Make exit_on_error into a completely local variable.Richard W.M. Jones2011-03-085-10/+16
| | | | | | | Note that 'time' and 'glob' (which both run subcommands) do not correctly pass the exit_on_error flag in the remote case. This is not a regression: the current code doesn't work either. (cherry picked from commit 4bcb267a248977c6b044e18a72266d665102de30)
* fish: exit_on_error is a local variable.Richard W.M. Jones2011-03-081-1/+1
| | | | (cherry picked from commit f6a21c1e0d44f9db409ce6583be7b5bc694767a8)
* inspect: Add macros for file size limits.Richard W.M. Jones2011-03-081-9/+37
| | | | | | | This also bumps the file size limit for "small text files" up to 2 MB, since we want to parse Windows CD txtsetup.sif files that are usually around 500K in size. (cherry picked from commit 4402e6048fb2a56461f9e4d474fc2f1391248781)
* df: Skip final '/' character when calculating basename.Richard W.M. Jones2011-03-081-0/+2
| | | | | | | | | | | Previously it was including the final '/' character when calculating the basename for the -a option eg: Filesystem Size Used Available Use% /Ubuntu1010x64:/dev/sda1 9.4G 2.3G 6.6G 25% With this patch the '/' is not printed. (cherry picked from commit e5220b26f51d5912371424ab6dfbdb46ce6aa170)
* fish: Don't fail if some mountpoints in /etc/fstab are bogus (RHBZ#668574).Richard W.M. Jones2011-03-088-6/+99
| | | | | | | | | | | | | | | | | | Fix guestfish (and other C tools) so that they ignore errors when /etc/fstab contains bogus entries. Update the documentation for inspect-get-mountpoints to emphasize that callers must be aware of this when mounting the returned values. Add a regression test. Update the example code ("inspect_vm") to reflect the way this API ought to be called. For more detail see: https://bugzilla.redhat.com/show_bug.cgi?id=668574 (cherry picked from commit 0c60e4d9dd6549c2135699490ba8a9ec1dd50ab9)
* Version 1.8.1.1.8.1Richard W.M. Jones2011-01-1019-10511/+21265
|
* virt-filesystems: Ignore errors when getting label and UUID (RHBZ#668112).Richard W.M. Jones2011-01-101-6/+29
| | | | | | | | | | | | If virt-filesystems was pointed to an image that contained bogus or blank filesystems, then calls to vfs-label and/or vfs-uuid could fail, resulting in errors like this: libguestfs: error: vfs_label: /dev/vda1: These errors can be ignored and shouldn't stop virt-filesystems from working. (cherry picked from commit 97339a0f43d687efac6f7edafdf21e4b8d9b35e8)
* resize: Fix typo in man page (thanks avesh@IRC).Richard W.M. Jones2011-01-101-1/+1
| | | | (cherry picked from commit 7e1114445e713c4a15f3f2cede5842044de1735a)
* fish: fails to tilde expand '~' when $HOME env is unset (RHBZ#617440).Richard W.M. Jones2011-01-103-8/+100
| | | | | This also adds a regression test. (cherry picked from commit 7ce627fce02eae8c7db36b4090fa0ce1bf69bf44)
* fish: Fix off-by-one bug in tilde expansion.Richard W.M. Jones2011-01-101-1/+1
| | | | | | | | | Although this doesn't seem to cause a crash, valgrind confirms that this is a genuine off-by-one bug. It could potentially cause a crash if you did: echo 'echo ~root/foo' | guestfish (cherry picked from commit a9802509184341e731de5c9af363184a9964a8a7)
* .gitignore: Use full paths for some ignored files.Richard W.M. Jones2011-01-101-7/+7
| | | | (cherry picked from commit 72f4b2e7493bf81b111ecd83490c9d3ad2480382)
* docs: Add QMP to ROADMAP file.Richard W.M. Jones2011-01-101-0/+5
| | | | (cherry picked from commit 1b1db82d64a9664f0da1c628ee896a113a605739)
* filesystems: Document the columns in --long output.Richard W.M. Jones2011-01-101-0/+54
| | | | (cherry picked from commit 440cd23f54f44132b8ff3d1e5b0b05b9dd5cc1c0)
* Add initial announcement to release notes.Richard W.M. Jones2011-01-101-0/+3
| | | | (cherry picked from commit 9ae4168c30b8be57909f5b0104c5e925743c6cc0)
* inspector: Apps in Windows VMs are now listed - update documentation.Richard W.M. Jones2011-01-101-3/+1
| | | | (cherry picked from commit dd7ad7c7ebd7b3cf7fbcc03d3baadbb77bf4203a)
* Lib.pm: unknown filesystem /dev/hd{x} (cdrom) (RHBZ#666577)Douglas Schilling Landgraf2011-01-101-1/+3
| | | | | | | | | | | | | | This a purpose patch to avoid the message "unknown filesystem /dev/hdc". Where /dev/hdc is an entry in fstab for CDROM. Example of fstab: /dev/hdc /media/cdrom auto pamconsole,exec,noauto,managed 0 0 https://bugzilla.redhat.com/show_bug.cgi?id=666577 Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com> (cherry picked from commit f07a0b6f1e01f12db0286ae49744deee0efcb5b9)
* Lib.pm: unknown filesystem label SWAP-sda2 (RHBZ#666578)Douglas Schilling Landgraf2011-01-101-1/+1
| | | | | | | | | | | | | | | Hi, This is a purpose patch to avoid the message: unknown filesystem label SWAP-sda2. Instead of validate the label with 'eq', use '=~' and /$label/i. https://bugzilla.redhat.com/show_bug.cgi?id=666578 Thanks Douglas (cherry picked from commit 5cab0d6c807d8a3bf9690375c663d11a10e21656)
* Lib.pm: avoid message "unknown filesystem /dev/fd0" (RHBZ#666577)Douglas Schilling Landgraf2011-01-101-0/+1
| | | | | | | | | | | This patch to avoid the message "unknown filesystem /dev/fd0". https://bugzilla.redhat.com/show_bug.cgi?id=666577 Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com> Thanks Douglas (cherry picked from commit e99ac0394acbba2923e361d84511b9646f464585)
* podwrapper: Fix up the HTML output so most inter-page links work.Richard W.M. Jones2011-01-101-0/+19
| | | | (cherry picked from commit 5c9e8a65fe89e5e6baca8651000885d8467356ff)
* podwrapper: Fix script indentation.Richard W.M. Jones2011-01-101-3/+3
| | | | (cherry picked from commit d71faf98624c1fb2c760e0e9f55205beb06b7644)
* podwrapper: 'builddir' was not defined - use a properly defined path.Richard W.M. Jones2011-01-101-1/+21
| | | | (cherry picked from commit 7a8c60e1c8fbaf09fb2fa2fe10b50df39c0d9650)
* docs: add-domain: Remove ref to not impl add-libvirt-dom API call.Richard W.M. Jones2011-01-101-3/+1
| | | | (cherry picked from commit ce85a6a82ae80fdfb3eb7c2c2251658f8aadc241)
* docs: Refresh programming language list in guestfs(3).Richard W.M. Jones2011-01-101-5/+5
| | | | (cherry picked from commit 86a53e17de672a79a994b905676b4566da9f072c)
* docs: Refresh programming language equivalence example in guestfs(3).Richard W.M. Jones2011-01-101-3/+3
| | | | (cherry picked from commit 33e9639f2037540a89a9bbaf7212683e8a60fe84)
* docs: Fix missing g handle in guestfs(3) man page.Richard W.M. Jones2011-01-101-2/+2
| | | | (cherry picked from commit cdc798ac3558e416dc756a0fcefad2af5ca307e0)
* docs: Refresh guestfs(3)/DOWNLOADING.Richard W.M. Jones2011-01-101-4/+3
| | | | (cherry picked from commit 22042693cc1e0455a4a503dba93a9fedc9c74f04)