Pino Toscano 4c3968f262 libvirt: read disk paths from pools (RHBZ#1366049)
A disk of type 'volume' is stored as
  <source pool='pool_name' volume='volume_name'/>
and its real location is inside the 'volume_name', as 'pool_name': in
this case, query libvirt for the actual path of the specified volume in
the specified pool.

Adjust the code so that:
- for_each_disk gets the virConnectPtr, needed to do operations with
  libvirt
- when extracting the disk filename depending on the type, the code
  snippet doing it can directly set 'filename', without setting an XPath
  result variable

Only file-based volumes are supported for now; more types can be added
(with proper testing) later on.
2016-09-22 17:36:09 +02:00
2016-09-08 09:57:14 +02:00
2016-09-08 09:57:15 +02:00
2016-01-02 21:19:51 +00:00
2016-09-19 19:53:07 +02:00
2016-09-19 19:53:07 +02:00
2016-09-08 09:57:15 +02:00
2016-09-08 09:57:15 +02:00
2016-05-03 13:21:34 +01:00
2016-09-09 17:46:23 +01:00
2016-09-08 09:57:15 +02:00
2016-07-14 15:44:03 +01:00
2016-09-08 09:57:15 +02:00
2016-09-09 17:46:23 +01:00
2016-09-09 17:46:23 +01:00
2016-01-20 13:42:38 +00:00
2016-02-10 14:15:05 +01:00

Libguestfs is tools and a library for accessing and modifying guest
disk images.  For more information see the home page:

  http://libguestfs.org/

For discussion, development, patches, etc. please use the mailing
list:

  http://www.redhat.com/mailman/listinfo/libguestfs

To find out how to build libguestfs from source, read:

  docs/guestfs-building.pod
  http://libguestfs.org/guestfs-building.1.html
  man docs/guestfs-building.1

Copyright (C) 2009-2016 Red Hat Inc.

The library is distributed under the LGPLv2+.  The programs are
distributed under the GPLv2+.  Please see the files COPYING and
COPYING.LIB for full license information.  The examples are under a
very liberal license.
Languages
C 42.7%
OCaml 35.5%
Shell 7.1%
Makefile 4%
Perl 2.6%
Other 8%