summaryrefslogtreecommitdiffstats
path: root/rescue
Commit message (Collapse)AuthorAgeFilesLines
* Tempus fugit.Richard W.M. Jones2012-01-183-4/+4
| | | | Update all copyright dates to 2012.
* fish options parsing: Allow add_drives to be called multiple times.Richard W.M. Jones2012-01-181-3/+2
| | | | | | Ensure that the drv structure is always zeroed on allocation. Don't leak old drv->device when add_drives is called multiple times.
* Update FSF address.Matthew Booth2011-11-083-3/+3
|
* rescue: Add --suggest option to suggest mount commands.Richard W.M. Jones2011-11-012-8/+212
|
* New API: set-smp, get-smpRichard W.M. Jones2011-09-282-0/+20
| | | | | | | These calls allow you to change the number of virtual CPUs assigned to the appliance. This also adds a --smp option to virt-rescue.
* rescue: Ignore errno after guestfs_launch.Richard W.M. Jones2011-08-231-10/+0
| | | | | | | errno is pretty much random on the error path back from guestfs_launch so there is nothing useful to be gained by checking it. We could do with a better way to detect if appliance launch failed.
* Coverity: Ignore return value from guestfs_launch in virt-rescue.Richard W.M. Jones2011-08-231-1/+4
| | | | We expect guestfs_launch to fail in this program.
* out-of-tree build: fix documentation generationHilko Bengen2011-08-151-1/+1
|
* Enable deprecation warnings on all C programs.Richard W.M. Jones2011-05-171-0/+1
|
* fish: Allow -d UUID (specify libvirt domains by UUID).Richard W.M. Jones2011-05-061-1/+2
| | | | | | | | | | | | | | This applies in all the commands which use the common C option parsing code, ie: * guestfish * guestmount * virt-cat * virt-df * virt-filesystems * virt-inspector * virt-ls * virt-rescue
* Remove ad-hoc run*locally scripts, replace with './run'Richard W.M. Jones2011-04-162-53/+0
| | | | | Remove all the run*locally scripts and replace with a single top level ./run shell script.
* Include string.h and libintl.h, as needed.Jim Meyering2011-04-131-1/+3
| | | | | | | | | * df/df.c: As above. * df/main.c: As above. * df/output.c: As above. * fuse/guestmount.c: As above. * inspector/virt-inspector.c: As above. * rescue/virt-rescue.c: As above.
* Add /etc/libguestfs-tools.conf configuration file.Richard W.M. Jones2011-03-313-3/+27
| | | | | This allows the default for --ro or --rw to be controlled for the three tools guestfish, guestmount and virt-rescue.
* rescue: Add -w|--rw option.Richard W.M. Jones2011-03-302-0/+13
|
* Include <locale.h> in compilation units that use setlocale function.Richard W.M. Jones2011-03-071-0/+1
| | | | Fix required by gcc 4.6.0.
* fish: Add guestfish --live, guestmount --live options.Richard W.M. Jones2011-02-031-0/+2
| | | | | | The other programs have the variable, but the flag is not enabled either because it doesn't make sense or because the implications are not well understood.
* Remove several unused local variables.Richard W.M. Jones2010-12-101-1/+0
| | | | (Revealed by compiling under Debian where this is a warning).
* rescue: Add notes about networking.Richard W.M. Jones2010-12-081-1/+37
| | | | | In particular the 'ping' command does not work because it is using QEMU user networking.
* rescue: Add note about using virt-rescue as root/non-root.Richard W.M. Jones2010-12-081-0/+3
|
* Remove ability to build static distribution.Richard W.M. Jones2010-12-061-6/+0
| | | | | | We are now going to build binaries for each distribution so there is no need to build the quasi-distro-independent static binaries any more.
* docs: Remove ref to L</add-drive-opts> wrongly copied into some man pages.Richard W.M. Jones2010-11-271-2/+1
|
* rescue: Rewrite virt-rescue in C.Richard W.M. Jones2010-11-264-0/+892
|
* Move virt tools (virt-cat, virt-edit etc) into tools/ subdirectory.Richard Jones2009-10-193-267/+0
| | | | | | | | | | | | | | | | | | 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.
* run-*-locally: The programs are now virt-[tool], not virt-[tool].plRichard Jones2009-10-011-1/+1
| | | | This fixes commit b488436cc54288fcae8988493749f2e6c87f274c.
* maint: use spaces, not TABs for indentationJim Meyering2009-09-241-1/+1
| | | | | | | | "make syntax-check" was failing. This fixes it. * HACKING: Indent with spaces, not TABs. * configure.ac: Likewise. * rescue/virt-rescue: Likewise. * src/generator.ml: Likewise.
* Include virt tools in EXTRA_DIST.Richard Jones2009-09-231-1/+2
| | | | | | Partially revert b488436cc54288fcae8988493749f2e6c87f274c. It turns out that automake doesn't automatically place bin_SCRIPTS in EXTRA_DIST.
* Rename virt-[tool].pl as virt-[tool]Richard Jones2009-09-232-8/+4
|
* Check return value from readlink.Richard Jones2009-09-231-1/+1
|
* Create manpage atomically.Richard Jones2009-09-231-1/+1
| | | | Don't fail with a partial file if disk full, etc.
* Replace @...@ with $(...) in these common Makefile.am files.Richard Jones2009-09-231-4/+4
|
* Add 'virt-rescue' command.Richard Jones2009-09-233-0/+270
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