Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Differentiate 'distro' and 'distrofamily' in Sys::Guestfs::Lib | Matthew Booth | 2009-07-17 | 2 | -13/+50 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change distro in the output formally known as virt-inspector to reflect the actual distro. Possible values are now: fedora, rhel, centos, scientific, debian. Add new distrofamily entry which is one of: redhat, debian. Currently all distros except 'debian' are in the redhat family. This allows you to, for example, select a RHEL/CentOS/Scientific Linux specific kernel for installation rather than assuming they're all the same. Note this also changes the behaviour of virt-inspector --query. It will now only return rhel=yes for RHEL. | |||||
* | | RHEL 5.4 fix: Check for qemu-kvm binary in /usr/libexec | Richard W.M. Jones | 2009-07-17 | 1 | -1/+1 | |
|/ | ||||||
* | cat: Example of finding DHCP IP address of a VM. | Richard Jones | 2009-07-17 | 1 | -0/+4 | |
| | ||||||
* | Fix non-srcdir builds: Ignore perl/Makefile-pl.old | Richard Jones | 2009-07-17 | 1 | -0/+1 | |
| | ||||||
* | Fix non-srcdir builds: further fixes to OCaml build rules. | Richard Jones | 2009-07-17 | 1 | -0/+1 | |
| | ||||||
* | Fixes for non-srcdir builds: Only include POTFILES from SUBDIRS directories. | Richard Jones | 2009-07-16 | 1 | -4/+4 | |
| | ||||||
* | Fix non-srcdir builds: fix OCaml build rules. | Richard Jones | 2009-07-16 | 1 | -5/+5 | |
| | ||||||
* | Fix non-srcdir builds: Files generated by configure should be in the tarball. | Richard Jones | 2009-07-16 | 1 | -2/+0 | |
| | ||||||
* | Fix non-srcdir builds: Don't include generated *_protocol.c files in POTFILES. | Richard Jones | 2009-07-16 | 2 | -2/+2 | |
| | ||||||
* | Don't clean up some non-generated files. | Richard Jones | 2009-07-16 | 1 | -2/+2 | |
| | ||||||
* | Fix for non-srcdir builds: more misc fixes. | Richard Jones | 2009-07-16 | 4 | -7/+18 | |
| | ||||||
* | Fix for non-srcdir builds: Run src/generator.ml from the srcdir. | Richard Jones | 2009-07-16 | 2 | -5/+5 | |
| | | | | | | | Note that files generated by src/generator.ml are stored in the srcdir, *not* the builddir. The reason is so that they can be included in the tarball and will appear in the srcdir for tarball builds. | |||||
* | More misc fixes to non-srcdir builds. | Richard Jones | 2009-07-16 | 3 | -2/+7 | |
| | ||||||
* | More misc fixes for non-srcdir builds. | Richard Jones | 2009-07-16 | 2 | -4/+10 | |
| | ||||||
* | Miscellaneous fixes for non-srcdir builds. | Richard Jones | 2009-07-16 | 4 | -6/+7 | |
| | ||||||
* | New commands: 'mkmountpoint' and 'rmmountpoint' | Richard W.M. Jones | 2009-07-15 | 3 | -1/+88 | |
| | | | | | | | | | | | | | | | | | | | | | These specialized commands are used to create additional mountpoints before mounting filesystems. They are only used where you want to mount several unrelated or read-only filesystems together, and need additional care to use correctly. Here is how to use these calls to unpack the "Russian doll" nest of a Fedora 11 live CD: add-ro Fedora-11-i686-Live.iso run mkmountpoint /cd mkmountpoint /squash mkmountpoint /ext3 mount /dev/sda /cd mount-loop /cd/LiveOS/squashfs.img /squash mount-loop /squash/LiveOS/ext3fs.img /ext3 The inner filesystem is now unpacked under the /ext3 mountpoint. | |||||
* | New command: 'mountpoints' which returns a hash of device -> mountpoint. | Richard W.M. Jones | 2009-07-15 | 3 | -4/+41 | |
| | ||||||
* | Build fix: perl-libintl is not required for the basic Perl bindings. | Richard Jones | 2009-07-15 | 1 | -1/+1 | |
| | ||||||
* | Version 1.0.611.0.61 | Richard Jones | 2009-07-15 | 1 | -1/+1 | |
| | ||||||
* | New tool virt-cat: display a file in a virtual machine. | Richard Jones | 2009-07-15 | 10 | -44/+367 | |
| | | | | | | | | | This script is just a simpler way to cat a file from a VM. It is otherwise equivalent to using guestfish. virt-cat someguest /etc/fstab virt-cat someguest /var/log/messages | tail | |||||
* | Make Perl strings translatable using perl-libintl. | Richard Jones | 2009-07-15 | 11 | -102/+618 | |
| | | | | | | | | | All Perl strings are now marked as translatable using __"string" or __x("string {placeholder}", placeholder => $_). Perl strings now get copied to the PO files. The po/POTFILES.in file is now updated automagically whenever we add new *.c, *.pl or *.pm files into the repository. | |||||
* | guestfish: Add tilde expansion for paths (RHBZ#511372). | Richard Jones | 2009-07-15 | 5 | -1/+152 | |
| | | | | | | | | | | | | | | | | | | | This commit adds tilde expansion for local users in guestfish: ><fs> echo "~" ~ ><fs> echo ~ /home/rjones ><fs> echo ~foo ~foo ><fs> echo ~rjones/bar /home/rjones/bar ><fs> echo ~roo ~roo ><fs> echo ~root/foo /root/foo ><fs> echo ~root /root | |||||
* | Version 1.0.60.1.0.60 | Richard W.M. Jones | 2009-07-14 | 1 | -1/+1 | |
| | ||||||
* | java/Makefile.inc: Include this generated file. | Richard W.M. Jones | 2009-07-14 | 3 | -2/+3 | |
| | | | | | | We have to include this generated file because it is part of the build system, thus required to exist before the generator runs. | |||||
* | File missing from tarball: rc_protocol.x | Richard W.M. Jones | 2009-07-14 | 1 | -0/+3 | |
| | ||||||
* | Version 1.0.59.1.0.59 | Richard W.M. Jones | 2009-07-14 | 3 | -84/+193 | |
| | ||||||
* | RHEL 5: header was called <sys/xattr.h> | Richard W.M. Jones | 2009-07-14 | 2 | -3/+10 | |
| | ||||||
* | Fix: daemon/xattr.c can now compile even when no xattr support. | Richard W.M. Jones | 2009-07-14 | 1 | -3/+3 | |
| | ||||||
* | Guestfish feature: remote control of guestfish over a pipe. | Richard Jones | 2009-07-14 | 10 | -17/+508 | |
| | | | | | | | | | | | | | | | | | The use case is to have a long-running guestfish process in a shell script, and thus to avoid the overhead of starting guestfish each time. Do: eval `guestfish --listen` guestfish --remote somecmd guestfish --remote someothercmd guestfish --remote exit This patch also supports having multiple guestfish processes at the same time. The protocol is simple XDR messages over a Unix domain socket. | |||||
* | Removed getfattr/setfattr from TODO list, since now implemented. | Richard W.M. Jones | 2009-07-14 | 1 | -2/+0 | |
| | ||||||
* | Support for Linux extended attributes. | Richard W.M. Jones | 2009-07-14 | 6 | -5/+416 | |
| | | | | | | | | | | | | | | | | This commit adds six calls to support Linux extended attributes. They are: getxattrs list all extended attributes for a file or directory setxattr add/replace an extended attribute removexattr remove an extended attribute lgetxattrs \ lsetxattr (same as above, but operate on symbolic links) lremovexattr / See attr(5) for more information. This also adds support for the FBuffer field type, which maps to an XDR opaque<> or a C (int, char *) pair. | |||||
* | virt-inspector: Ignore swap partitions marked as "none". | Richard Jones | 2009-07-14 | 1 | -1/+1 | |
| | ||||||
* | Improve launch error message. | Richard Jones | 2009-07-14 | 1 | -1/+1 | |
| | | | | | | | | | | | | | The previous error message was confusing for new users: libguestfs: error: guestfs_mount: call launch() before using this function The new error message explains the action that the user must take, especially if they are using guestfish: ><fs> mount /dev/sda1 / libguestfs: error: guestfs_mount: call launch before using this function (in guestfish, don't forget to use the 'run' command) | |||||
* | Add reiserfs module to kernel whitelist. | Richard Jones | 2009-07-14 | 1 | -0/+2 | |
| | ||||||
* | Only allow virt-v2v to be run on single root guests (ie. no multi-boot). | Richard Jones | 2009-07-13 | 1 | -9/+13 | |
| | ||||||
* | Ignore old-style initrd which is a compressed ext2 filesystem. | Richard Jones | 2009-07-13 | 1 | -8/+14 | |
| | | | | | | | 'cpio' chokes on these, taking ages to decide that they are not cpio files, and producing masses of messages. This was causing virt-inspector to be very slow (many minutes) on RHEL 3 guests. With this fix, speed is back to normal. | |||||
* | Implement new 'zfile' command, to show file type inside compressed files. | Richard Jones | 2009-07-13 | 3 | -21/+92 | |
| | ||||||
* | Ignore java/Makefile.inc (generated file). | Richard Jones | 2009-07-13 | 1 | -0/+1 | |
| | ||||||
* | Automatically generate list of built java sources | Matthew Booth | 2009-07-13 | 2 | -2/+15 | |
| | ||||||
* | Revert "Fix checking of generator being run from the right directory." | Matthew Booth | 2009-07-13 | 1 | -3/+5 | |
| | | | | | | | This reverts commit 35c646965a21d452cf74ef3683612210a653c36d. As well as reverting this change, add a comment explaining that configure must run first. | |||||
* | Move BUILT_SOURCES so the comment is back in the right place. | Richard Jones | 2009-07-13 | 1 | -11/+11 | |
| | ||||||
* | Order alphabetically the options in guestfish.1 manpage. | Richard Jones | 2009-07-13 | 1 | -11/+11 | |
| | ||||||
* | Guestfish: implement -x option, echo commands before executing them. | Richard W.M. Jones | 2009-07-11 | 2 | -2/+19 | |
| | ||||||
* | Fix: '-D' was not recognized as a parameter to guestfish. | Richard W.M. Jones | 2009-07-11 | 1 | -1/+1 | |
| | ||||||
* | Regression test: Test reopening the handle in the same process. | Richard W.M. Jones | 2009-07-11 | 2 | -1/+43 | |
| | ||||||
* | Guestfish: Add 'reopen' command to reopen the libguestfs handle. | Richard W.M. Jones | 2009-07-11 | 5 | -4/+98 | |
| | ||||||
* | Add missing documentation for "more" command in guestfish help output. | Richard W.M. Jones | 2009-07-11 | 1 | -0/+2 | |
| | ||||||
* | Add tests to many non-daemon functions. | Richard W.M. Jones | 2009-07-11 | 1 | -10/+25 | |
| | | | | | | | Tests are added to the following functions: get_qemu get_path get_append get_autosync is_ready is_config is_launching is_busy set_memsize get_memsize get_pid | |||||
* | Add TestOutputIntOp, CompareWithIntOp. | Richard W.M. Jones | 2009-07-11 | 1 | -1/+27 | |
| | | | | | These constructors allow enhanced tests where we compare the result of a test against some operator, eg. >= 1 or < 5 | |||||
* | Test for "version" command should be InitNone. | Richard W.M. Jones | 2009-07-11 | 1 | -1/+1 | |
| |