summaryrefslogtreecommitdiffstats
path: root/.gitignore
Commit message (Collapse)AuthorAgeFilesLines
* debian: Ignore some generated debirf files.Richard Jones2009-11-041-0/+5
|
* FUSE filesystem support.Richard Jones2009-11-031-0/+3
| | | | | | | | | | | | | | | This implements FUSE filesystem support so that any libguestfs- accessible disk image can be mounted as a local filesystem. Note: file writes (ie. write(2) system call) is not yet implemented. The API needs more test coverage, particularly lesser-used system calls. The big unresolved issue is UID/GID mapping between guest filesystem IDs and the host. It's not easy to automate this because you need extra details about the guest itself in order to get to its UID->username map (eg. /etc/passwd from the guest).
* Add HTML documentation to website.Richard Jones2009-10-291-0/+3
|
* Support for Windows Registry.Richard Jones2009-10-291-0/+5
| | | | | | | | | | | | | In hivex/: This mini-library allows us to extract Windows Registry binary files ("hives"). There are also two tools: hivexml converts a hive to a self-describing XML format. hivexget can be used to extract single subkeys from a hive. New tool: virt-win-reg. This is a wrapper around the library functionality allowing you to pull out data from the registries of Windows guests.
* New tool: virt-lsRichard Jones2009-10-201-0/+1
| | | | | | | | | This tool makes available the functionality of "ls", "ll", and "find" in a slightly simpler to use form. Examples: virt-ls -l myguest /tmp
* New tool: virt-tarRichard Jones2009-10-201-0/+1
| | | | | | | | | | | | This adds a new tool call virt-tar which is a general purpose archive and uploading tool. It doesn't add any functionality which wasn't previously possible using guestfish, but makes it simpler to access for some users. Examples: virt-tar -zx myguest /home home.tar.gz virt-tar -zu myguest uploadstuff.tar.gz /tmp
* Move virt tools (virt-cat, virt-edit etc) into tools/ subdirectory.Richard Jones2009-10-191-4/+1
| | | | | | | | | | | | | | | | | | This moves the tool programs into a single directory: cat/* -> tools/virt-cat df/* -> tools/virt-df edit/* -> tools/virt-edit rescue/* -> tools/virt-rescue This in itself simplifies the build process because we only need one Makefile and one copy of 'run-locally'. 'run-*-locally' has become just 'run-locally' and takes an extra parameter which is the name of the tool, eg: run-locally cat [virt-cat params...] virt-inspector stays in its own directory, because this contains more than just a single Perl script.
* inspector: Generate language bindings for OCaml.Richard Jones2009-10-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a generic mechanism for deriving language bindings for virt-inspector, and implements one concrete binding, for OCaml. The bindings are generated from the RELAX NG schema (virt-inspector.rng) which is supposed to be a correct and always up to date description of the XML that the virt-inspector program can generate. From the RNG we generate a set of types to describe the output of virt-inspector for the language, plus an XML parser, plus some glue code to actually run an external instance of virt-inspector and parse the resulting XML. At runtime, an external 'virt-inspector --xml <name>' command runs and the XML is parsed into language-specific structures. This has been tested on the four example files (inspector/example?.xml) The only particular difficulty about the OCaml binding is the use of Obj.magic, which is naughty but works because of the isomorphism between the representation of tuples and records in OCaml. This seems to cause no problems in my test program. Apart from this, the OCaml binding is straightforward and could be adapted easily for any other languages that want type-safe virt-inspector bindings. It's important to keep virt-inspector.rng up to date with changes to virt-inspector's XML output format.
* OCaml example: graphical disk usage viewer.Richard Jones2009-09-291-0/+2
| | | | | | | | | This is an example of how to write an app which uses libguestfs and libvirt, and has a responsive user interface (using threads). It is a Gtk-based "graphical virt-df". Read the top of the 'viewer.ml' file first for instructions on how to compile. This program is not compiled by default.
* New tool: virt-editRichard Jones2009-09-231-0/+2
| | | | | | | | | | | | | Edit any file in a guest. This was possibly previously using guestfish, but having a separate command makes it simpler. The usage is simply: virt-edit mydomain /some/file It runs $EDITOR or vi on the file, and if the user changes it, uploads the result back to the VM.
* Add 'virt-rescue' command.Richard Jones2009-09-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This command runs a "rescue appliance" against a virtual machine or disk image. This is useful for making ad-hoc interactive changes to virtual machines. $ virt-rescue --ro /dev/vg_trick/F11x64 Welcome to virt-rescue, the libguestfs rescue shell. Note: The contents of / are the rescue appliance. You have to mount the guest's partitions under /sysroot before you will be able to examine them. bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell ><rescue> mount /dev/vg_f11x64/lv_root /sysroot EXT4-fs (dm-0): barriers enabled kjournald2 starting: pid 269, dev dm-0:8, commit interval 5 seconds EXT4-fs (dm-0): internal journal on dm-0:8 EXT4-fs (dm-0): delayed allocation enabled EXT4-fs: file extents enabled EXT4-fs: mballoc enabled EXT4-fs (dm-0): mounted filesystem with ordered data mode ><rescue> ls /sysroot/ bin dev home lib64 media opt root selinux sys usr boot etc lib lost+found mnt proc sbin srv tmp var ><rescue> exit
* Ignore localrepo/ directory.Richard Jones2009-09-141-0/+1
| | | | | This can be used by people building from source and packagers for their own purposes.
* Non-daemon actions indirect through generated code.Richard Jones2009-09-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously non-daemon actions were called directly by user code, eg: /* Non-generated */ int guestfs_set_verbose (guestfs_h *g, int v) { g->verbose = !!v; return 0; } This changes these actions so they go indirectly via some generated code, eg: /* Generated */ int guestfs_set_verbose (guestfs_h *g, int verbose) { return guestfs__set_verbose (g, verbose); } /* Non-generated */ int guestfs__set_verbose (guestfs_h *g, int v) { g->verbose = !!v; return 0; } The aim is to have a place in the generated code where we can add debug or tracing information for these non- daemon calls.
* Ignore some more m4 files.Richard Jones2009-09-091-0/+1
|
* Remove virt-v2v. New repo: http://gitorious.org/virt-v2v/Richard Jones2009-08-201-2/+0
|
* tests: Use ISO instead of squashfs.Richard Jones2009-08-191-1/+1
| | | | | The squashfs format changes too much. Use an ISO file for the tests instead.
* Add some newly-untracked files to .gitignoreMatthew Booth2009-08-051-0/+11
|
* maint: use a git submodule for gnulibJim Meyering2009-08-031-0/+5
| | | | | | | | | | | | | | * .gitmodules: New file, to track gnulib. * .gnulib: Submodule directory. * Makefile.am (EXTRA_DIST): Don't list config.rpath or gitlog-to-changelog. * autogen.sh: Adapt to use the new submodule. * cfg.mk: New file. (SUBDIRS): Add gnulib/lib and gnulib/tests. (dist-hook): Reflect new location of getlog-to-changelog. * configure.ac: Set build-aux/ as AUX_DIR. Invoke gl_EARLY and gl_INIT. (AC_CONFIG_FILES): Add gnulib/lib/Makefile and gnulib/tests/Makefile.
* Add interface to Linux 'inotify' API.Richard W.M. Jones2009-07-311-0/+1
|
* Implement '*grep*' family of commands.Richard Jones2009-07-291-0/+1
|
* Lib.pm: Add file_architecture command.Richard Jones2009-07-291-1/+5
| | | | | This command detects the architecture of some types of binaries, libraries, kernel modules and initrd images.
* Add libguestfs-test-tool.Richard Jones2009-07-221-0/+3
| | | | | | | | | | | 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 non-srcdir builds: Ignore perl/Makefile-pl.oldRichard Jones2009-07-171-0/+1
|
* New tool virt-cat: display a file in a virtual machine.Richard Jones2009-07-151-0/+2
| | | | | | | | | 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
* java/Makefile.inc: Include this generated file.Richard W.M. Jones2009-07-141-1/+0
| | | | | | We have to include this generated file because it is part of the build system, thus required to exist before the generator runs.
* Guestfish feature: remote control of guestfish over a pipe.Richard Jones2009-07-141-0/+2
| | | | | | | | | | | | | | | | | 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.
* Support for Linux extended attributes.Richard W.M. Jones2009-07-141-0/+1
| | | | | | | | | | | | | | | | 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.
* Ignore java/Makefile.inc (generated file).Richard Jones2009-07-131-0/+1
|
* Add 'version' call to get true library version number.Richard Jones2009-07-101-0/+1
| | | | | | This patch also changes the way that the version is specified in configure.ac. It is now made out of four parts (major, minor, release and extra) and constructed for AC_INIT.
* Added framework for 'virt-df' command.Richard Jones2009-07-101-0/+2
|
* Ignore any file called 'localconfigure'.Richard Jones2009-07-101-0/+1
| | | | | | Developers should put their custom parameters for configure/autogen.sh into a script called ./localconfigure, and this script will be ignored by git and the build system.
* Added outline of the virt-v2v script.Richard Jones2009-07-101-0/+2
|
* Generate structs and struct lists generically.Richard Jones2009-07-071-0/+1
| | | | | | | | | | | 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.
* Sort the .gitignore file (no semantic change).Richard Jones2009-07-061-42/+42
|
* Remove files generated by autoreconf (Guido Gunter and Matthew Booth).Richard Jones2009-07-061-0/+2
|
* Don't keep rebuilding debirf module symlinks.Richard W.M. Jones2009-07-031-0/+1
|
* Remove generated files guestfs_protocol.[ch].Richard W.M. Jones2009-07-021-0/+2
| | | | | | These generated files were accidentally left in when we removed the other generated files in cset b3cb0b04eb2d38ba32c160a83d8e3894b376907b.
* Add list of function_names to the daemon.Richard W.M. Jones2009-07-021-0/+1
| | | | | Messages which include the proc_nr can now also include the name of the actual function being called.
* Ignore generated file appliance/debian/debirf.confRichard W.M. Jones2009-07-021-0/+1
|
* Re-add src/MAX_PROC_NR (generated file).Richard W.M. Jones2009-07-021-1/+0
| | | | | This file is required by configure, so we need to add it so it is available after the git checkout.
* Memoize the output of pod2text function in the generator.Richard W.M. Jones2009-07-021-0/+1
| | | | This speeds up the generator greatly.
* Remove generated code from git.Richard W.M. Jones2009-07-021-1/+38
| | | | | | | | 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.
* Generator now runs automatically when it has changed.Richard W.M. Jones2009-07-021-0/+1
|
* Add 'readdir' call.Richard W.M. Jones2009-07-021-0/+1
| | | | | | | | | | | | 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.
* Add 'initrd-list' command to list contents of initrd images.Richard W.M. Jones2009-06-291-0/+1
| | | | | | Add 'initrd-list' command to list the files inside (new-style) initrd images. Update virt-inspector to use this instead of the less efficient download/unpack locally method.
* Add large test files with standard content for the C API test.Richard W.M. Jones2009-06-291-0/+5
| | | | | Large test files with standard content for the C API test, and add a regression test for previous hexdump failure on large files.
* Haskell bindings: Implement bindtests.Richard W.M. Jones2009-06-281-0/+1
|
* Move distro package list to a separate packagelist.in file.Richard W.M. Jones2009-06-191-0/+1
|
* Rename guestfs-supermin-helper -> libguestfs-supermin-helper.Richard Jones2009-06-181-1/+1
|
* Experimental implementation of the supermin appliance (passes most tests).Richard Jones2009-06-151-0/+6
|