summaryrefslogtreecommitdiffstats
path: root/src/virt.c
Commit message (Collapse)AuthorAgeFilesLines
* internal: Use size_t instead of int for command line size.Richard W.M. Jones2011-05-181-1/+1
| | | | (cherry picked from commit 10167cea98f93a74abe63f0a54d3a662997e7489)
* Add documentation for attach method.Richard W.M. Jones2011-02-031-1/+2
|
* Add guestfs_add_domain 'live' flag.Richard W.M. Jones2011-02-031-25/+167
| | | | | | | | | | This optional flag controls whether this API call will try to connect to a running virtual machine 'guestfsd' process. If the flag is given and the virtual machine is running, then the libvirt XML is parsed looking for a suitable <channel> element, and 'guestfs_set_attach_method' is called with the corresponding virtio-serial socket path.
* lib: Fix use-after-free bug in XPath parsing code.Richard W.M. Jones2011-01-281-1/+1
|
* Export private function 'guestfs___for_each_disk' for use by virt-df.Richard W.M. Jones2010-11-251-45/+87
| | | | | | This private function (not part of the API) allows us to iterate over disks from a guest, avoiding the business of writing all the XPath code yet again.
* Fix memory leak (xptype XPath obj) in add-domain API.Richard W.M. Jones2010-11-251-0/+1
|
* New API: add-domainRichard Jones2010-11-111-0/+319
This new API allows you to add the disks from a libvirt domain. In guestfish you can use the 'domain' command to access the API, eg: ><fs> domain Fedora14 libvirturi:qemu:///system 1 The returned number is the number of disks that were added. Also here is a proposed (but commented out) low-level API which would allow you to add a domain from a virDomainPtr. However there are several problems with this API -- see discussion on the list: https://www.redhat.com/archives/libguestfs/2010-November/thread.html#00028