diff options
author | Richard Jones <rjones@redhat.com> | 2010-11-09 18:53:01 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2010-11-11 11:22:39 +0000 |
commit | f08fe63761d4186d49212b1d2382b1a5a2b8a62f (patch) | |
tree | 92fed1c8a7e188cf79bd1c0512b78cc6d70584c4 /TODO | |
parent | 4ada0a7815075c9cbe9d8b00da791c105ae739a9 (diff) | |
download | libguestfs-f08fe63761d4186d49212b1d2382b1a5a2b8a62f.tar.gz libguestfs-f08fe63761d4186d49212b1d2382b1a5a2b8a62f.tar.xz libguestfs-f08fe63761d4186d49212b1d2382b1a5a2b8a62f.zip |
New API: add-domain
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
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -347,11 +347,3 @@ Eric Sandeen pointed out the blktrace tool which is a better way of capturing traces than using patched qemu (see contrib/visualize-alignment). We would still use the same visualization tools in conjunction with blktrace traces. - -Add-domain command ------------------- - -guestfs_add_domain (g, "libvirt-dom"); - -However this would need to not depend on libvirt, eg. loading it -on demand. |