summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* recipes: Add sections about hexdumping, hexediting sectors.Richard W.M. Jones2012-11-221-1/+14
| | | | (cherry picked from commit 5d9f10c31297c5f6bfe261717dfc5c841722a4c2)
* recipes: Add recipe for diffing two guests.Richard W.M. Jones2012-11-221-0/+10
| | | | (cherry picked from commit fd81d3f9b25f9ee8616091c9c3abb7373e185015)
* examples: Copy-editing instructions printed by the mount-local program.Richard W.M. Jones2012-11-201-3/+3
| | | | (cherry picked from commit 692701f382f8a1c51be0b798b918f2f34e401b54)
* guestfs-testing: Use L<> around links.Richard W.M. Jones2012-10-301-2/+2
| | | | (cherry picked from commit dd09744432468c416033ca84dc0ae1a438240de0)
* FAQ: Document debug* and internal* functions in the FAQ.Richard W.M. Jones2012-10-301-0/+17
| | | | (cherry picked from commit 9bd3d5bc6d6a3be517da5faf9e7c8a84394ca0f9)
* inspection: Fix calls to case_sensitive_path (RHBZ#858126).Richard W.M. Jones2012-10-011-3/+1
| | | | | | | | | | | | | | | | | | | | | | | Don't assume that if guestfs_case_sensitive_path returns NULL, that it means the file does not exist. The (previously undefined) behaviour of case_sensitive_path was that a NULL return meant "either the file doesn't exist or some other error". However in commit 973581780d8a006f336684fef6762801402d775d this was changed so that if the last element of the path didn't exist, it was assumed to be a new file and the (non-NULL) path of the new file is returned. This change breaks code (including in libguestfs) which tries to use case_sensitive_path as a dual-purpose call to fix-up a path for Windows and test if the file exists. Such code should be rewritten so that it explicitly tests for file existence after calling case_sensitive_path. I examined all the calls to case_sensitive_path in libguestfs and modified them where necessary. Cherry picked from commit 9ea6e9701461e594033999150f930cc4fafec4d2.
* recipes: Add a section about diagnosing hanging guests.Richard W.M. Jones2012-10-011-0/+29
| | | | (cherry picked from commit f7e138835a7194135113088767c46df65dbf292a)
* guestfs-testing(1): Start by running libguestfs-test-tool.Richard W.M. Jones2012-10-011-0/+14
| | | | (cherry picked from commit 9b7813c5bd91d53e358deee64ab42b00b42c37ba)
* FAQ: Miscellaneous cleanups.Richard W.M. Jones2012-10-011-12/+68
| | | | | | | | - Use S<...> for non-breaking spaces. - Arrange the builds section better. - Add a section on enabling sVirt. - Other small fixes. (cherry picked from commit 19b29c36370beb76fd3f3a1f45289ce34c03e3c3)
* recipes: Add section about uploading raw filesystem content.Richard W.M. Jones2012-10-011-0/+24
| | | | (cherry picked from commit 8aa8eb205b02e1014e5ed9577f4a9da9fd864aba)
* syntax: Remove trailing whitespace.Richard W.M. Jones2012-09-192-2/+0
| | | | | Found by 'make syntax-check'. (cherry picked from commit 2cac8d490e9884a8c7376e49fd1cda2e3d3abec1)
* faq: Make the legal section less unnecessarily legalistic.Richard W.M. Jones2012-09-191-6/+7
| | | | (cherry picked from commit 244e9a2ac40fa8a1494f769740947c8a600ee8d7)
* faq: Tidy up headings.Richard W.M. Jones2012-09-191-12/+16
| | | | (cherry picked from commit 19da851610fc14b547ff9e25101921f69edc7f2f)
* faq: Add more answers about read-only disks.Richard W.M. Jones2012-09-191-0/+35
| | | | (cherry picked from commit 2c59af77545c764ddded93af2c0a0611be79376e)
* recipes: Checksum file/device. Download to stdout.Richard W.M. Jones2012-09-181-0/+26
| | | | (cherry picked from commit b799bc58a84e155783afae23f64f27e23ddd06dd)
* 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
|