1Sys::VirtConvert::ConneUcsteironC:o:nLtirbiSVbyiusrt:te:SdVoiuPrretcrCelo(n3Dv)oecrutm:e:nCtoantnieocntion::LibVirtSource(3)
2
3
4
6 Sys::VirtConvert::Connection::LibVirtSource - Get storage and metadata
7 from libvirt
8
10 use Sys::VirtConvert::Connection::LibVirtSource;
11
12 $conn = Sys::VirtConvert::Connection::LibVirtSource->new
13 ("xen+ssh://xenserver.example.com/", $name);
14 $meta = $conn->get_meta();
15
17 Sys::VirtConvert::Connection::LibVirtSource reads a guest's libvirt XML
18 directly from a libvirt connection. It accesses the guest's storage
19 over the same transport as the libvirt connection.
20
22 new(uri, name)
23 Create a new libvirt source connection. Domain name will be
24 obtained from uri.
25
26 get_name
27 Return the name of the domain.
28
29 get_volume(path)
30 Return a volume object for path, where path is the path of a volume
31 on the connected hypervisor.
32
34 Copyright (C) 2009-2011 Red Hat Inc.
35
37 Please see the file COPYING.LIB for the full license.
38
40 Sys::VirtConvert::Connection::Source(3), virt-v2v(1),
41 <http://libguestfs.org/>.
42
43
44
45perl v5.10.1 Sy2s0:1:3V-i1r2t-C0o3nvert::Connection::LibVirtSource(3)