summaryrefslogtreecommitdiffstats
path: root/df/domains.c
Commit message (Collapse)AuthorAgeFilesLines
* virt-df: Add newlines after error messages.Richard W.M. Jones2012-05-141-6/+6
| | | | (cherry picked from commit 9e2cdd309b709ee1e88269ee3252768515bf56ad)
* Check library still compiles without libvirt.Richard W.M. Jones2012-04-241-0/+2
| | | | (cherry picked from commit 5d6a323b9358bb01233681b784fa67414a5d2c6d)
* df: Avoid a compilation error if libxml2 is not available.Richard W.M. Jones2012-03-301-1/+1
| | | | | | | | | | | virt_df-domains.o: In function `add_domain': /home/feeliwood/Downloads/libguestfs-1.17.21/df/domains.c:274: undefined reference to `guestfs___for_each_disk' guestfs___for_each_disk is only available when libvirt _and_ libxml2 dependencies are available at compile time. Thanks Tho Huynh. (cherry picked from commit f1d10672c7da94f8983b3b5d434e64b127da1242)
* Update FSF address.Matthew Booth2011-11-081-1/+1
|
* libvirt: Detect if a disk has the <readonly/> flag.Richard W.M. Jones2011-10-261-2/+3
| | | | | | This changes the private function guestfs___for_each_disk so that the <readonly/> flag on libvirt disks is detected and passed through to the callback function.
* df: Rewrite virt-df in C.Richard W.M. Jones2010-11-251-0/+436
I have diffed the output from the original virt-df with this new version, and they agree very closely. Some differences: - Old virt-df have a divide-by-zero error in cases where the number of used inodes was 0. New virt-df fixes this. - New virt-df uses gnulib human_readable library which displays numbers to 3 significant figures for -h output (old version used an ad hoc function).