]> git.proxmox.com Git - qemu.git/blob - qemu-nbd.texi
Merge NBD client/server, by Laurent Vivier.
[qemu.git] / qemu-nbd.texi
1 @example
2 @c man begin SYNOPSIS
3 usage: qemu-nbd [OPTION]... @var{filename}
4 @c man end
5 @end example
6
7 @c man begin DESCRIPTION
8
9 Export 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')
23 @item -k, --socket=PATH
24 Use a unix socket with path PATH
25 @item -r, --read-only
26 export read-only
27 @item -P, --partition=NUM
28 only expose partition NUM
29 @item -c, --connect
30 connect FILE to NBD device DEV
31 @item -d, --disconnect
32 disconnect the specified device
33 @item -v, --verbose
34 display extra debugging information
35 @item -h, --help
36 display this help and exit
37 @item -V, --version
38 output version information and exit
39 @end table
40
41 @c man end
42
43 @ignore
44
45 @setfilename qemu-nbd
46 @settitle QEMU Disk Network Block Device Server
47
48 @c man begin AUTHOR
49 Copyright (C) 2006 Anthony Liguori <anthony@codemonkey.ws>.
50 This is free software; see the source for copying conditions. There is NO
51 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
52 @c man end
53
54 @c man begin SEEALSO
55 qemu-img(1)
56 @c man end
57
58 @end ignore