1nbdkit-libvirt-plugin(1) NBDKIT nbdkit-libvirt-plugin(1)
2
3
4
6 nbdkit-libvirt-plugin - nbdkit libvirt plugin using virDomainBlockPeek
7
9 nbdkit libvirt [connect=URI] domain=DOMAIN disk=DISK
10
12 nbdkit libvirt domain=MyGuest disk=sda
13 guestfish --ro --format=raw -a nbd://localhost
14
16 "nbdkit-libvirt-plugin" is an nbdkit(1) plugin that lets you access
17 libvirt guest disks. Only read-only access is possible. It is
18 implemented using the libvirt "virDomainBlockPeek" API. It can also be
19 used over remote libvirt connections.
20
22 connect=URI
23 This optional parameter specifies the libvirt connection URI.
24
25 domain=DOMAIN
26 This required parameter specifies the libvirt domain name (guest
27 name).
28
29 disk=DISK
30 This required parameter specifies the guest's disk that we want to
31 read.
32
33 You can either give the path to the backing device (/path/to/disk)
34 or the target name (eg. "sda").
35
36 In either case use "virsh dumpxml DOMAIN" to list possible disks.
37 Look for "<source dev=...>" or "<source file=...>" or
38 "<target dev=...>" in the XML.
39
41 nbdkit(1), nbdkit-plugin(3), http://libvirt.org,
42 https://libvirt.org/html/libvirt-libvirt-domain.html#virDomainBlockPeek.
43
45 Richard W.M. Jones
46
48 Copyright (C) 2013-2018 Red Hat Inc.
49
51 Redistribution and use in source and binary forms, with or without
52 modification, are permitted provided that the following conditions are
53 met:
54
55 · Redistributions of source code must retain the above copyright
56 notice, this list of conditions and the following disclaimer.
57
58 · Redistributions in binary form must reproduce the above copyright
59 notice, this list of conditions and the following disclaimer in the
60 documentation and/or other materials provided with the
61 distribution.
62
63 · Neither the name of Red Hat nor the names of its contributors may
64 be used to endorse or promote products derived from this software
65 without specific prior written permission.
66
67 THIS SOFTWARE IS PROVIDED BY RED HAT AND CONTRIBUTORS ''AS IS'' AND ANY
68 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
69 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
70 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RED HAT OR CONTRIBUTORS BE
71 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
72 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
73 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
74 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
75 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
76 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
77 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
78
79
80
81nbdkit-1.12.3 2019-05-22 nbdkit-libvirt-plugin(1)