Richard W.M. Jones
5a293885a3
release notes: Update bugs list because one more bug was fixed.
2012-12-12 17:36:26 +00:00
Richard W.M. Jones
903e4864c0
Update gnulib to latest version for libguestfs 1.20 release.
2012-12-11 23:24:00 +00:00
Richard W.M. Jones
668683bd3d
docs: Add gnulib update to stable release documentation.
2012-12-11 22:00:19 +00:00
Richard W.M. Jones
29cec9e235
build: Fix 'make help' output.
...
check-valgrind-local-tests -> check-valgrind-local-guests
2012-12-11 21:55:58 +00:00
Richard W.M. Jones
1a70df0ba6
Update API support ready for libguestfs 1.20 release.
2012-12-11 21:21:16 +00:00
Richard W.M. Jones
858bd9ffe0
launch: libvirt: Label sockets with svirt_socket_t (RHBZ#853393).
2012-12-11 20:33:28 +00:00
Richard W.M. Jones
966ebadb14
Update AUTHORS and BUGS files.
2012-12-11 17:16:13 +00:00
Richard W.M. Jones
436593f81f
Push and pull latest translations from Transifex.
2012-12-11 17:15:49 +00:00
Richard W.M. Jones
557b8c6a0d
Update ROADMAP for libguestfs 1.20 release.
2012-12-11 17:02:04 +00:00
Richard W.M. Jones
aeff59daa8
Update release notes and get ready for the libguestfs 1.20 release.
2012-12-11 16:58:57 +00:00
Richard W.M. Jones
0efe61b19d
Add support for Windows dynamic disks (libldm / ldmtool) (RHBZ#782167).
...
New APIs:
list-ldm-volumes
list-ldm-partitions
ldmtool-create-all
ldmtool-remove-all
ldmtool-scan
ldmtool-scan-devices
ldmtool-diskgroup-name
ldmtool-diskgroup-volumes
ldmtool-diskgroup-disks
ldmtool-volume-type
ldmtool-volume-hint
ldmtool-volume-partitions
2012-12-11 15:20:19 +00:00
Matthew Booth
a93ea64959
inspect: Remove unused is_mountable field from filesystem struct
2012-12-11 15:20:19 +00:00
Matthew Booth
66ada9ed31
inspect: Remove unused is_swap field from filesystem struct
2012-12-11 15:20:19 +00:00
Matthew Booth
4fd5b89e36
inspect: Remove unused content field from filesystem struct
...
RWMJ: Don't remove entire if-clauses.
2012-12-11 15:20:09 +00:00
Richard W.M. Jones
91b3233e4a
docs: Copy-edit documentation of the private data area.
2012-12-10 19:58:38 +00:00
Richard W.M. Jones
b554d7de82
guestfs-performance: Some copy-editing.
2012-12-10 17:23:57 +00:00
Richard W.M. Jones
7d2ae9f30f
daemon: Generate the code when libraries are statically not available.
...
Since we as developers rarely test the case where some library is
statically not available, that side of the code was hardly tested,
except by unfortunate users in the field who often hit cases where
functions were missing or misdeclared. In fact, when making this
change I noticed several bugs like that.
Change it so that this code is autogenerated, and therefore always
correct and up to date.
Previous code which looked like this:
int
optgroup_acl_available (void)
{
return 0;
}
char * __attribute__((noreturn))
do_acl_get_file (const char *path, const char *acltype)
{
abort ();
}
/* etc */
is replaced by a single line:
OPTGROUP_ACL_NOT_AVAILABLE
2012-12-10 16:20:34 +00:00
Richard W.M. Jones
5802b30ae5
generator: Change optgroups so second element is a list of functions.
...
Before this commit it was a list of function names (ie. strings)
making it hard if you wanted to get back to the original function
definition.
2012-12-10 16:14:42 +00:00
Richard W.M. Jones
2a2719d889
generate: Simplify generate_prototype ~single_line feature.
...
This is just code refactoring.
2012-12-10 16:13:15 +00:00
Richard W.M. Jones
74763eafa7
daemon: Make sure *.h files have guards against double-inclusion.
...
This is just code cleanup.
2012-12-10 15:49:48 +00:00
Richard W.M. Jones
82344085aa
erlang: Add more tests.
...
Since I made lots of changes to the Erlang bindings (prompted by
Coverity), I wasn't confident that something didn't break because
there were no real tests before.
2012-12-10 13:21:06 +00:00
Richard W.M. Jones
bc05e91f0e
./run: Add Erlang support to run script.
2012-12-10 12:41:47 +00:00
Cole Robinson
cac8c56423
tests: Fix qemu-wrapper.sh generation
2012-12-09 12:12:04 +00:00
Richard W.M. Jones
6ab4d505f1
launch: libvirt: Avoid double-close of console socket on error path (found by Coverity).
2012-12-08 16:42:38 +00:00
Richard W.M. Jones
98391ab9c6
xfs: Remove potential double-free of 'buf' in multiple places (found by Coverity).
2012-12-08 16:42:38 +00:00
Richard W.M. Jones
ac6f94fb3e
lua: Add comment about unsolved, hard to fix race (found by Coverity).
2012-12-08 16:42:38 +00:00
Richard W.M. Jones
0c6bc2f42f
erlang: Avoid unintentional sign extension (found by Coverity).
...
Comment from Coverity:
libguestfs-1.19.66/erlang/erl-guestfs-proto.c:115: sign_extension:
Suspicious implicit sign extension: "buf[0]" with type "unsigned char"
(8 bits, unsigned) is promoted in "(buf[0] << 24) | (buf[1] << 16) |
(buf[2] << 8) | buf[3]" to type "int" (32 bits, signed), then
sign-extended to type "unsigned long" (64 bits, unsigned). If
"(buf[0] << 24) | (buf[1] << 16) | (buf[2] << 8) | buf[3]" is greater
than 0x7FFFFFFF, the upper bits of the result will all be 1.
2012-12-08 16:42:38 +00:00
Richard W.M. Jones
96e59eee66
lib: 'tmpfile' is never NULL (found by Coverity).
2012-12-08 16:42:38 +00:00
Richard W.M. Jones
359c8f8902
fish: Close 'sock' in remote control code (found by Coverity).
2012-12-08 16:42:38 +00:00
Richard W.M. Jones
b18a1b4e66
md: Free up 'ret' along error path (found by Coverity).
2012-12-08 16:42:38 +00:00
Richard W.M. Jones
a23d065c49
lib: Free up the right list if guestfs_internal_lstatlist returns an error (found by Coverity).
...
We were freeing up a list, but not the right list.
2012-12-08 16:42:38 +00:00
Richard W.M. Jones
6d94de3f20
fish: Don't leak stdout_saved_fd on error path (found by Coverity).
2012-12-08 16:42:38 +00:00
Richard W.M. Jones
855f023d2e
lua: Don't leak memory for returned objects (found by Coverity).
2012-12-08 16:42:38 +00:00
Richard W.M. Jones
9733665bc6
python: Don't leak memory along error paths (found by Coverity).
2012-12-08 16:42:38 +00:00
Richard W.M. Jones
a1e37b7ea5
perl: Use safe_malloc instead of malloc (found by Coverity).
2012-12-08 16:42:37 +00:00
Richard W.M. Jones
3fe5f0a971
php: Return SUCCESS from PHP_MINIT_FUNCTION (found by Coverity).
2012-12-08 16:42:37 +00:00
Richard W.M. Jones
489cb059c2
fish: Don't segfault here is 'words' happens to be NULL (found by Coverity).
2012-12-08 16:42:37 +00:00
Richard W.M. Jones
40bfce7629
lib: Avoid segfault if guestfs_internal_readlinklist returns an error (found by Coverity).
2012-12-08 16:42:37 +00:00
Richard W.M. Jones
42e0cf77f3
inspect: Remove dead code (found by Coverity).
2012-12-08 16:42:37 +00:00
Richard W.M. Jones
9df159b34a
launch: appliance: Really add dummy appliance slot (found by Coverity).
...
In the previous code, appliance was unconditionally set to NULL and so
we never added the dummy appliance slot to g->drives. This probably
doesn't matter, since hotplugging doesn't work for the 'appliance'
attach-method. Despite that, it's better to get this right.
This fixes commit ed7fda161e .
2012-12-08 16:42:37 +00:00
Richard W.M. Jones
e9e5a0f94e
daemon: Fix error checking in function (found by Coverity).
2012-12-08 16:42:37 +00:00
Richard W.M. Jones
7941f6785e
fish: copy-out: Fail on some errors when creating output directory (found by Coverity).
...
However it's not an error if the output directory already exists.
2012-12-08 16:42:37 +00:00
Richard W.M. Jones
15d5c94377
daemon: Explicitly ignore return value from modprobe command (found by Coverity).
2012-12-08 16:42:37 +00:00
Richard W.M. Jones
baf5a06224
fish: Ignore failure of mkdir (noted by Coverity).
2012-12-08 16:40:54 +00:00
Richard W.M. Jones
091b98a9ea
tmpdirs: Explicitly ignore return value from guestfs___cmd_run to keep Coverity happy.
...
We don't care if this command fails.
2012-12-08 13:26:04 +00:00
Richard W.M. Jones
aa785c85d9
lib: Explicitly ignore return value from guestfs_parse_environment in guestfs_create (found by Coverity).
...
The purpose of adding guestfs_create_flags was so that users could
check for errors from guestfs_parse_environment if they need to.
2012-12-08 13:26:04 +00:00
Richard W.M. Jones
59b51274eb
Check for error from some guestfs_set_* calls (found by Coverity).
...
For some guestfs_set_* calls, add checks for error, when error might
possibly occur. eg. It's plausible that guestfs_set_network might
fail if the attach-method being used doesn't support it (although this
doesn't happen at the moment).
In other cases, don't check for errors, eg. if the error doesn't
matter or there's nothing we could plausibly do about it.
2012-12-08 13:25:59 +00:00
Richard W.M. Jones
8331d46384
virt-rescue: Document a method to capture core dumps from within the rescue environment.
2012-12-07 15:25:04 +00:00
Richard W.M. Jones
bb0de6938a
daemon: Fix noreturn error in acl and capabilities code.
...
This is an improvement over the original fix in
commit fe4cdb2a47 .
2012-12-07 15:24:49 +00:00
Richard W.M. Jones
f5e9e2780b
configure.ac: Fix comment.
...
I spent a lot of time looking at how gnulib "manywarnings" works, and
this comment reflects my improved understanding.
2012-12-07 15:24:18 +00:00