Scroll to navigation

Sys::VirtConvert::Connection::LibVirtSource(3) User Contributed Perl Documentation Sys::VirtConvert::Connection::LibVirtSource(3)

NAME

Sys::VirtConvert::Connection::LibVirtSource - Get storage and metadata from libvirt

SYNOPSIS

 use Sys::VirtConvert::Connection::LibVirtSource;
 $conn = Sys::VirtConvert::Connection::LibVirtSource->new
    ("xen+ssh://xenserver.example.com/", $name);
 $meta = $conn->get_meta();

DESCRIPTION

Sys::VirtConvert::Connection::LibVirtSource reads a guest's libvirt XML directly from a libvirt connection. It accesses the guest's storage over the same transport as the libvirt connection.

METHODS

Create a new libvirt source connection. Domain name will be obtained from uri.
Return the name of the domain.
Return a volume object for path, where path is the path of a volume on the connected hypervisor.

COPYRIGHT

Copyright (C) 2009-2011 Red Hat Inc.

LICENSE

Please see the file COPYING.LIB for the full license.

SEE ALSO

Sys::VirtConvert::Connection::Source(3), virt-v2v(1), <http://libguestfs.org/>.

2013-12-03 perl v5.10.1