summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Version 1.9.17.1.9.17Richard W.M. Jones2011-04-0519-14391/+16217
|
* fish: copy-in, copy-out, edit, more commands can use win:... prefix.Richard W.M. Jones2011-04-053-23/+97
|
* fish: Enhance guestfish win:... parsing to understand drive letters.Richard W.M. Jones2011-04-053-8/+76
|
* edit: Allow Windows-style drive letters and paths to be used.Richard W.M. Jones2011-04-051-0/+101
|
* New API: inspect-get-drive-mappingsRichard W.M. Jones2011-04-059-1/+298
| | | | | | | | | | | | This returns the drive mappings from the Windows Registry. virt-inspector displays the drive mappings, giving output similar to this: <drive_mappings> <drive_mapping name="C">/dev/sda2</drive_mapping> <drive_mapping name="E">/dev/sdb1</drive_mapping> </drive_mappings>
* New API: inspect-get-windows-current-control-setRichard W.M. Jones2011-04-058-33/+106
| | | | | | | | | | | | | | This returns the actual registry key corresponding to CurrentControlSet (eg. it might be "ControlSet001"). Previously the inspection code was hard-coding ControlSet001. Now we use the correct control set, and also make it available to callers through the API. This commit also updates the virt-dhcp-address example so it uses this new API. virt-inspector displays the current control set when available.
* daemon: Reimplement 'mounts' and 'mountpoints' commands.Richard W.M. Jones2011-04-051-48/+29
| | | | | | | | Reimplement these so they read /proc/mounts instead of trying to parse the output of the 'mount' external command. One consequence of this is that these commands now work again for ntfs-3g filesystems.
* Rename resolve_windows_path_silently to case_sensitive_path_silently.Richard W.M. Jones2011-04-051-9/+9
| | | | | | A more accurate description of what this function does. This is just code motion.
* edit: Move 'exit 0' to end of file.Richard W.M. Jones2011-04-051-2/+4
| | | | This is just code motion.
* edit: Let $root == $roots[0].Richard W.M. Jones2011-04-051-1/+2
| | | | This is just code motion.
* cat, edit: Reference guestfish equivalent commands in the manual pages.Richard W.M. Jones2011-04-052-6/+72
|
* python: Convert any iterable argument to a list (RHBZ#693324).Richard W.M. Jones2011-04-041-1/+13
| | | | Thanks to Erez Shinan.
* fish: Add 'pulse mode' to the progress bar.Richard W.M. Jones2011-04-021-9/+26
|
* fish: Move variable decls to top of function.Richard W.M. Jones2011-04-021-10/+15
| | | | This is just code motion.
* debian: Add missing deps: ocaml-findlib, libstring-shellquote-perl.Nikita A Menkovich2011-04-021-1/+2
|
* mkisofs is obsolete. Require genisoimage everywhere instead.Nikita A Menkovich2011-04-024-6/+6
|
* Pull translations from Transifex.Richard W.M. Jones2011-04-025-1/+35201
| | | | New Ukrainian po-docs translation added.
* Version 1.9.16.1.9.16Richard W.M. Jones2011-04-0117-4233/+4283
|
* du: Add pulse mode progress messages.Richard W.M. Jones2011-04-012-2/+8
|
* cpmv: Add pulse mode progress messages.Richard W.M. Jones2011-04-011-1/+6
|
* checksum: Add pulse mode progress messages.Richard W.M. Jones2011-04-011-1/+6
|
* daemon: Introduce "pulse mode" progress events.Richard W.M. Jones2011-04-016-3/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces a new form of progress event, where we don't know how much of the operation has taken place, but we nevertheless want to send back some indication of activity. Some progress bar indicators directly support this, eg. GtkProgressBar where it is known as "pulse mode". A pulse mode progress message is a special backwards-compatible form of the ordinary progress message. No change is required in callers, unless they want to add support for pulse mode. The daemon sends: - zero or more progress messages with position = 0, total = 1 - a single final progress message with position = total = 1 Note that the final progress message may not be sent if the call fails and returns an error. This is consistent with the behaviour of ordinary progress messages. The daemon allows two types of implementation. Either you can just call notify_progress (0, 1); ...; notify_progress (1, 1) as usual. Or you can call the functions pulse_mode_start, pulse_mode_end and/or pulse_mode_cancel (see documentation in daemon/daemon.h). For this second form of call, the guarantee is very weak: it *just* says the daemon is still capable of doing something, and it doesn't imply that if there is a subprocess that it is doing anything. However this does make it very easy to add pulse mode progress messages to all sorts of existing calls that depend on long-running external commands. To do: add a third variant that monitors a subprocess and only sends back progress messages if it's doing something, where "doing something" might indicate it's using CPU time or it's printing output.
* daemon: When running commands, restart select if we receive a signal.Richard W.M. Jones2011-04-011-0/+4
|
* daemon: Reset SIGPIPE to default before running subprocesses.Richard W.M. Jones2011-04-011-0/+1
|
* Generate progress messages during launch.Richard W.M. Jones2011-04-014-1/+55
| | | | | | | | | | | | | | | | | | | This commit generates approximate progress messages during the guestfs_launch call. Currently this code generates: 0 / 12: launch clock starts 3 / 12: appliance created 6 / 12: detected that guest kernel started 9 / 12: detected that /init script is running 12 / 12: launch completed successfully (Note this is not an ABI and may be changed or removed in a future version). Progress messages are only generated at all if 5 seconds have elapsed since the launch, and they are only generated for the ordinary appliance (not if using attach-method to attach to an existing virtio serial port).
* protocol: Sleep for 1ms before reading log messages.Richard W.M. Jones2011-04-011-1/+8
| | | | | | | | | | | | | | | As explained in the comment: /* QEMU's console emulates a 16550A serial port. The real 16550A * device has a small FIFO buffer (16 bytes) which means here we see * lots of small reads of 1-16 bytes in length, usually single * bytes. Sleeping here for a very brief period groups reads * together (so we usually get a few lines of output at once) and * improves overall throughput, as well as making the event * interface a bit more sane for callers. With a virtio-serial * based console (not yet implemented) we may be able to remove * this. XXX */
* Shared function to send progress messages.Richard W.M. Jones2011-04-012-5/+9
| | | | This is just code motion.
* Add prototype for timeval_diff.Richard W.M. Jones2011-04-011-1/+2
| | | | This is just code motion.
* docs: Progress messages don't necessarily reach 100% in the error case.Richard W.M. Jones2011-04-011-1/+2
| | | | | This should be obvious, and now it is documented to avoid any confusion.
* docs: Fix link to progress messages in guestfs(3).Richard W.M. Jones2011-04-011-1/+1
| | | | This updates commit 4e0cf4dbf8a8a96288f70114fdc3939da0aa7ad1.
* Update copyright date on main guestfs(3) man page.Richard W.M. Jones2011-04-011-1/+1
|
* Version 1.9.15.1.9.15Richard W.M. Jones2011-04-0117-1181/+1340
|
* fish: Fix incorrect path passed to perror.Richard W.M. Jones2011-04-011-1/+1
| | | | Fix commit b8e1dee73a1deef1bfd5937e2abfbe9afef7b1ef.
* Add libguestfs-tools.conf file to EXTRA_DIST.Richard W.M. Jones2011-04-011-0/+1
|
* examples: Add virt-dhcp-address program.Richard W.M. Jones2011-03-314-0/+356
| | | | | | This is like the mythical 'virt-ifconfig'. There is not enough certainty around the right way to be doing this for us to make a full virt tool for this. Therefore the code is just an example.
* examples: Use WARN_CFLAGS, WERROR_CFLAGS macros instead of -WallRichard W.M. Jones2011-03-311-5/+11
|
* examples: size_t-correctness change in inspect_vm.cRichard W.M. Jones2011-03-311-2/+2
|
* contrib: Fix URLs in README file.Richard W.M. Jones2011-03-311-3/+5
|
* inspect: Detect 32 bit applications running on WOW64 emulator (RHBZ#692545).Richard W.M. Jones2011-03-314-42/+79
| | | | | | | These applications are located along a different Registry path. See http://support.microsoft.com/kb/896459 for all the details. Thanks Jinxin Zheng for finding the bug and the solution.
* Add /etc/libguestfs-tools.conf configuration file.Richard W.M. Jones2011-03-3118-30/+295
| | | | | This allows the default for --ro or --rw to be controlled for the three tools guestfish, guestmount and virt-rescue.
* rescue: Add -w|--rw option.Richard W.M. Jones2011-03-302-0/+13
|
* fuse: Document -w flag in --help output.Richard W.M. Jones2011-03-301-0/+1
|
* Exclude po-docs directory completely if po4a not available.Richard W.M. Jones2011-03-293-19/+5
| | | | | | Lift the if HAVE_PO4A ... endif completely out of the po-docs subdirectory, and just exclude the whole subdirectory if the po4a program is not available.
* tests: Don't fail when compiled without support for NTFS.Richard W.M. Jones2011-03-292-12/+58
|
* perl: Canonicalize /dev/vd* paths in old inspection code (RHBZ#691724).Richard W.M. Jones2011-03-291-0/+3
|
* README: Note that getfacl, getfattr are optional dependencies.Richard W.M. Jones2011-03-281-0/+2
|
* Version 1.9.14.1.9.14Richard W.M. Jones2011-03-2817-4759/+4799
|
* fuse: Fix getxattr, listxattr calls and add a regression test (RHBZ#691389).Richard W.M. Jones2011-03-284-20/+83
| | | | | | | | | | | | | | | | | The documentation for the getxattr and listxattr calls is not very clear and as a result we were always returning something different from that which the Linux kernel would usually return. This fixes these calls, at least far enough that both the 'getfattr' and 'getfacl' programs now work fine on FUSE-mounted filesystems. Note that SELinux attrs are *not* passed through. This appears to be a known bug between SELinux and FUSE. For more information see: http://www.spinics.net/lists/selinux/msg09460.html Notes: Labels: bugfix, RHBZ#691389
* fish: fuse: Add -m dev:mnt:opts to allow mount options to be specified.Richard W.M. Jones2011-03-285-12/+49
| | | | | | | | | | | | | This lets you turn on ACLs and xattrs by doing: -m /dev/sda1:/:acl,user_xattr The extra parameter is passed through to mount_options: libguestfs: trace: mount_options "acl,user_xattr" "/dev/sda1" "/" Notes: Labels: feature
* roadmap: Move QMP to 'beyond 1.10'.Richard W.M. Jones2011-03-281-5/+8
| | | | See: https://www.redhat.com/archives/libguestfs/2011-March/msg00124.html