summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update RELEASE-NOTES for 1.10 release.stable-1.10Richard W.M. Jones2011-04-121-14/+21
|
* Update ROADMAP for 1.12 and beyond.Richard W.M. Jones2011-04-121-16/+14
|
* README: virtio-serial is required.Richard W.M. Jones2011-04-121-2/+2
|
* guestfs(3): Fix documentation for drive letters.Richard W.M. Jones2011-04-121-8/+7
| | | | We can now get drive letter mappings through the inspection API.
* inspect: Fix some small memory leaks in Windows inspection.Richard W.M. Jones2011-04-121-0/+3
| | | | Found using valgrind.
* fish: Allows win:... paths to work with drives mounted anywhere.Richard W.M. Jones2011-04-123-86/+106
| | | | | | This allows you to mount disks on (eg) /c and /e and have the guestfish win:... path mechanism map drive letters to the right places.
* todo: guestfish drive letters.Richard W.M. Jones2011-04-111-0/+10
|
* resize: Update dependencies.Richard W.M. Jones2011-04-101-6/+6
|
* resize: Don't build this directory in parallel.Richard W.M. Jones2011-04-101-0/+4
|
* resize: Consistent use of 'part' in help output.Richard W.M. Jones2011-04-101-4/+4
|
* resize: Missing \n after version.Richard W.M. Jones2011-04-101-1/+1
|
* resize: Link with local copy of guestfs.Richard W.M. Jones2011-04-091-2/+2
|
* Version 1.9.18.1.9.18Richard W.M. Jones2011-04-0916-3620/+1660
|
* Update POT file.Richard W.M. Jones2011-04-093-3499/+176
|
* Include po/Makefile.in.in in git, to avoid needing to rerun gettextize.Richard W.M. Jones2011-04-092-1/+444
|
* build: virt-resize manpage.Richard W.M. Jones2011-04-092-6/+6
|
* Rewrite virt-resize in OCaml.Richard W.M. Jones2011-04-0915-1543/+1930
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a fairly straightforward translation of Perl virt-resize into OCaml. It is bug-for-bug and feature-for-feature identical to the Perl version, except as noted below. The motivation is to have a more solid, high-level, statically safe compiled language to go forwards with fixing some of the harder bugs in virt-resize. In particular contracts between different parts of the program are now handled by statically typed structures checked at compile time, instead of the very ad-hoc unchecked hash tables used by the Perl version. OCaml and the ocaml-pcre library (Perl-Compatible Regular Expressions bindings for OCaml) are required. Extra features in this version: - 32 bit hosts are now supported. - We try hard to handle the case where the target disk is not "clean" (ie. all zeroes). It usually works for this case, whereas the previous version would usually fail. However it is still recommended that the system administrator creates a fresh blank disk for the target before running the program. - User messages are a bit more verbose and helpful. You can turn these off with the -q (--quiet) option. There is one lost feature: - Ability to specify >= T (terabytes) sizes in command line size expressions has been removed. This probably didn't work in the Perl version. Other differences: - The first partition on the target is no longer aligned; instead we place it at the same sector as on the source. I suspect that aligning it was causing the bootloader failures. - Because it's easier, we do more sanity checking on the source disk. This might lead to more failures, but they'd be failures you'd want to know about. - The order in which operations are performed has been changed to make it more logical. The user should not notice any functional difference, but debug messages will be quite a bit different. - virt-resize is a compiled binary, not a script.
* Compile rpcgen-generated files with -fno-strict-aliasingMatthew Booth2011-04-073-17/+13
| | | | | rpcgen generates source which can't be safely compiled with strict-aliasing enabled.
* test-tool: Don't use static binary helper program, nor ISO.Richard W.M. Jones2011-04-066-233/+37
| | | | | | | | | | | | | | This simplifies the libguestfs-test-tool program down to essentials. Bugs most commonly occur when starting the appliance, so what we should concentrate on test is just that. Previously the test tool built a special static binary helper program, packaged it up in an ISO, then ran this inside the appliance. None of this really tested useful failure modes, but they did make the test tool itself harder to build, harder for users to run, and more brittle. This change also adds some more debugging of libguestfs state.
* Update RELEASE-NOTES file.Richard W.M. Jones2011-04-061-3/+39
|
* 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.