Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Lib.pm: Use Perl backtick instead of slurp (Aron Griffis). | Richard Jones | 2009-07-29 | 1 | -3/+1 | |
| | ||||||
* | Don't show empty CD devices (RHBZ#514505). | Richard Jones | 2009-07-29 | 1 | -0/+27 | |
| | ||||||
* | ocaml: Rebuild the tests from source if the main library changes. | Richard Jones | 2009-07-29 | 1 | -0/+5 | |
| | ||||||
* | inspector: Determine guest architecture. | Richard Jones | 2009-07-29 | 3 | -21/+113 | |
| | | | | | | | This commit adds kernel and userspace architecture detection (fully for Linux, partially for Windows). It adds an architecture for each kernel detected, and an architecture for each root (ie. userspace) found. | |||||
* | Lib.pm: Add file_architecture command. | Richard Jones | 2009-07-29 | 16 | -6/+306 | |
| | | | | | This command detects the architecture of some types of binaries, libraries, kernel modules and initrd images. | |||||
* | Lib: Document the $ro parameter for mount_operating_system properly. | Richard Jones | 2009-07-29 | 1 | -4/+5 | |
| | ||||||
* | Mention related tools in the manual page. | Richard Jones | 2009-07-29 | 1 | -0/+7 | |
| | ||||||
* | Whitespace: indent some names in images/Makefile.am correctly. | Richard Jones | 2009-07-28 | 1 | -12/+12 | |
| | ||||||
* | Lib.pm: Use 'file' as replacement for 'zfile'. | Richard Jones | 2009-07-28 | 1 | -4/+4 | |
| | ||||||
* | Pass '-z' parameter to 'file' command so it looks inside compressed files. | Richard Jones | 2009-07-28 | 2 | -4/+8 | |
| | | | | Also we deprecate the old 'zfile' command. | |||||
* | Add DeprecatedBy flag to mark functions which are deprecated. | Richard Jones | 2009-07-28 | 1 | -12/+53 | |
| | ||||||
* | Need to declare asprintf_nowarn as inline to avoid gcc complaining. | Richard Jones | 2009-07-28 | 1 | -1/+1 | |
| | ||||||
* | Replace shell_quote function with %Q and %R printf specifiers. | Richard Jones | 2009-07-28 | 9 | -104/+176 | |
| | | | | | | | %Q => simple shell quoted string %R => path will be prefixed by /sysroot eg. snprintf (cmd, sizeof cmd, "cat %R", path); system (cmd); | |||||
* | Add InitSquashFS test type, for tests that just use the squashfs (/dev/sdd). | Richard Jones | 2009-07-27 | 1 | -45/+43 | |
| | | | | | This also speeds up those tests because we don't have to wait to create a filesystem which is never used. | |||||
* | Make read-only optional in mount_operating_system() | Matthew Booth | 2009-07-24 | 1 | -2/+10 | |
| | ||||||
* | More ideas on a quick Perl one-liner syntax for TODO file. | Richard W.M. Jones | 2009-07-24 | 1 | -0/+31 | |
| | ||||||
* | guestfish -iv should print virt-inspector command (for debugging). | Richard W.M. Jones | 2009-07-24 | 1 | -1/+3 | |
| | ||||||
* | Reformat the TODO file. | Richard W.M. Jones | 2009-07-24 | 1 | -44/+90 | |
| | ||||||
* | Pass cgroup_disable=memory, saves ~ 5MB of RAM. | Richard Jones | 2009-07-24 | 1 | -1/+2 | |
| | ||||||
* | get_append call can return NULL, but bindings didn't handle it. | Richard Jones | 2009-07-23 | 1 | -32/+125 | |
| | | | | | It's not a good idea because there is no way to return an error indication. However at least this means it won't segfault. | |||||
* | RHEL 5 thinks squashfs is HFS+ filesystem, unless we specify the type ↵ | Richard Jones | 2009-07-23 | 1 | -1/+1 | |
| | | | | explicitly. | |||||
* | Remove hard-coded qemu-kvm, replace with $QEMU.1.0.64 | Richard Jones | 2009-07-23 | 1 | -2/+2 | |
| | ||||||
* | Version 1.0.631.0.63 | Richard Jones | 2009-07-23 | 3 | -133/+395 | |
| | ||||||
* | Add libguestfs-test-tool. | Richard Jones | 2009-07-22 | 11 | -1/+714 | |
| | | | | | | | | | | | This is an end-user testing tool, designed to test basic functionality of libguestfs/qemu/kernel combination on the end-user's final host machine. It does not perform a thorough test, but should be enough to find most booting issues. Also this is intended to be used when reporting bugs. | |||||
* | Fix typo in error message. | Richard Jones | 2009-07-22 | 1 | -1/+1 | |
| | ||||||
* | Revert "Add 'set-kernel'/'get-kernel'/LIBGUESTFS_KERNEL to override ↵ | Richard Jones | 2009-07-22 | 4 | -57/+1 | |
| | | | | | | appliance kernel." This reverts commit 34d2df41626f1ee4172a6d40b06d72d6ed9d6348. | |||||
* | set-append and set-kernel parameters are both nullable. | Richard Jones | 2009-07-22 | 1 | -2/+2 | |
| | | | | (So are the return values, but leave that bug for another day). | |||||
* | Add 'set-kernel'/'get-kernel'/LIBGUESTFS_KERNEL to override appliance kernel. | Richard Jones | 2009-07-22 | 4 | -1/+57 | |
| | | | | | This allows you to override the appliance kernel with an easy command or environment variable. | |||||
* | Todo: Suggestion for 'replace' command. | Richard Jones | 2009-07-22 | 1 | -0/+22 | |
| | ||||||
* | Add commented-out support for alternate guestfwd syntax. | Richard W.M. Jones | 2009-07-21 | 1 | -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. Jones | 2009-07-21 | 1 | -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. Jones | 2009-07-21 | 1 | -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 Booth | 2009-07-21 | 2 | -16/+41 | |
| | ||||||
* | Allow TMPDIR to override directory used for temporary files (RHBZ#512905). | Richard W.M. Jones | 2009-07-21 | 3 | -1/+31 | |
| | ||||||
* | Generator: Implement RBufferOut and "read-file" call. | Richard W.M. Jones | 2009-07-21 | 6 | -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. Jones | 2009-07-21 | 1 | -0/+44 | |
| | ||||||
* | Docs: Add "API Overview" section to guestfs(3) manpage. | Richard W.M. Jones | 2009-07-21 | 1 | -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 Jones | 2009-07-20 | 1 | -3/+2 | |
| | ||||||
* | virt-inspector --fish: Fix incorrect '-a' parameter (RHBZ#512709) | Richard Jones | 2009-07-20 | 2 | -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 tags | Matthew Booth | 2009-07-20 | 2 | -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 vfat | Guido Günther | 2009-07-18 | 1 | -0/+2 | |
| | ||||||
* | Make /sysroot path configurable. | Richard Jones | 2009-07-18 | 21 | -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.62 | Richard Jones | 2009-07-17 | 3 | -37/+37 | |
| | ||||||
* | Merge branch 'master' of git+ssh://g-rjones@et.redhat.com/git/libguestfs | Richard Jones | 2009-07-17 | 2 | -13/+50 | |
|\ | ||||||
| * | 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 | |
| |