]> git.proxmox.com Git - mirror_qemu.git/blame - qemu-nbd.texi
Allow to share a disk image via nbd, by Laurent Vivier.
[mirror_qemu.git] / qemu-nbd.texi
CommitLineData
7a5ca864
FB
1@example
2@c man begin SYNOPSIS
3usage: qemu-nbd [OPTION]... @var{filename}
4@c man end
5@end example
6
7@c man begin DESCRIPTION
8
9Export Qemu disk image using NBD protocol.
10
11@c man end
12
13@c man begin OPTIONS
14@table @var
15@item filename
16 is a disk image filename
17@item -p, --port=PORT
18 port to listen on (default `1024')
19@item -o, --offset=OFFSET
20 offset into the image
21@item -b, --bind=IFACE
22 interface to bind to (default `0.0.0.0')
cd831bd7
TS
23@item -k, --socket=PATH
24 Use a unix socket with path PATH
7a5ca864
FB
25@item -r, --read-only
26 export read-only
27@item -P, --partition=NUM
28 only expose partition NUM
2f726488
TS
29@item -s, --snapshot
30 use snapshot file
31@item -n, --nocache
32 disable host cache
cd831bd7
TS
33@item -c, --connect
34 connect FILE to NBD device DEV
35@item -d, --disconnect
36 disconnect the specified device
3b05a8e9
TS
37@item -e, --shared=NUM
38 device can be shared by NUM clients (default '1')
7a5ca864
FB
39@item -v, --verbose
40 display extra debugging information
41@item -h, --help
42 display this help and exit
43@item -V, --version
44 output version information and exit
45@end table
46
47@c man end
48
49@ignore
50
51@setfilename qemu-nbd
52@settitle QEMU Disk Network Block Device Server
53
54@c man begin AUTHOR
55Copyright (C) 2006 Anthony Liguori <anthony@codemonkey.ws>.
56This is free software; see the source for copying conditions. There is NO
57warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
58@c man end
59
60@c man begin SEEALSO
61qemu-img(1)
62@c man end
63
64@end ignore