Commit Graph

2936 Commits

Author SHA1 Message Date
Richard W.M. Jones
cd00157efc ocaml: Generate ocamldoc.
Also includes improvements to the OCaml documentation.
2011-07-17 11:23:47 +01:00
Richard W.M. Jones
e72592563c ocaml: Bind guestfs_last_errno. 2011-07-16 19:15:29 +01:00
Richard W.M. Jones
8ee5c6d3a7 Update API support. 2011-07-16 19:11:37 +01:00
Richard W.M. Jones
2d3193e971 Update ROADMAP file. 2011-07-16 15:26:32 +01:00
Richard W.M. Jones
c5bd9539db fish: Don't make --ro the default yet.
Defer this decision to a future version of libguestfs.
2011-07-16 15:23:48 +01:00
Richard W.M. Jones
a711777bed docs: Separate out combined =item 's in man pages.
Turn:

 =item B<-a> | B<--all>

into:

 =item B<-a>

 =item B<--all>

This gives a more natural-looking manual page, as well as making it
easier to directly link to these sections.
2011-07-16 15:20:29 +01:00
Richard W.M. Jones
d84bb5dc19 Update and rearrange release notes. 2011-07-16 12:36:07 +01:00
Richard W.M. Jones
9f135be96e Fix test-guestfish-escapes regression test to work with debug/trace enabled.
If debugging or tracing is enabled, extra messages are sent to stderr
which mess with this test.  Remove the extra messages before checking
stderr.

This updates commit 617e7f6baf.
2011-07-15 22:09:29 +01:00
Richard W.M. Jones
1f0c650c8f Version 1.11.18. 1.11.18 2011-07-15 17:23:41 +01:00
Richard W.M. Jones
35b15d918d Update release notes. 2011-07-15 16:14:56 +01:00
Richard W.M. Jones
db5d157922 Update API support. 2011-07-15 16:10:19 +01:00
Richard W.M. Jones
1e9e351f17 ruby: Add binding for guestfs_user_cancel. 2011-07-15 14:57:00 +01:00
Richard W.M. Jones
f4dadd0fcf perl: Add binding for guestfs_user_cancel. 2011-07-15 14:47:09 +01:00
Richard W.M. Jones
60dd9494f0 ocaml: Add binding for guestfs_user_cancel. 2011-07-15 14:34:21 +01:00
Richard W.M. Jones
50c54d2814 fish: Register ^C handler to cancel long transfers. 2011-07-15 14:12:22 +01:00
Richard W.M. Jones
e187aa8431 fish: Add is_interactive flag.
Decide early (before launch) if this is going to be an interactive
session, and set the is_interactive flag.
2011-07-15 14:12:22 +01:00
Richard W.M. Jones
9ec9c97ce2 Add user cancellation to the C API.
This allows long transfers (FileIn and FileOut operations) to be
cancelled by calling the signal and thread safe guestfs_user_cancel
function.

Most of this commit consists of a multithreaded program that tests
user cancellation of uploads and downloads.
2011-07-15 14:11:46 +01:00
Richard W.M. Jones
f173543fd2 New APIs: set-pgroup, get-pgroup
If the pgroup flag is set in the handle, then the qemu and recovery
subprocesses are placed in separate process groups.  The default is
false.

The purpose for setting up a process group is that ^C will not be
passed from the main process down to these processes (killing them).
This allows ^C and other keyboard events to be caught and handled in
the main process.
2011-07-15 12:24:51 +01:00
Richard W.M. Jones
4b53a3737b guestfs.h: Add missing extern keyword before event functions. 2011-07-15 10:42:56 +01:00
Nikita A Menkovich
d2a25fd173 debian: New sub-package: guestfsd.
This patch adds guestfsd debian package to the build.  The daemon can
be installed in virtualization clients to enable libguestfs live
access.
2011-07-14 19:24:43 +01:00
Richard W.M. Jones
bb6a1b4cdc New API: write-append
Append content to the end of a file.
2011-07-14 18:18:07 +01:00
Richard W.M. Jones
617e7f6baf fish: Handle backslash escapes in guestfish double-quoted strings. 2011-07-14 18:17:39 +01:00
Richard W.M. Jones
d029fa69db build: Add ./configure --enable-install-daemon
If enabled, then the daemon will be installed in $sbindir
(eg. /usr/sbin/guestfsd).  The default is off, as now.

This option should be used by packagers when building the libguestfs
live service.
2011-07-14 15:52:29 +01:00
Richard W.M. Jones
4accf31972 Version 1.11.17. 1.11.17 2011-07-14 14:32:34 +01:00
Richard W.M. Jones
62a34ff2d3 resize: Clarify examples in the man page. 2011-07-14 13:42:33 +01:00
Richard W.M. Jones
f2d816573f resize: Add btrfs support to virt-resize (RHBZ#721275). 2011-07-14 13:03:49 +01:00
Richard W.M. Jones
a001a0d710 New API: btrfs-filesystem-resize (RHBZ#721160).
This resizes a btrfs filesystem.
2011-07-14 13:03:49 +01:00
Richard W.M. Jones
08910ee60c docs: resize: Not just limited to resizing filesystems in partitions.
If you use --LV-expand then filesystems in LVs can be resized too.
2011-07-14 13:03:49 +01:00
Richard W.M. Jones
c6340f4500 mkfs: Don't die if mke2fs is not available.
Allow other types of filesystems to be created.
2011-07-14 11:28:05 +01:00
Richard W.M. Jones
c21d6dc29c Version 1.11.16. 1.11.16 2011-07-13 15:59:33 +01:00
Richard W.M. Jones
fffe73ec6f Update release notes. 2011-07-13 15:33:07 +01:00
Richard W.M. Jones
f91c6f217f Refresh README file.
Update and verify the list of requirements, by checking it against
both configure.ac and the Fedora specfile.

Remove some obsolete sections that covered historical ground.
2011-07-13 15:03:04 +01:00
Richard W.M. Jones
aa8a9ebf29 appliance: Add systemd to get /sbin/reboot for virt-rescue (RHBZ#661280). 2011-07-13 14:27:28 +01:00
Richard W.M. Jones
0c1cdfc6f2 docs: Update API support. 2011-07-13 09:51:00 +01:00
Richard W.M. Jones
d84db26a2b virt-resize: Arrange options in man page in alphabetical order. 2011-07-13 09:44:13 +01:00
Richard W.M. Jones
d31de200b8 virt-resize: Add --ntfsresize-force option.
Use the non-deprecated g#ntfsresize_opts API call, and also add
the --ntfsresize-force option for forcing resize.
2011-07-13 09:27:57 +01:00
Richard W.M. Jones
8c26750336 Version 1.11.15. 1.11.15 2011-07-12 19:52:27 +01:00
Richard W.M. Jones
995674a44a TODO: Attach method for disconnected operation. 2011-07-12 18:44:46 +01:00
Richard W.M. Jones
511c82df46 part-get-bootable: Fix when partitions are missing or unordered (RHBZ#602997). 2011-07-12 18:44:46 +01:00
Richard W.M. Jones
edd747a090 New API: ntfsresize-opts (RHBZ#685009).
This is a more comprehensive fix for RHBZ#685009.  Add a new API which
allows the --force flag to be passed, allowing multiple NTFS resize
operations in a single session.
2011-07-12 18:44:46 +01:00
Richard W.M. Jones
2ba2ddf211 Document that ntfsresize cannot be used multiple times (RHBZ#685009). 2011-07-12 18:44:46 +01:00
Richard W.M. Jones
4d4d3b2498 fish: Show device mapper device in tab completion (RHBZ#688062).
With this change:

><fs> luks-open /dev/vda1 lukstest
Enter key or passphrase ("key"):
><fs> ll /dev/<TAB>
/dev/mapper/lukstest  /dev/vda              /dev/vda1
2011-07-12 18:44:45 +01:00
Richard W.M. Jones
ce5a8978b5 New API: list-dm-devices (RHBZ#688062).
List device mapper devices.
2011-07-12 18:44:45 +01:00
Richard W.M. Jones
68af98e570 Don't mention /dev/mapper in docs for vg-activate{,-all} commands.
Although vg-activate and vg-activate-all do make /dev/mapper/VG-LV
devices internally, we always prefer to use the /dev/VG/LV format and
we return this format where possible.  Therefore don't mention
/dev/mapper in this documentation.
2011-07-12 18:44:45 +01:00
Richard W.M. Jones
0344248af5 protocol: Force optargs_bitmask to be passed as 0 for non-opt actions.
If the action doesn't take optional arguments, nevertheless force the
optargs_bitmask field in the header to be passed as 0, and give an
error if not.
2011-07-12 18:44:45 +01:00
Richard W.M. Jones
c0f72f13c0 list-9p: Avoid double free along error path.
This updates commit 5f10c33503.
2011-07-12 13:27:47 +01:00
Richard W.M. Jones
ebe3d8f43a Version 1.11.14. 1.11.14 2011-07-06 17:25:00 +01:00
Richard W.M. Jones
407d8fe1db mkfs-opts: Don't test optional arguments in this test. 2011-07-06 10:53:04 +01:00
Nikita A Menkovich
39d5c63be6 mkfs-opts: Add optional sectorsize parameter. 2011-07-06 10:52:04 +01:00
Richard W.M. Jones
f7a11c6043 capitests: Allow tests to properly test optional arguments.
For optional arguments, you can now specify empty string to mean no
argument, except for String optional arguments where you must use
"NOARG" (empty string meaning a supplied empty string argument).
2011-07-06 10:52:04 +01:00