Sys::VirtConvert::ConnUseroContrSys::VirtConvert::Connection::LibVirtSource(3)NAMESys::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();
DESCRIPTIONSys::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
new(uri, name)
Create a new libvirt source connection. Domain name will be
obtained from uri.
get_name
Return the name of the domain.
get_volume(path)
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 ALSOSys::VirtConvert::Connection::Source(3), virt-v2v(1),
<http://libguestfs.org/>.
perl v5.10.1Sys::VirtConvert::Connection::LibVirtSource(3)