Commit Graph

1814 Commits

Author SHA1 Message Date
Richard W.M. Jones
42cfba12da Version 1.2.14. 1.2.14 2010-10-23 14:29:28 +01:00
Richard W.M. Jones
1784e08830 daemon: Use stdint UINT64_C instead of <const>ULL.
(cherry picked from commit cd29c50ca8)
2010-10-23 13:15:31 +01:00
Richard W.M. Jones
089ccb28ae inspector: Add comment about why --fish option implies write mode.
(cherry picked from commit 2109d8d86a)
2010-10-23 13:15:02 +01:00
Richard W.M. Jones
8736015a2c ruby: Run tests one at a time, instead of in parallel.
(cherry picked from commit 8f30c3c3f8)
2010-10-23 13:14:38 +01:00
Richard W.M. Jones
26bc340ea1 generator: Refactor code for Perl bindings.
This simplifies the code that generates the Perl bindings
by removing repeated sections.

Cherry picked from ea62091980
and backported to stable-1.2.
2010-10-23 13:13:46 +01:00
Richard W.M. Jones
7b941097a1 generator: Missing newline character.
Cherry picked from ed74706d80.
2010-10-23 13:01:33 +01:00
Richard W.M. Jones
275b5fa560 fish: Change 'int argc' to 'size_t argc' throughout.
Cherry picked from commit 6391d1a7cf
and backported to stable-1.2 branch.
2010-10-23 13:01:29 +01:00
Richard W.M. Jones
edd5f7f737 df: Correctly quote libvirt domain and filesystem in --csv mode (RHBZ#639986).
This fixes virt-df --csv when used with libvirt domains that contain
quotes, spaces, commas and other lesser-used characters.
(cherry picked from commit f7475ec577)
2010-10-23 12:34:06 +01:00
Richard W.M. Jones
09cf74a339 Freshen POD (manual pages) stylesheet.
(cherry picked from commit 533aff2879)
2010-10-23 12:27:39 +01:00
Richard Jones
9cb90dab56 appliance: Ignore unreadable dbus service file (Fedora 15).
(cherry picked from commit e319b120ac)
2010-10-23 12:25:16 +01:00
Richard W.M. Jones
5222be29f8 fish: In guestfish(1) turn command references into links.
Cherry picked from commit 585fceb335
and backported for stable-1.2 branch.
2010-10-23 12:22:03 +01:00
Richard W.M. Jones
53da177806 fish: Correction for online help for 'edit' and 'more' commands.
This corrects commit b5c287bcd4
and commit 639ca1828b.
(cherry picked from commit 3eb76554ef)
2010-10-23 12:19:52 +01:00
Richard Jones
ab93062367 configure: Make "fedora-13" the default repository.
(cherry picked from commit 6b2ae9a8b0)
2010-10-23 12:19:36 +01:00
Richard Jones
c7c005509f fish: Update copyright dates in usage message.
(cherry picked from commit 42b62b8240)
2010-10-23 12:18:43 +01:00
Richard Jones
4feaaa4750 fish: Remove extraneous space from usage message.
(cherry picked from commit 31a2c006cd)
2010-10-23 12:18:22 +01:00
Richard Jones
01b31f2189 syntax: Replace _prohibit_regexp with _sc_search_regexp.
(cherry picked from commit 3d994f3d8e)
2010-10-23 12:14:04 +01:00
Richard Jones
1f6985069f daemon: Move 'exists', 'is-file' and 'is-dir' to separate file.
This commit is just code movement.
(cherry picked from commit 3a99114360)
2010-10-23 12:12:21 +01:00
Richard Jones
d701a80bfd generator: Fix incorrect shortdesc in docs for 'is-dir' command.
(cherry picked from commit 55b6e18f95)
2010-10-23 12:11:53 +01:00
Richard Jones
fa014fae5f generator: Fix documentation for 'is-file' command.
(cherry picked from commit 22aa9268f5)
2010-10-23 12:11:26 +01:00
Richard Jones
d3496005cd fish: Fix 'more' command to work with any file.
(cherry picked from commit 639ca1828b)
2010-10-23 12:10:49 +01:00
Richard Jones
0983374d9b fish: Fix 'edit' command to work with any file.
Cherry picked from commit b5c287bcd4.
2010-10-23 12:09:44 +01:00
Richard Jones
feb0c716e9 guestfs: Reference guestfs-browser architecture in threads documentation.
(cherry picked from commit 13be761682)
2010-10-23 12:08:11 +01:00
Richard Jones
22561cca83 guestfs: More accurate documentation for initial message.
(cherry picked from commit e2ef068cb7)
2010-10-23 12:07:49 +01:00
Richard Jones
85ffd3317a guestfs: Remove traces of documentation for non-existent 'low-level API'
(cherry picked from commit 6d9f8f5c14)
2010-10-23 12:07:07 +01:00
Richard Jones
3443bbd0d5 guestfs: Fix typo in man page.
(cherry picked from commit f3c05da4f9)
2010-10-23 12:06:30 +01:00
Richard Jones
a6096094c2 Version 1.2.13. 1.2.13 2010-09-08 16:10:51 +01:00
Richard Jones
0fb9876928 test-tool: Add a 'run-test-tool-locally' script.
This can be used to run the test tool without installing it.
It sets the environment variables and command line arguments
up correctly to run the tool from the build directory.
(cherry picked from commit 06c906168c)
2010-09-08 14:18:30 +01:00
Richard Jones
a9cff0636f daemon: Don't warn about 'long long' usage.
This removes a fatal warning (-Werror) which stops compilation
on 32 bit machines.
(cherry picked from commit aa96881a51)
2010-09-08 14:17:56 +01:00
Richard Jones
c6b58f3890 build: guestfs-structs.h was missing from libguestfs_la_SOURCES.
(cherry picked from commit 5fc69ce3ec)
2010-09-08 14:17:34 +01:00
Richard Jones
b8d2cae621 perl: Add documentation about testing availability of methods and features.
(cherry picked from commit 0f24424f35)
2010-09-08 14:14:55 +01:00
Richard Jones
2ad4a17a95 Consistent use of 'void *opaque' to refer to opaque pointer in C API.
We inconsistently used 'void *data' or 'void *opaque' all over to
refer to the same thing.  Use 'void *opaque' in all places in the
published API and documentation.

Cherry picked from commit 867319ec5f.
2010-09-08 14:13:21 +01:00
Richard Jones
d2002a5b94 build: Don't add version extra string to the version number.
If this string was non-empty, then it broke a lot of things because
autoconf and other parts of the build system were expecting this
string to contain a simple MAJOR.MINOR.RELEASE version number.

This requires changes to guestfish and guestmount so they use the
guestfs_version API to fetch the version from the library.  (The
Perl tools were already doing it this way).  In a way this is more
accurate, because it's no longer hard-coded in the binary, but
fetched from the dynamically linked libguestfs.so.
(cherry picked from commit 4932fdca3c)
2010-09-08 14:10:14 +01:00
Richard Jones
12cafc53f0 Version 1.2.12. 1.2.12 2010-08-27 08:22:32 +01:00
Richard Jones
e167a8af40 Rename global 'xdr_str'.
Two bits of XDR both contained a definition called 'str' which
means that 'xdr_str' was being exported globally twice.  Because
of the linker script this didn't affect us.  But it's best to
rename this global so that conflicts cannot arise.
(cherry picked from commit 27ef6f9171)
2010-08-26 22:41:57 +01:00
Daniel Berrange
58e1853685 Add -nodefconfig command line option to qemu.
Without this option, qemu will read some defaults from /etc/qemu/
configuration files.

Cherry picked from commit 6d15d4e7c2
and backported to stable 1.2 branch.
2010-08-26 22:41:19 +01:00
Richard Jones
1b433ba1f6 Whitespace change: Add blank line between structures and functions.
(cherry picked from commit 4d2f1632ad)
2010-08-26 22:35:33 +01:00
Richard Jones
c1d7db92e3 appliance: Remove some obsolete testing rules from Makefile.am
This haven't been used -- and haven't worked -- for a long time.
(cherry picked from commit c56fa58721)
2010-08-26 22:34:51 +01:00
Richard W.M. Jones
f55864b828 Build workaround for Python 2.4.x in RHEL 5.
See:
http://www.python.org/dev/peps/pep-0353/#conversion-guidelines
(cherry picked from commit 012b1c71f4)
2010-08-17 18:54:26 +01:00
Richard Jones
10ad42499c Version 1.2.11. 1.2.11 2010-08-17 16:01:40 +01:00
Richard Jones
f94c088ef3 generator: Fix typo in error message for RConstOptString.
(cherry picked from commit 29925244c1)
2010-08-17 16:01:40 +01:00
Richard Jones
85bb71b5d5 regressions: Don't print misleading 'Expect error ...' lines.
Some tests in the regressions directory deliberately print
error messages.  As long as they still PASS, this is OK.

However these tests also printed some misleading messages
about what error to expect.  Since error messages were slightly
different across distros, these messages were not accurate.

Therefore remove these messages, and replace with a general
message before all tests telling users not to worry about
errors from the tests as long as the tests don't fail.

Cherry picked from commit e7ee6eebed
and rebased for stable branch.
2010-08-17 16:01:40 +01:00
Richard Jones
3f29445be9 Move variable initialization close to variable use.
(cherry picked from commit 2fd8c259d3)
2010-08-17 16:01:40 +01:00
Richard Jones
8f549bd20a Revert "add_drive_ro adds readonly=on option if available." (RHBZ#617200).
Adding the readonly=on option is not so clever.  This causes
qemu to present the disk as read-only to the guest.  (The
expected behaviour of snapshots=on,readonly=on was that it
would open the disk O_RDONLY but present a writable disk to
the guest).

Since the guest sees a read-only disk, we are unable to do any
recovery if a filesystem on the disk is inconsistent.  This basically
prevents most accesses to live disk images.

What we really want is a qemu option which presents a writable
disk to the guest, but only opens the disk on the host side with
O_RDONLY, to alleviate the udev bug RHBZ#571714.

This reverts commit 676462684e.
(cherry picked from commit 799d52be4f)
2010-08-17 16:01:40 +01:00
Richard Jones
17de7c785c generator: Remove unnecessary parameter.
The 'name' parameter is not used on the right hand side of the
match, so it can be removed.

Cherry picked from commit 2e7da2a2f3
and rebased for stable branch.
2010-08-17 16:01:36 +01:00
Richard Jones
0288466564 Use an unsigned type (size_t) for all loop iterators.
This resolves a warning from gcc 4.5:
  assuming signed overflow does not occur when simplifying
    conditional to constant

This page explains the issues in some detail:
  http://www.airs.com/blog/archives/120
(cherry picked from commit 321ca1ef91)
2010-08-17 16:01:36 +01:00
Richard Jones
902a732ffd generator: Don't hard-code name in DeviceList check.
Only one function currently uses DeviceList.  The generated code
unfortunately hard-coded the argument name from that function.

Cherry picked from aac51942aa
and rebased for stable branch.
2010-08-17 16:01:32 +01:00
Richard Jones
51cfb22055 build: Don't warn about 'long long'.
Various language bindings simply need this, so we have to allow
it even though it's a GCC extension.
(cherry picked from commit 0c0976496d)
2010-08-17 15:14:51 +01:00
Richard Jones
14cc033ade Version 1.2.10. 1.2.10 2010-07-12 10:16:20 +01:00
Richard Jones
044a7d083f tar: Remove redundant use statement.
(cherry picked from commit 70d27f6e79)
2010-07-12 08:46:15 +01:00
Richard Jones
a0c41d127d edit: Clean up temporary files.
Note to self: The 'tempfile' function does *not* default to
removing files with the program exits!

For stable-1.2 branch:
 - Cherry picked from commit 10ea14a3f1
 - Rebase.
2010-07-12 08:45:31 +01:00