Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove guestfs_wait_ready (turn it into a no-op). | Richard Jones | 2009-09-21 | 1 | -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 Jones | 2009-09-14 | 1 | -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 Jones | 2009-09-14 | 1 | -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 Jones | 2009-08-13 | 1 | -0/+8 |
| | |||||
* | Add documentation for SELinux configuration. | Richard Jones | 2009-08-12 | 1 | -4/+42 |
| | | | | Also use L</...> to link between sections. | ||||
* | Mention related tools in the manual page. | Richard Jones | 2009-07-29 | 1 | -0/+7 |
| | |||||
* | Add libguestfs-test-tool. | Richard Jones | 2009-07-22 | 1 | -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 Jones | 2009-07-22 | 1 | -4/+0 |
| | | | | | | appliance kernel." This reverts commit 34d2df41626f1ee4172a6d40b06d72d6ed9d6348. | ||||
* | Add 'set-kernel'/'get-kernel'/LIBGUESTFS_KERNEL to override appliance kernel. | Richard Jones | 2009-07-22 | 1 | -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. Jones | 2009-07-21 | 1 | -0/+10 |
| | |||||
* | Docs: Add "API Overview" section to guestfs(3) manpage. | Richard W.M. Jones | 2009-07-21 | 1 | -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 blanks | Jim Meyering | 2009-07-03 | 1 | -7/+7 |
| | |||||
* | Reorder the environment variables alphabetically in the documentation. | Richard W.M. Jones | 2009-07-01 | 1 | -11/+11 |
| | |||||
* | Document the LIBGUESTFS_MEMSIZE environment variable. | Richard W.M. Jones | 2009-07-01 | 1 | -0/+7 |
| | |||||
* | Implement libtool library versioning. | Richard W.M. Jones | 2009-06-23 | 1 | -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. Jones | 2009-06-23 | 1 | -0/+3 |
| | |||||
* | Describe the standard naming scheme and translation algorithm. | Richard Jones | 2009-06-09 | 1 | -0/+103 |
| | |||||
* | New website, change et.redhat.com references to libguestfs.org1.0.43 | Richard Jones | 2009-06-09 | 1 | -2/+2 |
| | |||||
* | Fix bug links. | Richard Jones | 2009-05-26 | 1 | -2/+2 |
| | |||||
* | Bugs have been moved to Red Hat Bugzilla. | Richard Jones | 2009-05-21 | 1 | -0/+28 |
| | |||||
* | Add 'append', LIBGUESTFS_APPEND to set additional kernel options. | Richard W.M. Jones | 2009-05-13 | 1 | -0/+4 |
| | |||||
* | Partial Haskell bindings. | Richard Jones | 2009-05-10 | 1 | -2/+2 |
| | |||||
* | Document qemu wrappers. | Richard Jones | 2009-04-26 | 1 | -0/+26 |
| | |||||
* | Allow qemu binary to be overridden at runtime. | Richard Jones | 2009-04-22 | 1 | -0/+6 |
| | |||||
* | Updated documentation, prepare for 1.0.5 release. | Richard Jones | 2009-04-21 | 1 | -1/+1 |
| | |||||
* | Ruby also supported | Richard Jones | 2009-04-20 | 1 | -1/+1 |
| | |||||
* | Implement upload and download commands. | Richard Jones | 2009-04-20 | 1 | -13/+23 |
| | |||||
* | Document initial message. | Richard Jones | 2009-04-19 | 1 | -0/+7 |
| | |||||
* | Document the internal protocol. | Richard Jones | 2009-04-19 | 1 | -0/+124 |
| | |||||
* | Rewrite of main loop impl, start of FileIn/FileOut support. | Richard Jones | 2009-04-18 | 1 | -74/+77 |
| | |||||
* | Describe all available bindings. | Richard Jones | 2009-04-13 | 1 | -1/+1 |
| | |||||
* | Lots, mainly Python bindings. | Richard Jones | 2009-04-13 | 1 | -4/+20 |
| | |||||
* | Many non-daemon functions are now auto-generated. | Richard Jones | 2009-04-08 | 1 | -124/+1 |
| | |||||
* | Mention OCaml & Perl bindings in introduction. Error handlers must copy ↵ | Richard Jones | 2009-04-08 | 1 | -3/+6 |
| | | | | 'msg' if they want to stash it. | ||||
* | pvs/vgs/lvs commands working now. | Richard Jones | 2009-04-07 | 1 | -0/+4 |
| | |||||
* | LIBGUESTFS_PATH implementation. | Richard Jones | 2009-04-04 | 1 | -2/+55 |
| | |||||
* | Implemented autosync, make it the default for guestfish. | Richard Jones | 2009-04-04 | 1 | -0/+16 |
| | |||||
* | Generate actions section in guestfs.3 man page. | Richard Jones | 2009-04-04 | 1 | -8/+1 |
| | |||||
* | Daemon and library are mostly talking to each other now. | Richard Jones | 2009-04-03 | 1 | -4/+4 |
| | |||||
* | Lots more auto-generation. | Richard Jones | 2009-04-03 | 1 | -0/+4 |
| | |||||
* | Start the generated code and code generator. | Richard Jones | 2009-04-03 | 1 | -33/+0 |
| | |||||
* | Code to handle the daemon communications socket. | Richard Jones | 2009-04-02 | 1 | -2/+7 |
| | |||||
* | Guest boots, and basic select/callbacks work. | Richard Jones | 2009-04-02 | 1 | -4/+4 |
| | |||||
* | More documentation updates. | Richard Jones | 2009-04-02 | 1 | -5/+11 |
| | |||||
* | More documentation. | Richard Jones | 2009-04-02 | 1 | -13/+249 |
| | |||||
* | Documentation of low-level API. | Richard Jones | 2009-04-01 | 1 | -0/+355 |