summaryrefslogtreecommitdiffstats
path: root/perl
Commit message (Collapse)AuthorAgeFilesLines
* Fix for non-srcdir builds: more misc fixes.Richard Jones2009-07-161-1/+3
|
* More misc fixes to non-srcdir builds.Richard Jones2009-07-161-0/+5
|
* Make Perl strings translatable using perl-libintl.Richard Jones2009-07-151-17/+32
| | | | | | | | | 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.
* Ignore old-style initrd which is a compressed ext2 filesystem.Richard Jones2009-07-131-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.
* Sys::Guestfs::Lib: Exit with error if a libvirt domain appears to have no disks.Richard W.M. Jones2009-07-101-0/+3
|
* virt-df: Recognise libvirt domains with file-backed disks.Richard W.M. Jones2009-07-101-0/+1
| | | | | File-backed disks (<source file="...">) didn't get recognised before. This patch fixes the problem.
* Move 'use File::Temp' from virt-inspector program to Sys::Guestfs::Lib.Richard Jones2009-07-101-0/+1
|
* Rename internal subroutines with leading underscore character.Richard Jones2009-07-101-29/+29
| | | | | Otherwise Pod::Coverage in the tests will complain that the internal subroutines are undocumented.
* '$_' should be marked as a local variable in Sys::Guestfs::Lib::open_guest.Richard Jones2009-07-101-0/+1
|
* Sys::Guestfs::Lib minor documentation clean-up.Richard Jones2009-07-091-1/+5
|
* Move the inspection analysis code into Sys::Guestfs::Lib library.Richard Jones2009-07-091-2/+941
| | | | | | | | | | | Creates new functions: inspect_all_partitions inspect_partition inspect_operating_systems mount_operating_system inspect_in_detail Includes far more documentation for the process.
* Move 'resolve_windows_path' to Sys::Guestfs::Lib.Richard Jones2009-07-091-1/+57
|
* Move 'get_partitions' call into Sys::Guestfs::Lib.Richard Jones2009-07-091-1/+38
|
* Add Sys::Guestfs::Lib - useful functions for using libguestfs from Perl.Richard Jones2009-07-093-0/+226
| | | | | | | | | | This adds an extra Perl module called Sys::Guestfs::Lib which adds useful functions for using libguestfs from Perl. The intention is that common code shared between virt-inspector, virt-df and virt-v2v will move into this library. This patch also changes virt-inspector to use this library.
* Make it possible to build in a separate directoryMatthew Booth2009-07-032-4/+5
| | | | | | | | | | | | | | | | | | | | | | This patch allows you to do: mkdir build cd build ../configure ... make This will output all generated files to the build directory. Given that autogen automatically runs configure, you can also do: BUILDDIR=./build ./autogen.sh which will do the right thing. Also: * Fix a dependency bug which means that guestfs_protocol.h isn't automatically rebuilt. * Re-running autogen.sh with no arguments won't blow away your previous configure arguments.
* Remove generated code from git.Richard W.M. Jones2009-07-023-4692/+0
| | | | | | | | Git users now require the OCaml compiler in order to regenerate the generated code after a checkout. Generated code will remain in the tarball, so users of the source tarball will not need the OCaml compiler.
* Add 'readdir' call.Richard W.M. Jones2009-07-023-9/+106
| | | | | | | | | | | | This adds a readdir call (mostly intended for programs). The return value is a list of guestfs_dirent structures. This adds the new types 'struct guestfs_dirent' and 'struct guestfs_dirent_list', along with all the code to return these in the different language bindings. Also includes additional tests for OCaml and Perl bindings to test this.
* Generated code for the virtio_blk change.Richard W.M. Jones2009-07-011-2/+7
|
* Generated code for mknod, mkfifo, mknod_b, mknod_c, umask.Richard W.M. Jones2009-06-302-0/+110
|
* Generated code for 'set_memsize'/'get_memsize' calls.Richard W.M. Jones2009-06-302-0/+49
|
* Generated code for the 'mkswap*' commands.Richard W.M. Jones2009-06-292-0/+47
|
* Generated code for mount-loop command.Richard W.M. Jones2009-06-292-0/+18
|
* Generated code for 'initrd-list'.Richard W.M. Jones2009-06-292-0/+31
|
* Generated code for 'du' command.Richard W.M. Jones2009-06-292-0/+26
|
* Generated code for df / df-h.Richard W.M. Jones2009-06-292-0/+45
|
* Generated code for head/tail commands.Richard W.M. Jones2009-06-292-4/+128
|
* Generated code for 'wc_*' commands.Richard W.M. Jones2009-06-292-0/+57
|
* Clarify documentation for mkdtemp.Richard W.M. Jones2009-06-241-3/+6
|
* Generated code for 'mkdtemp' command.Richard W.M. Jones2009-06-242-0/+33
|
* Fix dependencies in perl so it doesn't always rebuildMatthew Booth2009-06-242-3/+6
|
* Generated code for 'scrub-*' commands.Richard W.M. Jones2009-06-232-1/+68
|
* Generated code for 'glob-expand'.Richard Jones2009-06-222-0/+32
|
* Generated code for 'sh' and 'sh-lines' commands.Richard Jones2009-06-222-1/+61
|
* Generated code for ntfs_3g_probe command.Richard Jones2009-06-082-0/+29
|
* Generated code for the 'sleep' command.Richard Jones2009-06-042-0/+15
|
* Generated code for 'add_drive_ro' call.Richard Jones2009-06-022-0/+40
|
* Distribute bindtests.pl with the tarball.Richard W.M. Jones2009-05-281-0/+1
|
* Add tests for bindings parameters, fix several broken bindings.Richard W.M. Jones2009-05-285-6/+74
|
* Add the test0* functions, used to test language bindings.Richard W.M. Jones2009-05-282-1/+566
|
* Move the appliance and build scripts into new appliance/ subdirectory.Richard W.M. Jones2009-05-282-2/+2
|
* Generated code for e2fsck-f command.Richard Jones2009-05-212-0/+26
|
* Generated code for 'find' command.Richard Jones2009-05-192-0/+46
|
* Generated code for lvresize, resize2fs.Richard Jones2009-05-182-0/+34
|
* Add vg-activate{,-all} commands, and resize recipe.Richard Jones2009-05-182-0/+47
|
* Add: pvresize, sfdisk-N, sfdisk-l, sfdisk-kernel-geomtry, ↵Richard W.M. Jones2009-05-152-0/+113
| | | | sfdisk-disk-geometry commands. Pass --no-reread flag to sfdisk.
* Add support for zerofree command.Richard W.M. Jones2009-05-142-0/+24
|
* Don't stash strings in the handle.Richard W.M. Jones2009-05-131-9/+0
| | | | | - makes it impossible to write bindings for set_{path,qemu,append} functions
* Add 'append', LIBGUESTFS_APPEND to set additional kernel options.Richard W.M. Jones2009-05-132-0/+45
|
* Test the 'command' and 'command_lines' functions thoroughly.Richard Jones2009-05-121-0/+15
|
* Perl bindings fix: Not enough memory was allocated for array params.Richard Jones2009-05-111-1/+1
|