summaryrefslogtreecommitdiffstats
path: root/fish/virt.c
Commit message (Collapse)AuthorAgeFilesLines
* fish: Add guestfish --live, guestmount --live options.Richard W.M. Jones2011-02-031-0/+4
| | | | | | 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.
* fish: Use core add-domain API to implement '-d' option.Richard Jones2010-11-111-181/+8
| | | | | | This also makes libxml2 and libvirt into optional dependencies. If they are missing then the core API will print an error, as will the '-d' option to guestfish.
* Unify guestfish and guestmount options processing (RHBZ#642932).Richard W.M. Jones2010-10-271-17/+22
| | | | | | | | | | | | | | | In guestfish, factor out the processing of the options -a, -c, -d, -i, -m, -n, -r, -v, -V, -x into a separate set of files: options.c, options.h, inspect.c, virt.c. Change guestmount so that it uses these same files (from the ../fish directory) to process the same options. This unifies the handling of these options between the two programs. It also adds the useful inspection feature to guestmount, so you can now do: guestmount -d Guest -i --ro mnt/
* fish: Specify format of disks (RHBZ#642934,CVE-2010-3851).Richard W.M. Jones2010-10-221-43/+68
| | | | | | | | For libvirt guests, the disk format is copied from libvirt (if libvirt knows it). For command line disk images, you can use --format to override format auto-detection.
* fish: Add -c/--connect and -d/--domain options.Richard Jones2010-08-171-0/+191
The -d option lets you specify libvirt domains. The disks from these domains are found and added, as if you'd named them with -a. The -c option lets you specify a libvirt URI, which is needed when we consult libvirt to implement the above.