Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Move the inspection analysis code into Sys::Guestfs::Lib library. | Richard Jones | 2009-07-09 | 2 | -603/+981 | |
| | | | | | | | | | | | 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 Jones | 2009-07-09 | 2 | -40/+72 | |
| | ||||||
* | Move 'get_partitions' call into Sys::Guestfs::Lib. | Richard Jones | 2009-07-09 | 2 | -18/+40 | |
| | ||||||
* | Add Sys::Guestfs::Lib - useful functions for using libguestfs from Perl. | Richard Jones | 2009-07-09 | 5 | -57/+243 | |
| | | | | | | | | | | 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. | |||||
* | Just whitespace changes in the generator code. | Richard Jones | 2009-07-09 | 1 | -14/+14 | |
| | ||||||
* | Update with links to the new mailing list. | Richard Jones | 2009-07-08 | 3 | -12/+17 | |
| | ||||||
* | Fix checking of generator being run from the right directory. | Richard W.M. Jones | 2009-07-07 | 1 | -1/+1 | |
| | | | | | | Originally it was looking for 'config.status', but this file might not exist until configure has been run. Make it look for HACKING instead. | |||||
* | Version 1.0.56.1.0.56 | Richard W.M. Jones | 2009-07-07 | 4 | -149/+150 | |
| | ||||||
* | RHEL 5: Mount squashfs with explicit type. | Richard Jones | 2009-07-07 | 1 | -1/+1 | |
| | ||||||
* | RHEL 5: Skip 'scrub' test if command is not in the initramfs. | Richard Jones | 2009-07-07 | 1 | -0/+2 | |
| | ||||||
* | RHEL 5: 'mkswap -U' not supported, check before testing it. | Richard Jones | 2009-07-07 | 1 | -0/+1 | |
| | ||||||
* | Update ocaml/.depend. | Richard Jones | 2009-07-07 | 1 | -1/+0 | |
| | ||||||
* | RHEL 5: RHEL kernels don't have $arch at the end, so look for non-arch ↵ | Richard Jones | 2009-07-07 | 1 | -1/+5 | |
| | | | | kernels too. | |||||
* | RHEL 5: $(builddir) did not exist with this old autoconf/automake, so ↵ | Richard Jones | 2009-07-07 | 3 | -8/+17 | |
| | | | | workaround. | |||||
* | RHEL 5: for (int i = ...) is not permitted with this old version of GCC. | Richard Jones | 2009-07-07 | 1 | -1/+8 | |
| | ||||||
* | Merge branch 'master' of git://git.et.redhat.com/libguestfs | Richard Jones | 2009-07-07 | 106 | -2361/+1344 | |
|\ | ||||||
| * | Generate structs and struct lists generically. | Richard Jones | 2009-07-07 | 8 | -1269/+653 | |
| | | | | | | | | | | | | | | | | | | | | | | This modifies the way that struct and struct lists are generated (for return values) so that there is no need to add an explicit new type when adding a new structure. All tests pass, and the C API should be compatible. I have also inspected the changes that are made to the generated code by hand. | |||||
| * | Fix for 349814e9d912c4: Get correct path when building Ruby bindings. | Richard Jones | 2009-07-07 | 1 | -1/+1 | |
| | | ||||||
| * | Test two (of four) cancellation paths. | Richard Jones | 2009-07-06 | 3 | -0/+85 | |
| | | ||||||
| * | Add a debug message to the library cancellation path. | Richard Jones | 2009-07-06 | 1 | -0/+4 | |
| | | ||||||
| * | Introduce regression tests for various qemu failures. | Richard Jones | 2009-07-06 | 8 | -13/+150 | |
| | | | | | | | | | | | | | | | | | | | | | | Test failure of qemu and recovery of the library: - mid-command - between commands - during launch [test not working yet] - explicitly killed by guestfs_kill_subprocess Also this patch cleans up the other tests in this directory and disables the long-winded test-bootbootboot test. | |||||
| * | guestfish: Always fflush stdout between commands. | Richard Jones | 2009-07-06 | 1 | -1/+5 | |
| | | ||||||
| * | Whitespace change in ocaml/.depend file. | Richard Jones | 2009-07-06 | 1 | -5/+5 | |
| | | ||||||
| * | Add 'get-pid' command. | Richard Jones | 2009-07-06 | 2 | -0/+20 | |
| | | | | | | | | | | This is used to get the PID of the qemu subprocess, mainly for debugging and testing purposes. | |||||
| * | Todo: Remote-control guestfish through a pipe. | Richard Jones | 2009-07-06 | 1 | -0/+8 | |
| | | ||||||
| * | Sort the .gitignore file (no semantic change). | Richard Jones | 2009-07-06 | 1 | -42/+42 | |
| | | ||||||
| * | Remove files generated by autoreconf (Guido Gunter and Matthew Booth). | Richard Jones | 2009-07-06 | 3 | -800/+2 | |
| | | ||||||
| * | Don't die if reply message is oversized (RHBZ#509597). | Richard Jones | 2009-07-05 | 1 | -2/+7 | |
| | | ||||||
| * | use 'stupid_simple' instead of 'nested' initramfs | Guido Günther | 2009-07-04 | 1 | -1/+1 | |
| | | | | | | | | speeds up start of the appliance | |||||
| * | select proper kernel by architecture | Guido Günther | 2009-07-04 | 2 | -1/+13 | |
| | | ||||||
| * | Make it possible to build in a separate directory | Matthew Booth | 2009-07-03 | 22 | -68/+104 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
| * | generate slightly more "const-correct" code | Jim Meyering | 2009-07-03 | 1 | -6/+6 | |
| | | | | | | | | * src/generator.ml: Add a few "const" attributes. | |||||
| * | avoid leak upon failed realloc | Jim Meyering | 2009-07-03 | 1 | -8/+12 | |
| | | | | | | | | | | * daemon/guestfsd.c (commandrv): Free original buffer (rather than leaking it) if realloc fails. | |||||
| * | remove trailing blanks | Jim Meyering | 2009-07-03 | 64 | -94/+93 | |
| | | ||||||
| * | daemon/readdir: avoid a small leak | Jim Meyering | 2009-07-03 | 1 | -0/+2 | |
| | | | | | | | | | | * daemon/readdir.c (do_readdir): Free both p and v.name, in case only one of the allocations failed. | |||||
| * | touch fakeroot.log | Guido Günther | 2009-07-03 | 1 | -0/+2 | |
| | | | | | | | | indicationg we're done creating the appliance | |||||
| * | remove superflous debirf scripts | Guido Günther | 2009-07-03 | 5 | -8/+0 | |
| | | ||||||
| * | Guestfish tab-completion on destination paths, fixed this time. | Richard W.M. Jones | 2009-07-03 | 1 | -49/+74 | |
| | | | | | | | | Tab-completion on destination paths should now work correctly. | |||||
| * | Don't keep rebuilding debirf module symlinks. | Richard W.M. Jones | 2009-07-03 | 2 | -0/+2 | |
| | | ||||||
| * | 'readdir-and-stat' call is now effectively implemented. | Richard W.M. Jones | 2009-07-03 | 1 | -1/+0 | |
| | | ||||||
| * | Add Debian appliance directory to the distfile. | Richard W.M. Jones | 2009-07-03 | 1 | -1/+22 | |
| | | | | | | | | | | | | | | 'make dist' won't copy symlinks into the output file, so we have to add a rule to the Makefile to copy these. (Issue reported by Guido Gunther). | |||||
| * | use safe_malloc and safe_calloc in generated code | Jim Meyering | 2009-07-03 | 3 | -23/+63 | |
| | | | | | | | | | | | | | | | | | | | | * src/generator.ml (safe_malloc): Define to guestfs_safe_malloc. (safe_calloc): Define to guestfs_safe_calloc. [most generated code]: Fail immediately upon failure of otherwise- unchecked malloc and calloc calls. * src/guestfs.c: Include <stddef.h>. (xalloc_oversized): Define. * src/guestfs.h (guestfs_safe_calloc): Declare. | |||||
| * | prefer sizeof *VAR over sizeof TYPE (no semantic change) | Jim Meyering | 2009-07-02 | 1 | -10/+10 | |
| | | | | | | | | | | * src/generator.ml: Slightly safer, in case the declared type ever changes. | |||||
* | | Merge branch 'master' of git+ssh://192.168.122.1/home/rjones/d/libguestfs | Richard Jones | 2009-07-03 | 121 | -71846/+5364 | |
|\| | ||||||
| * | Prepare for 1.0.55. PO files also updated.1.0.55 | Richard W.M. Jones | 2009-07-02 | 3 | -35/+63 | |
| | | ||||||
| * | Add 'sfdiskM' command. | Richard W.M. Jones | 2009-07-02 | 3 | -32/+55 | |
| | | | | | | | | | | | | | | | | | | | | This command is a saner interface to partitioning. All partition sizes are specified in megabytes (not cylinders). You don't need to specify the cyls/heads/secs parameters. All the test code has been updated to use this, so it is now CHS-independent (eg. when CHS changes as between IDE and virtio). | |||||
| * | Remove generated files guestfs_protocol.[ch]. | Richard W.M. Jones | 2009-07-02 | 3 | -4366/+2 | |
| | | | | | | | | | | | | These generated files were accidentally left in when we removed the other generated files in cset b3cb0b04eb2d38ba32c160a83d8e3894b376907b. | |||||
| * | Don't rebuild the whole appliance if just the /init script has been changed. | Richard W.M. Jones | 2009-07-02 | 3 | -11/+7 | |
| | | ||||||
| * | Improve virtio-blk performance (RHBZ#509383). | Richard W.M. Jones | 2009-07-02 | 1 | -0/+3 | |
| | | ||||||
| * | Add ./configure --with-drive-if=(ide|scsi|virtio) | Richard W.M. Jones | 2009-07-02 | 3 | -4/+16 | |
| | | | | | | | | | | | | | | | | With this flag the packager can decide to default to a particular qemu drive model. The current default is 'ide', however note that we intend to change this in future to 'virtio' once some upstream regressions are fixed. Packagers can force a particular drive model if they wish. |