summaryrefslogtreecommitdiffstats
path: root/guestfs.pod
Commit message (Collapse)AuthorAgeFilesLines
* Remove guestfs_wait_ready (turn it into a no-op).Richard Jones2009-09-211-16/+8
| | | | | | | | | | | | | | This commit changes guestfs_launch so that it both launches the appliance and waits until it is ready (ie. the daemon communicates back to us). Since we removed the pretence that we could implement a low-level asynchronous API, the need to call launch() followed by wait_ready() has looked a bit silly. Now guestfs_wait_ready() is basically a no-op. It is left in the API for backwards compatibility. Any calls to guestfs_wait_ready() can be removed from client code.
* Remove main loop.Richard Jones2009-09-141-142/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit removes the external main loop, which never worked and caused a number of bugs. Requests are now done synchronously, and if the user wants to have requests issued in the background or to have a responsive GUI, then they'll just have to use threads. The big change is to push all reads and writes through two functions called send_to_daemon (for writes) and recv_from_daemon (for reads) which operate synchronously. These functions read/write whole messages, and also handle checking for EOF (ie. daemon died) and asynchronous log message events from qemu (eg. from debug / dmesg printed by the guest). A more complete description of how these work can be found in the code. This code passes a complete run of the tests. Bugs believed to be fixed by this commit: https://bugzilla.redhat.com/show_bug.cgi?id=501888 internal error: reply callback called twice https://bugzilla.redhat.com/show_bug.cgi?id=504418 In virt-inspector: "download: guestfs_download reply failed, see earlier error messages" I have tried to avoid reintroducing this: https://bugzilla.redhat.com/show_bug.cgi?id=508713 libguestfs: error: write: Broken pipe (guestfish only) One other benefit of this is that 'set_busy/end_busy' calls no longer appear in traces.
* Add command trace functionality.Richard Jones2009-09-141-0/+5
| | | | | Enable this by calling guestfs_trace (handle, 1) or by setting the LIBGUESTFS_TRACE=1 environment variable.
* Add 'setcon', 'getcon' commands to set and get the SELinux context.Richard Jones2009-08-131-0/+8
|
* Add documentation for SELinux configuration.Richard Jones2009-08-121-4/+42
| | | | Also use L</...> to link between sections.
* Mention related tools in the manual page.Richard Jones2009-07-291-0/+7
|
* Add libguestfs-test-tool.Richard Jones2009-07-221-0/+5
| | | | | | | | | | | This is an end-user testing tool, designed to test basic functionality of libguestfs/qemu/kernel combination on the end-user's final host machine. It does not perform a thorough test, but should be enough to find most booting issues. Also this is intended to be used when reporting bugs.
* Revert "Add 'set-kernel'/'get-kernel'/LIBGUESTFS_KERNEL to override ↵Richard Jones2009-07-221-4/+0
| | | | | | appliance kernel." This reverts commit 34d2df41626f1ee4172a6d40b06d72d6ed9d6348.
* Add 'set-kernel'/'get-kernel'/LIBGUESTFS_KERNEL to override appliance kernel.Richard Jones2009-07-221-0/+4
| | | | | This allows you to override the appliance kernel with an easy command or environment variable.
* Allow TMPDIR to override directory used for temporary files (RHBZ#512905).Richard W.M. Jones2009-07-211-0/+10
|
* Docs: Add "API Overview" section to guestfs(3) manpage.Richard W.M. Jones2009-07-211-0/+134
| | | | | | This section collects together related API calls, to provide more coherent documentation about different ways to carry out actions such as uploading and downloading.
* remove trailing blanksJim Meyering2009-07-031-7/+7
|
* Reorder the environment variables alphabetically in the documentation.Richard W.M. Jones2009-07-011-11/+11
|
* Document the LIBGUESTFS_MEMSIZE environment variable.Richard W.M. Jones2009-07-011-0/+7
|
* Implement libtool library versioning.Richard W.M. Jones2009-06-231-0/+8
| | | | | | | | Use maximum proc_nr (MAX_PROC_NR) as a surrogate for the library ABI version, resulting in version numbers such as libguestfs.so.0.<MAX_PROC_NR>.0 for the final library. Add ABI guarantee to the documentation.
* Command line argument handling.Richard W.M. Jones2009-06-231-0/+3
|
* Describe the standard naming scheme and translation algorithm.Richard Jones2009-06-091-0/+103
|
* New website, change et.redhat.com references to libguestfs.org1.0.43Richard Jones2009-06-091-2/+2
|
* Fix bug links.Richard Jones2009-05-261-2/+2
|
* Bugs have been moved to Red Hat Bugzilla.Richard Jones2009-05-211-0/+28
|
* Add 'append', LIBGUESTFS_APPEND to set additional kernel options.Richard W.M. Jones2009-05-131-0/+4
|
* Partial Haskell bindings.Richard Jones2009-05-101-2/+2
|
* Document qemu wrappers.Richard Jones2009-04-261-0/+26
|
* Allow qemu binary to be overridden at runtime.Richard Jones2009-04-221-0/+6
|
* Updated documentation, prepare for 1.0.5 release.Richard Jones2009-04-211-1/+1
|
* Ruby also supportedRichard Jones2009-04-201-1/+1
|
* Implement upload and download commands.Richard Jones2009-04-201-13/+23
|
* Document initial message.Richard Jones2009-04-191-0/+7
|
* Document the internal protocol.Richard Jones2009-04-191-0/+124
|
* Rewrite of main loop impl, start of FileIn/FileOut support.Richard Jones2009-04-181-74/+77
|
* Describe all available bindings.Richard Jones2009-04-131-1/+1
|
* Lots, mainly Python bindings.Richard Jones2009-04-131-4/+20
|
* Many non-daemon functions are now auto-generated.Richard Jones2009-04-081-124/+1
|
* Mention OCaml & Perl bindings in introduction. Error handlers must copy ↵Richard Jones2009-04-081-3/+6
| | | | 'msg' if they want to stash it.
* pvs/vgs/lvs commands working now.Richard Jones2009-04-071-0/+4
|
* LIBGUESTFS_PATH implementation.Richard Jones2009-04-041-2/+55
|
* Implemented autosync, make it the default for guestfish.Richard Jones2009-04-041-0/+16
|
* Generate actions section in guestfs.3 man page.Richard Jones2009-04-041-8/+1
|
* Daemon and library are mostly talking to each other now.Richard Jones2009-04-031-4/+4
|
* Lots more auto-generation.Richard Jones2009-04-031-0/+4
|
* Start the generated code and code generator.Richard Jones2009-04-031-33/+0
|
* Code to handle the daemon communications socket.Richard Jones2009-04-021-2/+7
|
* Guest boots, and basic select/callbacks work.Richard Jones2009-04-021-4/+4
|
* More documentation updates.Richard Jones2009-04-021-5/+11
|
* More documentation.Richard Jones2009-04-021-13/+249
|
* Documentation of low-level API.Richard Jones2009-04-011-0/+355