summaryrefslogtreecommitdiffstats
path: root/README
Commit message (Collapse)AuthorAgeFilesLines
* New APIs: Implement Linux filesystem capabilities.Richard W.M. Jones2012-11-221-0/+2
| | | | | | This adds the following new APIs: - cap_get_file - cap_set_file
* tests: Replace 'make extra-tests' with individual tests.Richard W.M. Jones2012-11-131-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | 'make extra-tests' was a monolithic set of tests that did all sorts of things: valgrind, tests over local guests, tests with upstream qemu, tests with upstream libvirt, tests with the appliance attach method. This made it hard to perform individual tests, eg. just valgrind testing. It was also hard to maintain because the tests were not located in the same directories as the programs and sometimes duplicated tests that were run elsewhere. This commit splits up 'make extra-tests' into 5 separate targets: make check-valgrind # run a subset of tests under valgrind make check-valgrind-local-guests # test under valgrind with local guests make check-with-appliance # test with attach-method == appliance make check-with-upstream-qemu # test with an alternate/upstream qemu make check-with-upstream-libvirt # test with an alternate/upstream libvirt (You can also still run 'make extra-tests' which is now simply a rule that runs the above 5 targets in order). This replaces everything that was in the tests/extra directory, so that has now gone.
* libvirt >= 0.10.2 required for libvirt backend.Richard W.M. Jones2012-09-241-1/+1
|
* rescue: Add an expect-driven test for the virt-rescue command.Richard W.M. Jones2012-09-041-0/+3
| | | | | | | | This command was not tested at all. As a result we didn't notice that it was broken for a long time (RHBZ#853159). This adds a test that drives the command through a pty. It uses the perl 'Expect' module, although this is not required.
* Copy the kernel so that libvirt can add an SELinux label to it. NB. This ↵Richard W.M. Jones2012-08-311-1/+1
| | | | requires febootstrap >= 3.20 with --copy-kernel flag.
* docs: Revise README file.Richard W.M. Jones2012-08-251-10/+14
|
* launch: libvirt: Minimum libvirt version is now 0.10.0.Richard W.M. Jones2012-08-211-1/+1
|
* Replace podwrapper shell script with custom Perl script.Richard W.M. Jones2012-07-161-2/+3
| | | | | | | | This uses Pod::Simple so it properly parses the input POD and can generate proper custom output as required specifically by libguestfs. One immediate benefit is that links between and within manual pages now work mostly correctly.
* qemu or qemu-kvm >= 1.1.0 is required.Richard W.M. Jones2012-07-041-1/+1
| | | | | | Earlier versions of qemu contained a bug in the qcow2 code which causes qemu to segfault when shutting down and flushing its internal cache, and this can result in data loss.
* Require febootstrap >= 3.17.Richard W.M. Jones2012-06-141-1/+1
|
* Require febootstrap >= 3.16.Richard W.M. Jones2012-06-131-1/+1
|
* appliance: Add support for virtio-scsi.Richard W.M. Jones2012-06-121-1/+2
| | | | This requires febootstrap >= 3.15.
* Require QEMU >= 1.0.Richard W.M. Jones2012-06-121-1/+1
| | | | | | | | | | | QEMU 1.0 was released at the end of 2011. Remove all the cruft about detecting broken -machine type which was only required for QEMU 0.15. This also reverts commit 30ecbf3ec2ada68f7e125a180553e31b069033b7. Even on ARM you can pass -machine accel=kvm:tcg and qemu does the right thing, so I'm not sure why we wanted to disable that.
* ppc64: Update README with notes about ppc64 support.Richard W.M. Jones2012-06-081-5/+11
|
* arm: Add configure flag '--with-qemu-options'.Richard W.M. Jones2012-05-121-0/+27
| | | | | | | This flag allows extra QEMU options to be passed on the command line. This is useful mainly on arm (see the notes in the updated README file).
* doc: Add a note about compiling under clang.Richard W.M. Jones2012-05-111-0/+14
|
* Add gettext support for OCaml tools (virt-resize, virt-sparsify, virt-sysprep).Richard W.M. Jones2012-05-011-0/+2
| | | | | | | | Note that this support is optional: To enable it, install the ocaml-gettext library from http://forge.ocamlcore.org/projects/ocaml-gettext . If this library is not installed, then configure detects this and inserts dummy gettext functions that do nothing.
* debian: Suggest 'apt-get build-dep' to install dependencies.Richard W.M. Jones2012-04-041-3/+10
|
* Remove debian/ subdirectory.Richard W.M. Jones2012-03-221-3/+5
|
* build: Make netpbm and icoutils into proper optional dependencies.Richard W.M. Jones2012-03-071-0/+3
| | | | | | | | Netpbm and icoutils (wrestool) have always been dependencies. Since they are not always present, make these into optional dependencies (which they were, sort of, before). Also document these dependencies in the README file.
* Tempus fugit.Richard W.M. Jones2012-01-181-1/+1
| | | | Update all copyright dates to 2012.
* Add 'make extra-tests' rule and run extra tests.Richard W.M. Jones2011-11-241-0/+8
| | | | | These tests are optional, and require a special environment and tools to run.
* virt-sysprep: Don't use xmlstarlet.Richard W.M. Jones2011-11-031-3/+1
| | | | Use virt-inspector --xpath option instead.
* resize: Remove requirement for ocaml Pcre library.Richard W.M. Jones2011-11-031-4/+0
| | | | | This library is not available in RHEL 6, and in any case removing the dependency is a simple change.
* virt-sysprep: Switch to using guestmount, add more features.Richard W.M. Jones2011-10-131-0/+6
| | | | | | | | | | | | | | | | This switches virt-sysprep to use guestmount instead of guestfish. This makes the script a little bit easier to modify for sysadmins. This commit also adds: - dhcp-client-state - dhcp-server-state - logfiles - random-seed - smolt-uuid - yum-uuid SELinux relabelling, and a section on security in the manual page.
* Add systemtap/DTrace probes.Richard W.M. Jones2011-10-101-0/+3
| | | | | Mainly this is a documentation change. However a sample of DTrace-compatible userspace probes are also added.
* Require PCRE library.Richard W.M. Jones2011-07-251-2/+2
| | | | This library is widely available in distros.
* Refresh README file.Richard W.M. Jones2011-07-131-75/+79
| | | | | | | 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.
* virt-win-reg: Add --unsafe-printable-strings option.Richard W.M. Jones2011-05-171-1/+1
| | | | This also requires hivex >= 1.2.7.
* Remove local LIBGUESTFS_PATH detection from guestfish and guestmount.Richard W.M. Jones2011-04-161-5/+7
| | | | | | | | | | | Remove the hack that let you run ./fish/guestfish or ./fuse/guestmount. You now have to do: ./run ./fish/guestfish or ./run ./fuse/guestmount to run these programs without installing.
* Remove ad-hoc run*locally scripts, replace with './run'Richard W.M. Jones2011-04-161-0/+28
| | | | | Remove all the run*locally scripts and replace with a single top level ./run shell script.
* README: virtio-serial is required.Richard W.M. Jones2011-04-121-2/+2
|
* Rewrite virt-resize in OCaml.Richard W.M. Jones2011-04-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* mkisofs is obsolete. Require genisoimage everywhere instead.Nikita A Menkovich2011-04-021-1/+1
|
* Add /etc/libguestfs-tools.conf configuration file.Richard W.M. Jones2011-03-311-0/+2
| | | | | This allows the default for --ro or --rw to be controlled for the three tools guestfish, guestmount and virt-rescue.
* README: Note that getfacl, getfattr are optional dependencies.Richard W.M. Jones2011-03-281-0/+2
|
* README: Note that po4a is mandatory if compiling from git.Richard W.M. Jones2011-01-151-1/+3
|
* docs: Refresh README file.Richard W.M. Jones2010-12-191-40/+12
|
* README: Advise using febootstrap >= 3.3.Richard W.M. Jones2010-12-121-1/+1
|
* appliance: Change to using febootstrap 3.x supermin appliance.Richard W.M. Jones2010-12-051-114/+9
| | | | | | | | | This removes all support for building the ordinary / old style appliance using febootstrap 2.x, debootstrap, debirf, fakeroot and fakechroot. Instead this uses febootstrap 3.x to build the supermin appliance in a simpler cross-distro manner.
* build: Centralize all POD manipulation in 'podwrapper.sh' script.Richard W.M. Jones2010-11-241-2/+2
|
* build: virt-make-fs requires String::ShellQuote, add to configure.Richard W.M. Jones2010-11-241-0/+2
|
* inspect: Detect if db_dump and db_load programs are available.Richard W.M. Jones2010-11-241-0/+3
| | | | | | If db_dump is not available then disable RPM application detection. Note these utilities have odd names on Debian.
* Update README to reflect Perl modules that are really still required.Richard W.M. Jones2010-11-231-2/+7
|
* build: xml-light is no longer required (thanks Maxim Koltsov).Richard W.M. Jones2010-11-111-3/+2
| | | | | | At some point we removed the last thing that required xml-light, but were still testing for it at various places in the build. This removes all traces.
* fish: Use core add-domain API to implement '-d' option.Richard Jones2010-11-111-2/+2
| | | | | | This also makes libxml2 and libvirt into optional dependencies. If they are missing then the core API will print an error, as will the '-d' option to guestfish.
* lib: Make pcre, libmagic and hivex libraries optional.Richard Jones2010-11-101-2/+2
| | | | | | | | | | | | | | | This change makes these libraries optional. If they are not available at compile time then certain core API features will be disabled (see below). This also changes PCRE detection to use pkg-config instead of the ad hoc autoconf checks. The large inspect.c file has been split out into separate function-specific files. file-architecture: requires pcre & libmagic inspection: requires pcre & hivex
* lib: Augeas (client side) is not needed by the library.Richard Jones2010-11-101-2/+2
| | | | However it is used by the daemon.
* lib: Expose errno through new API guestfs_last_errno.Richard W.M. Jones2010-11-031-0/+2
| | | | | | | If either the daemon sends back an errno, or a system call fails in the library, save the errno in the handle and then make it available to callers through the guestfs_last_errno function.
* Call febootstrap-supermin-helper using the new -u and -g optionsMatthew Booth2010-10-281-1/+1
| | | | | | | | | | | | | | Use febootstrap-supermin-helper's new -u and -g command line options to setuid, rather than doing it in libguestfs. This resolves an issue with the generation of the cached appliance checksum. The checksum was being generated by a call to febootstrap-supermin-helper through popen(). Unfortunately, a bash misfeature meant that euid would be reset to uid, and the checksum was generated for uid, not euid. When virt-v2v is writing to a RHEV target, uid == 0 and euid == 36, which resulted in a cached appliance being created for root with permissions for uid 36. Note this requires febootstrap 2.10.