summaryrefslogtreecommitdiffstats
path: root/format
Commit message (Collapse)AuthorAgeFilesLines
* podwrapper: Add --license parameter, which is required.Richard W.M. Jones2012-08-301-0/+1
| | | | | | | | | | | | This adds standard LICENSE and BUGS sections to all of the man pages that are processed by podwrapper. Modify all the calls to $(PODWRAPPER) to add the right --license parameter according to the content. Note that this relaxes the license on some code example pages, making them effectively BSD-style licensed. (cherry picked from commit 2f97bf873b64384835f257f8916bf1ebb2af62b4)
* man pages: Ensure consistent copyright/author sections, remove licenseRichard W.M. Jones2012-08-301-14/+0
| | | | | | | | | | | | section. Ensure each man page contains consistent COPYRIGHT and AUTHOR sections. Remove the LICENSE section. We will add that back in podwrapper in a later commit. (cherry picked from commit f1d98bbc79496947210ee0305f80440ed8557ec1)
* fish: Rename fish/virt.c to fish/domain.cRichard W.M. Jones2012-08-051-2/+2
| | | | | | This file handles the -d option for guestfish and other C command line utilities. Renaming this file makes it less confusing. (cherry picked from commit 6054051a9d8a5eee4141ca4b12aa5b7d1f36f56d)
* build: Change calls to podwrapper.sh to use $(PODWRAPPER).Richard W.M. Jones2012-08-051-1/+1
| | | | | | | This will allow us to easily change the location of this script in future. (cherry picked from commit f2ea617e224cd82496e56a41b5878063d6f02e3d)
* New API: guestfs_shutdown: Cleanly shutdown the backend.Richard W.M. Jones2012-07-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The new API splits orderly close into a two-step process: if (guestfs_shutdown (g) == -1) { /* handle the error, eg. qemu error */ } guestfs_close (g); Note that the explicit shutdown step is only necessary in the case where you have made changes to the disk image and want to handle write errors. Read the documentation for further information. This change also: - deprecates guestfs_kill_subprocess - turns guestfs_kill_subprocess into the same as guestfs_shutdown - changes guestfish and other tools to call shutdown + close where necessary (not for read-only tools) - updates documentation - updates examples (cherry picked from commit ffbf1475f7ae7c462db289ad4834391469e72edd)
* Fix strict-overflow bugs and reenable this warning.Richard W.M. Jones2012-03-131-1/+1
| | | | | | | | | In two places, we were counting things in an array using an 'int'. In theory, the int could overflow, so gcc determines this to be undefined behaviour. The fix is to use size_t or ssize_t instead. (cherry picked from commit d66dd2260c724bdfe57a8595aac37c8e9173cee5)
* format: Remove unused variables.Richard W.M. Jones2012-03-131-1/+1
| | | | (cherry picked from commit e9e0920c00c55894358559bcdbd89d55cbb66d2a)
* dist: Distribute all tests, even when configured with --disable-appliance.Richard W.M. Jones2012-03-081-1/+2
| | | | (cherry picked from commit 4504f424f5589f81086f5250674b55708e162e5f)
* Do not run test-virt-format.sh if appliance has not been builtHilko Bengen2012-02-131-0/+2
| | | | (cherry picked from commit c8a11468c4dc761acdcb9b184d345bafe1b5114d)
* virt-format: Add a test.Richard W.M. Jones2012-02-102-7/+40
| | | | (cherry picked from commit badf2d6c4d2c2a3e12bad4dcbd5854401156bb5f)
* New tool: virt-format: erase and make blank disks.Richard W.M. Jones2012-01-183-0/+741
This tool allows you to easily reformat a disk, creating a blank disk with optional partition, LVM and empty filesystem.