summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add commented-out support for alternate guestfwd syntax.Richard W.M. Jones2009-07-211-9/+32
| | | | | | This commit just moves code around. The new support is not enabled because it doesn't work. See qemu-devel, subject "guestfwd option doesn't allow supplementary ,server,nowait"
* configure: Detect new-style guestfwd support (RHBZ#512957)Richard W.M. Jones2009-07-211-7/+13
| | | | However new qemu 0.10.5 still doesn't work.
* Library: Pass more options on the Linux kernel command line.Richard W.M. Jones2009-07-211-1/+8
| | | | | | | Always pass: noapic (APIC causes problems for lots of people) udevtimeout=300 (for very slow qemu using softemu) acpi=off (ACPI is troublesome and unnecessary, so turn it off)
* Split $os->{version} into $os->{major_version} and $os->{minor_version}Matthew Booth2009-07-212-16/+41
|
* Allow TMPDIR to override directory used for temporary files (RHBZ#512905).Richard W.M. Jones2009-07-213-1/+31
|
* Generator: Implement RBufferOut and "read-file" call.Richard W.M. Jones2009-07-216-56/+287
| | | | | | | | | This commit implements the RBufferOut type for returning arbitrary 8 bit data from calls. We also implement the guestfs_read_file call to read a whole file that can contain any 8 bit content, but up to a limit of ~ 2 MB.
* Docs: Fully document the guestfs_readdir ftyp return field.Richard W.M. Jones2009-07-211-0/+44
|
* Docs: Add "API Overview" section to guestfs(3) manpage.Richard W.M. Jones2009-07-211-0/+134
| | | | | | This section collects together related API calls, to provide more coherent documentation about different ways to carry out actions such as uploading and downloading.
* Generator: Improve accuracy of a comment.Richard Jones2009-07-201-3/+2
|
* virt-inspector --fish: Fix incorrect '-a' parameter (RHBZ#512709)Richard Jones2009-07-202-9/+14
| | | | | | | | | | | | | | | | | virt-inspector --fish dom virt-inspector --ro-fish dom Both of the above commands give incorrect results if run on a libvirt domain, eg: $ virt-inspector --ro-fish RHEL54Betax64 ==> --ro -a RHEL54Betax64 -m /dev/VolGroup00/LogVol00:/ -m /dev/sda1:/boot ^^^^^^^^^^^^^ This is because the current code just prints back the original @ARGV parameters. This patch fixes this by getting the image names instead.
* Replace 'distrofamily' with feature tagsMatthew Booth2009-07-202-11/+32
| | | | | | | | | | | | | It turns out that the distribution hierarchy is not as reliable concept as you might think. This patch removes distrofamily again. Instead of distrofamily, we will add feature tags. This patch adds 2 feature tags for Linux distributions: package_format (eg rpm/dpkg) package_management (eg rhn/yum/apt) This change is reflected in the output of virt-inspector
* add nls_base.ko and nls_cp437.ko for vfatGuido Günther2009-07-181-0/+2
|
* Make /sysroot path configurable.Richard Jones2009-07-1821-121/+127
| | | | | | | | | Currently /sysroot is hard-coded throughout the daemon code. This patch turns the path into a variable so that we can change it in future, for example to allow standalone mode to be implemented. This patch was tested by running all the C API tests successfully.
* Version 1.0.62.1.0.62Richard Jones2009-07-173-37/+37
|
* Merge branch 'master' of git+ssh://g-rjones@et.redhat.com/git/libguestfsRichard Jones2009-07-172-13/+50
|\
| * Differentiate 'distro' and 'distrofamily' in Sys::Guestfs::LibMatthew Booth2009-07-172-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/libexecRichard W.M. Jones2009-07-171-1/+1
|/
* cat: Example of finding DHCP IP address of a VM.Richard Jones2009-07-171-0/+4
|
* Fix non-srcdir builds: Ignore perl/Makefile-pl.oldRichard Jones2009-07-171-0/+1
|
* Fix non-srcdir builds: further fixes to OCaml build rules.Richard Jones2009-07-171-0/+1
|
* Fixes for non-srcdir builds: Only include POTFILES from SUBDIRS directories.Richard Jones2009-07-161-4/+4
|
* Fix non-srcdir builds: fix OCaml build rules.Richard Jones2009-07-161-5/+5
|
* Fix non-srcdir builds: Files generated by configure should be in the tarball.Richard Jones2009-07-161-2/+0
|
* Fix non-srcdir builds: Don't include generated *_protocol.c files in POTFILES.Richard Jones2009-07-162-2/+2
|
* Don't clean up some non-generated files.Richard Jones2009-07-161-2/+2
|
* Fix for non-srcdir builds: more misc fixes.Richard Jones2009-07-164-7/+18
|
* Fix for non-srcdir builds: Run src/generator.ml from the srcdir.Richard Jones2009-07-162-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 Jones2009-07-163-2/+7
|
* More misc fixes for non-srcdir builds.Richard Jones2009-07-162-4/+10
|
* Miscellaneous fixes for non-srcdir builds.Richard Jones2009-07-164-6/+7
|
* New commands: 'mkmountpoint' and 'rmmountpoint'Richard W.M. Jones2009-07-153-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. Jones2009-07-153-4/+41
|
* Build fix: perl-libintl is not required for the basic Perl bindings.Richard Jones2009-07-151-1/+1
|
* Version 1.0.611.0.61Richard Jones2009-07-151-1/+1
|
* New tool virt-cat: display a file in a virtual machine.Richard Jones2009-07-1510-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 Jones2009-07-1511-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 Jones2009-07-155-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.60Richard W.M. Jones2009-07-141-1/+1
|
* java/Makefile.inc: Include this generated file.Richard W.M. Jones2009-07-143-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.xRichard W.M. Jones2009-07-141-0/+3
|
* Version 1.0.59.1.0.59Richard W.M. Jones2009-07-143-84/+193
|
* RHEL 5: header was called <sys/xattr.h>Richard W.M. Jones2009-07-142-3/+10
|
* Fix: daemon/xattr.c can now compile even when no xattr support.Richard W.M. Jones2009-07-141-3/+3
|
* Guestfish feature: remote control of guestfish over a pipe.Richard Jones2009-07-1410-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. Jones2009-07-141-2/+0
|
* Support for Linux extended attributes.Richard W.M. Jones2009-07-146-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 Jones2009-07-141-1/+1
|
* Improve launch error message.Richard Jones2009-07-141-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 Jones2009-07-141-0/+2
|
* Only allow virt-v2v to be run on single root guests (ie. no multi-boot).Richard Jones2009-07-131-9/+13
|