]> git.proxmox.com Git - qemu.git/blame - qemu-nbd.texi
update VERSION for 1.4.1
[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
071c9394 9Export QEMU disk image using NBD protocol.
7a5ca864
FB
10
11@c man end
12
13@c man begin OPTIONS
4a6b819c
AL
14@table @option
15@item @var{filename}
7a5ca864 16 is a disk image filename
4a6b819c
AL
17@item -p, --port=@var{port}
18 port to listen on (default @samp{1024})
19@item -o, --offset=@var{offset}
7a5ca864 20 offset into the image
4a6b819c
AL
21@item -b, --bind=@var{iface}
22 interface to bind to (default @samp{0.0.0.0})
23@item -k, --socket=@var{path}
24 Use a unix socket with path @var{path}
7a5ca864
FB
25@item -r, --read-only
26 export read-only
4a6b819c
AL
27@item -P, --partition=@var{num}
28 only expose partition @var{num}
2f726488
TS
29@item -s, --snapshot
30 use snapshot file
31@item -n, --nocache
0eb256a2
PB
32@itemx --cache=@var{cache}
33 set cache mode to be used with the file. See the documentation of
34 the emulator's @code{-drive cache=...} option for allowed values.
35@item --aio=@var{aio}
36 choose asynchronous I/O mode between @samp{threads} (the default)
37 and @samp{native} (Linux only).
bba7be96
RO
38@item -c, --connect=@var{dev}
39 connect @var{filename} to NBD device @var{dev}
cd831bd7
TS
40@item -d, --disconnect
41 disconnect the specified device
4a6b819c
AL
42@item -e, --shared=@var{num}
43 device can be shared by @var{num} clients (default @samp{1})
6e886531
DB
44@item -f, --format=@var{fmt}
45 force block driver for format @var{fmt} instead of auto-detecting
75818250
TS
46@item -t, --persistent
47 don't exit on the last connection
7a5ca864
FB
48@item -v, --verbose
49 display extra debugging information
50@item -h, --help
51 display this help and exit
52@item -V, --version
53 output version information and exit
54@end table
55
56@c man end
57
58@ignore
59
60@setfilename qemu-nbd
61@settitle QEMU Disk Network Block Device Server
62
63@c man begin AUTHOR
64Copyright (C) 2006 Anthony Liguori <anthony@codemonkey.ws>.
65This is free software; see the source for copying conditions. There is NO
66warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
67@c man end
68
69@c man begin SEEALSO
70qemu-img(1)
71@c man end
72
73@end ignore