3 nbdkit-libvirt-plugin - nbdkit libvirt plugin using virDomainBlockPeek
7 nbdkit libvirt [connect=URI] domain=DOMAIN disk=DISK
11 nbdkit libvirt domain=MyGuest disk=sda
12 guestfish --ro --format=raw -a nbd://localhost
16 C<nbdkit-libvirt-plugin> is an L<nbdkit(1)> plugin that lets you
17 access libvirt guest disks. Only read-only access is possible. It is
18 implemented using the libvirt C<virDomainBlockPeek> API. It can also
19 be used over remote libvirt connections.
27 This optional parameter specifies the libvirt connection URI.
29 =item B<domain=>DOMAIN
31 This required parameter specifies the libvirt domain name
36 This required parameter specifies the guest's disk that we want to
39 You can either give the path to the backing device (F</path/to/disk>)
40 or the target name (eg. C<sda>).
42 In either case use C<virsh dumpxml DOMAIN> to list possible disks.
43 Look for S<C<E<lt>source dev=...E<gt>>> or
44 S<C<E<lt>source file=...E<gt>>> or
45 S<C<E<lt>target dev=...E<gt>>> in the XML.
53 =item F<$plugindir/nbdkit-libvirt-plugin.so>
57 Use C<nbdkit --dump-config> to find the location of C<$plugindir>.
63 C<nbdkit-libvirt-plugin> first appeared in nbdkit 1.0.
69 L<http://libvirt.org>,
70 L<https://libvirt.org/html/libvirt-libvirt-domain.html#virDomainBlockPeek>.