summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* FAQ: Remove link to old RHEL 6.3 preview repo.Richard W.M. Jones2012-08-301-3/+2
| | | | (cherry picked from commit 8af32b9d5fa0601fabffd9550f1cdc97ac78306a)
* podwrapper: Add --license parameter, which is required.Richard W.M. Jones2012-08-301-0/+5
| | | | | | | | | | | | 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-305-79/+5
| | | | | | | | | | | | 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)
* FAQ: Re-add #backup anchor for section on backups.Richard W.M. Jones2012-08-301-0/+7
| | | | (cherry picked from commit 984044043dc423687862fe2058b43786ab4acf1a)
* recipes: Update dumping filesystem content to mention that we now support ↵Richard W.M. Jones2012-08-301-1/+1
| | | | | | MD/RAID. (cherry picked from commit 52e38c7bdc293cb2f2531eab3dde6d569a05b5e9)
* recipes: Refer to virt-format, virt-make-fs for creating disk images.Richard W.M. Jones2012-08-301-1/+7
| | | | (cherry picked from commit 1e4c6e36a6d122b4615dc509ef745dde7e37321d)
* recipes: Cloning Windows: plans for virt-sysprep.Richard W.M. Jones2012-08-301-10/+10
| | | | (cherry picked from commit 5f234548ed07b8e41a31462290aae3ea842630c2)
* recipes: For auditing for setuid files, point to virt-ls examples.Richard W.M. Jones2012-08-301-4/+1
| | | | (cherry picked from commit 9fd4d16819ad200814be717732c77664e18132f2)
* recipes: For sparsifying guests, point to virt-sparsify.Richard W.M. Jones2012-08-301-4/+1
| | | | (cherry picked from commit 0d2e70b1c71dba01f71a4375eb10b83059a41bb2)
* recipes: For listing files, point to virt-ls.Richard W.M. Jones2012-08-301-3/+1
| | | | (cherry picked from commit d944a491ac3aa9b9ed1bcdc0ee378519a367276a)
* recipes: Most guests now use grub2, so change the example.Richard W.M. Jones2012-08-301-1/+1
| | | | (cherry picked from commit 87cf749cde7b9ecdfd95d0b4cac939a2be767fd7)
* recipes: Add a section on deleting a file and other common file operations.Richard W.M. Jones2012-08-301-0/+18
| | | | (cherry picked from commit 10d48bef3055e1b7177b4f8df52133c50484a87a)
* recipes: Update cloning section.Richard W.M. Jones2012-08-301-10/+5
| | | | (cherry picked from commit 1454751b731ff3a448cc5b5b46f4cbc1fc2f66d0)
* FAQ: virt-sparsify and raw sparse output.Richard W.M. Jones2012-08-301-0/+19
| | | | (cherry picked from commit cd1627e8041ffa06764ef82b984f4291660edcc9)
* docs: Add a section describing how to use gdb + qemu wrappers to debug the ↵Richard W.M. Jones2012-08-301-0/+50
| | | | | | appliance. (cherry picked from commit 84c897c93a794e4bdab37dfd505618de68bf145d)
* docs: Show how to use 'annotate-output' command to collect timings.Richard W.M. Jones2012-08-301-0/+17
| | | | (cherry picked from commit 22da2cb0ae45c1c50e7ba5618f9944a3d417ec7e)
* lib: Initialize libvirt and libxml2 once when the library loads.Richard W.M. Jones2012-08-051-4/+0
| | | | (cherry picked from commit 941ec968b8a1d6f891d30631a8ddb1e23e427b99)
* docs: Use L<...> for links.Richard W.M. Jones2012-08-053-29/+25
| | | | | | Instead of working around bugs, podwrapper has been fixed so that links work in all output formats. (cherry picked from commit 4bc110e2bc738bde9b9c09bc602ef13c06b60e90)
* build: Change calls to podwrapper.sh to use $(PODWRAPPER).Richard W.M. Jones2012-08-051-5/+5
| | | | | | 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-063-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* examples: In create_disk example, don't call set_autosync.Richard W.M. Jones2012-07-061-9/+0
| | | | | | This is now set by default in all supported versions of libguestfs. It's just confusing if the examples refer to it. (cherry picked from commit 917550a117904ec1a06b77a7870a147014d71adb)
* FAQ: Add Gentoo (thanks Agostino Sarubbo).Richard W.M. Jones2012-06-281-0/+6
| | | | (cherry picked from commit 8d88b06277c1d6d7a26b9434cc69a7bae9ada7fc)
* FAQ: Mention update-guestfs-appliance (thanks Steven Dake).Richard W.M. Jones2012-06-211-0/+4
| | | | (cherry picked from commit 6352953ea927819a8ece795d03c4938e657d0a97)
* doc: Add documentation covering use of utf8 option when mounting vfat ↵Richard W.M. Jones2012-06-011-0/+77
| | | | | | (RHBZ#823887). (cherry picked from commit 6445bc5952efd47fb1aa0880d9038040551d72ed)
* FAQ: Add section about using libguestfs in closed source programs.Richard W.M. Jones2012-06-011-0/+9
| | | | (cherry picked from commit b8b5ed65c26dd19a0bc9f8282a50c6dff90c456a)
* FAQ: Add a note about "child process died unexpectedly".Richard W.M. Jones2012-06-011-0/+12
| | | | | | This is a common search term on the main website, and there is no good information provided by Google at present. (cherry picked from commit 144d7cd98811472a5541d2c53c487e670657051b)
* FAQ: Update Ubuntu instructions.Richard W.M. Jones2012-06-011-4/+24
| | | | (cherry picked from commit c7d3aa9cd6c065158d43b3c7fe553e814c642d6b)
* examples: Further fixes to mount-local example program.Richard W.M. Jones2012-05-141-5/+26
| | | | | | | * Set PS1 prompt properly for bash shells. * Touch a file into the root directory of the new filesystem. This fixes commit 46b6766156ace142443b36e20e55074c544ae6cc.
* example: Various fixes to mount-local example program.Richard W.M. Jones2012-05-141-6/+31
| | | | | | | | | * Move MOUNT_OPTIONS to #define at top. * Move SIZE_MB to #define at top. * Set PS1 in subshell (doesn't work - why?). * Hide libguestfs errors from guestfs_mount_local_run. This fixes commit 46b6766156ace142443b36e20e55074c544ae6cc.
* debian: examples: Don't break when O_CLOEXEC is not defined.Richard W.M. Jones2012-05-141-0/+4
| | | | | | This affected Debian 6. This fixes commit 46b6766156ace142443b36e20e55074c544ae6cc.
* examples: Add mount options "acl,user_xattr" to mount-local example.Richard W.M. Jones2012-05-131-1/+1
| | | | This fixes commit 46b6766156ace142443b36e20e55074c544ae6cc.
* examples: Add an example of using the mount-local API from C.Richard W.M. Jones2012-05-132-0/+171
|
* examples: Add if HAVE_HIVEX ... endif around virt_dhcp_address example.Richard W.M. Jones2012-05-131-0/+2
|
* FAQ: Fix typo in download (thanks badnews@IRC)Richard W.M. Jones2012-05-101-2/+2
|
* Turn libguestfs FAQ into a man page: guestfs-faq(1).Richard W.M. Jones2012-05-012-0/+570
|
* New man page: guestfs-performance(1).Richard W.M. Jones2012-04-112-0/+409
| | | | This contains tips for engineering libguestfs for greatest performance.
* example: Copying a directory between two guests using threads.Richard W.M. Jones2012-03-092-0/+308
|
* Check return values of guestfs_inspect_get_{type,distro} (found by Coverity).Richard W.M. Jones2012-03-081-0/+4
| | | | | | | | | Error: NULL_RETURNS: /builddir/build/BUILD/libguestfs-1.16.5/examples/virt-dhcp-address.c:129: var_assigned: Assigning: "guest_distro" = null return value from "guestfs_inspect_get_distro". /builddir/build/BUILD/libguestfs-1.16.5/examples/virt-dhcp-address.c:131: dereference: Dereferencing a pointer that might be null "guest_distro" when calling "__coverity_strcmp". [...] /builddir/build/BUILD/libguestfs-1.16.5/examples/virt-dhcp-address.c:126: var_assigned: Assigning: "guest_type" = null return value from "guestfs_inspect_get_type". /builddir/build/BUILD/libguestfs-1.16.5/examples/virt-dhcp-address.c:128: dereference: Dereferencing a pointer that might be null "guest_type" when calling "__coverity_strcmp".
* Add 'display_icon' example program.Richard W.M. Jones2012-03-072-1/+140
| | | | | Running this on a disk image displays the guest icon (using external 'display' program).
* examples: code cleanupsWanlong Gao2012-01-312-2/+2
| | | | | | do a code cleanup by removing the tailing spaces Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* Tempus fugit.Richard W.M. Jones2012-01-182-2/+2
| | | | Update all copyright dates to 2012.
* df, testing: Add notes on virt-df numbers (thanks Kashyap Chamarthy).Richard W.M. Jones2011-11-221-1/+23
|
* guestfs-testing: Link to libguestfs-test-tool.Richard W.M. Jones2011-11-211-0/+5
|
* Add guestfs-testing(1) man page.Richard W.M. Jones2011-11-202-4/+309
| | | | This contains suggested manual tests that users can run.
* Update FSF address.Matthew Booth2011-11-081-1/+1
|
* Add Erlang bindings.Richard W.M. Jones2011-09-212-0/+2
|
* out-of-tree build: remove unneeded explicit pathsHilko Bengen2011-08-171-2/+2
|
* recipes: Remove two C file dependencies which are not actually used in the POD.Richard W.M. Jones2011-08-151-1/+1
|
* out-of-tree build: fix documentation generationHilko Bengen2011-08-151-6/+6
|
* java: Add guestfs-java(3) man page.Richard W.M. Jones2011-07-192-0/+2
|