3 usage: qemu-nbd [OPTION]... @var{filename}
7 @c man begin DESCRIPTION
9 Export QEMU disk image using NBD protocol.
16 is a disk image filename
17 @item -p, --port=@var{port}
18 port to listen on (default @samp{1024})
19 @item -o, --offset=@var{offset}
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}
27 @item -P, --partition=@var{num}
28 only expose partition @var{num}
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.
36 choose asynchronous I/O mode between @samp{threads} (the default)
37 and @samp{native} (Linux only).
38 @item -c, --connect=@var{dev}
39 connect @var{filename} to NBD device @var{dev}
40 @item -d, --disconnect
41 disconnect the specified device
42 @item -e, --shared=@var{num}
43 device can be shared by @var{num} clients (default @samp{1})
44 @item -t, --persistent
45 don't exit on the last connection
47 display extra debugging information
49 display this help and exit
51 output version information and exit
59 @settitle QEMU Disk Network Block Device Server
62 Copyright (C) 2006 Anthony Liguori <anthony@codemonkey.ws>.
63 This is free software; see the source for copying conditions. There is NO
64 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.