Home
last modified time | relevance | path

Searched refs:nbd (Results 1 – 25 of 106) sorted by relevance

12345

/openbmc/linux/drivers/block/
H A Dnbd.c69 struct nbd_device *nbd; member
145 struct nbd_device *nbd; member
159 #define nbd_name(nbd) ((nbd)->disk->disk_name) argument
167 static int nbd_dev_dbg_init(struct nbd_device *nbd);
168 static void nbd_dev_dbg_close(struct nbd_device *nbd);
169 static void nbd_config_put(struct nbd_device *nbd);
173 static void nbd_disconnect_and_put(struct nbd_device *nbd);
175 static inline struct device *nbd_to_dev(struct nbd_device *nbd) in nbd_to_dev() argument
177 return disk_to_dev(nbd->disk); in nbd_to_dev()
236 struct nbd_device *nbd = (struct nbd_device *)disk->private_data; in pid_show() local
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D083.out4 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
8 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
12 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
16 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
20 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
24 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
28 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
32 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
36 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
40 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
[all …]
H A D233.out19 qemu-img: Could not open 'driver=nbd,host=127.0.0.1,port=PORT,tls-creds=tls0': Denied by server for…
21 qemu-nbd: Denied by server for option 5 (starttls)
24 qemu-img: Could not open 'nbd://localhost:PORT': TLS negotiation required before option 7 (go)
27 qemu-nbd: TLS negotiation required before option 3 (list)
30 image: nbd://127.0.0.1:PORT
31 file format: nbd
34 image: nbd://127.0.0.1:PORT
35 file format: nbd
45 qemu-img: Could not open 'driver=nbd,host=localhost,port=PORT,tls-creds=tls0': Certificate does not…
46 qemu-nbd: Certificate does not match the hostname localhost
[all …]
H A D223.out46 {"execute":"nbd-server-add",
49 {"execute":"nbd-server-start",
51 "data":{"path":"SOCK_DIR/nbd"}}}}
53 {"execute":"nbd-server-start",
58 {"execute":"nbd-server-add",
61 {"execute":"nbd-server-add",
64 {"execute":"nbd-server-add",
67 {"execute":"nbd-server-add",
71 {"execute":"nbd-server-add",
75 {"execute":"nbd-server-add",
[all …]
H A D23346 . ./common.nbd
78 driver=nbd,host=$nbd_tcp_addr,port=$nbd_tcp_port,tls-creds=tls0 \
93 $QEMU_IMG info nbd://localhost:$nbd_tcp_port \
103 driver=nbd,host=$nbd_tcp_addr,port=$nbd_tcp_port,tls-creds=tls0 \
106 driver=nbd,host=$nbd_tcp_addr,port=$nbd_tcp_port,tls-creds=tls0 \
115 driver=nbd,host=localhost,port=$nbd_tcp_port,tls-creds=tls0 \
124 driver=nbd,host=localhost,port=$nbd_tcp_port,tls-creds=tls0,tls-hostname=127.0.0.1 \
133 driver=nbd,host=$nbd_tcp_addr,port=$nbd_tcp_port,tls-creds=tls0 \
143 driver=nbd,host=$nbd_tcp_addr,port=$nbd_tcp_port,tls-creds=tls0 \
164 driver=nbd,host=$nbd_tcp_addr,port=$nbd_tcp_port,tls-creds=tls0 \
[all …]
H A D143.out4 { 'execute': 'nbd-server-start',
6 'data': { 'path': 'SOCK_DIR/nbd' }}}}
8 qemu-io: can't open device nbd+unix:///no_such_export?socket=SOCK_DIR/nbd: Requested export not ava…
10 qemu-io: can't open device nbd+unix:///aa--aa1?socket=SOCK_DIR/nbd: Requested export not available
H A D307.out5 {"execute": "nbd-server-start", "arguments": {"addr": {"data": {"path": "SOCK_DIR/PID-socket"}, "ty…
11 {"execute": "block-export-add", "arguments": {"id": "export0", "node-name": "fmt", "type": "nbd"}}
14 {"return": [{"id": "export0", "node-name": "fmt", "shutting-down": false, "type": "nbd"}]}
28 {"execute": "block-export-add", "arguments": {"id": "#invalid", "node-name": "fmt", "type": "nbd"}}
30 {"execute": "block-export-add", "arguments": {"id": "export0", "node-name": "fmt", "type": "nbd"}}
32 {"execute": "block-export-add", "arguments": {"id": "export1", "node-name": "ro", "type": "nbd", "w…
37 {"return": [{"id": "export0", "node-name": "fmt", "shutting-down": false, "type": "nbd"}]}
43 {"return": [{"id": "export0", "node-name": "fmt", "shutting-down": false, "type": "nbd"}]}
59 …e, "id": "export1", "iothread": "iothread1", "node-name": "null", "type": "nbd", "writable": true}}
61 …e, "id": "export1", "iothread": "iothread1", "node-name": "null", "type": "nbd", "writable": true}}
[all …]
H A D302.out3 image: nbd+unix:///exp?socket=SOCK_DIR/PID-nbd-sock
8 filename: nbd+unix:///exp?socket=SOCK_DIR/PID-nbd-sock
9 protocol type: nbd
H A D140.out7 { 'execute': 'nbd-server-start',
9 'data': { 'path': 'SOCK_DIR/nbd' }}}}
11 { 'execute': 'nbd-server-add',
19 qemu-io: can't open device nbd+unix:///drv?socket=SOCK_DIR/nbd: Requested export not available
H A D08333 rm -f nbd-fault-injector.out
34 rm -f nbd-fault-injector.conf
43 _supported_proto nbd
90 …$PYTHON nbd-fault-injector.py $extra_args "$nbd_addr" "$TEST_DIR/nbd-fault-injector.conf" >"$TEST_…
H A D299.out5 {"execute": "nbd-server-start", "arguments": {"addr": {"data": {"path": "SOCK_DIR/PID-nbd.sock"}, "…
7 {"execute": "nbd-server-add", "arguments": {"bitmap": "bitmap0", "device": "disk", "writable": true…
H A D162.out4 qemu-img: Could not open 'json:{"driver": "nbd", "host": -1}': address resolution failed for -1:108…
5 image: nbd://localhost:PORT
6 image: nbd+unix://?socket=42
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/nbd/nbd/
H A D0001-nbd-client-Fix-build-on-musl-gcc14.patch4 Subject: [PATCH] nbd-client: Fix build on musl + gcc14
11 | ../nbd-3.26.1/nbd-client.c: In function 'openunix':
12 | ../nbd-3.26.1/nbd-client.c:345:27: error: passing argument 2 of 'connect' from incompatible point…
17 | In file included from ../nbd-3.26.1/nbd-client.c:25:
18 | /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/nbd/3.26.1/recipe-sysroot/usr/include/sy…
22 Upstream-Status: Submitted [https://lists.debian.org/nbd/2024/05/msg00012.html]
25 nbd-client.c | 2 +-
28 diff --git a/nbd-client.c b/nbd-client.c
30 --- a/nbd-client.c
31 +++ b/nbd-client.c
/openbmc/linux/Documentation/admin-guide/blockdev/
H A Dnbd.rst16 For more information, or to download the nbd-client and nbd-server
17 tools, go to https://github.com/NetworkBlockDevice/nbd.
19 The nbd kernel module need only be installed on the client
20 system, as the nbd-server is completely in userspace. In fact,
21 the nbd-server has been successfully ported to other operating
/openbmc/openbmc/meta-phosphor/recipes-connectivity/jsnbd/
H A Djsnbd_git.bb21 install -d ${D}${sysconfdir}/nbd-proxy/
22 install -m 0644 ${NBD_PROXY_CONFIG_JSON} ${D}${sysconfdir}/nbd-proxy/config.json
23 install -m 0755 ${UNPACKDIR}/state_hook ${D}${sysconfdir}/nbd-proxy/state
26 FILES:${PN} += "${sysconfdir}/nbd-proxy/state"
28 RDEPENDS:${PN} += "nbd-client"
/openbmc/openbmc/meta-hpe/meta-gxp/recipes-connectivity/jsnbd/
H A Djsnbd_git.bbappend3 FILES:${PN} += "${sysconfdir}/nbd-proxy/state"
7 install -d ${D}${sysconfdir}/nbd-proxy/
8 install -m 0755 ${UNPACKDIR}/state_hook ${D}${sysconfdir}/nbd-proxy/state
/openbmc/qemu/scripts/simplebench/
H A Dbench-backup.py44 if args.nbd:
45 nbd = args.nbd.split(':')
46 host = nbd[0]
47 port = '10809' if len(nbd) == 1 else nbd[1]
/openbmc/qemu/docs/tools/
H A Dqemu-nbd.rst8 **qemu-nbd** [*OPTION*]... *filename*
10 **qemu-nbd** -L [*OPTION*]...
12 **qemu-nbd** -d *dev*
27 .. program:: qemu-nbd
41 credentials for the ``qemu-nbd`` server or client.
201 *STDERR* stream open if the ``qemu-nbd`` process is daemonized due to
227 qemu-nbd -f qcow2 file.qcow2
235 qemu-nbd \
249 qemu-nbd --fork --persistent --shared=5 --socket=/path/to/sock \
255 Access to bind ``qemu-nbd`` to a /dev/nbd device generally requires root
[all …]
H A Dqemu-storage-daemon.rst14 ``qemu-img``, and ``qemu-nbd`` in a long-running process controlled via QMP
76 .. option:: --export [type=]nbd,id=<id>,node-name=<node-name>[,name=<export-name>][,writable=on|off…
86 The ``nbd`` export type requires ``--nbd-server`` (see below). ``name`` is
143 .. option:: --nbd-server addr.type=inet,addr.host=<host>,addr.port=<port>[,tls-creds=<id>][,tls-aut…
144 …--nbd-server addr.type=unix,addr.path=<path>[,tls-creds=<id>][,tls-authz=<id>][,max-connections=<n…
145 --nbd-server addr.type=fd,addr.str=<fd>[,tls-creds=<id>][,tls-authz=<id>][,max-connections=<n>]
153 ``/var/run/qsd-nbd.sock``::
155 --nbd-server addr.type=unix,addr.path=/var/run/qsd-nbd.sock
227 The same socket spawning approach also works with the ``--nbd-server
231 Export raw image file ``disk.img`` over NBD UNIX domain socket ``nbd.sock``::
[all …]
/openbmc/qemu/tests/qemu-iotests/tests/
H A Dnbd-tls-iothread.out1 QA output created by nbd-tls-iothread
25 {"execute": "nbd-server-start", "arguments":
30 {"node-name": "drive_image1", "type": "nbd", "writable": true,
37 {"node-name": "mirror", "driver": "nbd",
H A Dnbd-multiconn33 nbd: ModuleType
37 h = nbd.NBD()
115 clients = [nbd.NBD() for _ in range(3)]
139 import nbd # type: ignore
/openbmc/qemu/qapi/
H A Dblock-export.json14 # Keep this type consistent with the nbd-server-start arguments. The
42 # @nbd-server-start:
45 # devices can then be exported using @nbd-server-add. The NBD server
73 { 'command': 'nbd-server-start',
83 # An NBD block export (common options shared between nbd-server-add
219 # An NBD block export, per legacy nbd-server-add command.
239 # @nbd-server-add:
257 { 'command': 'nbd-server-add',
285 # @nbd-server-remove:
306 { 'command': 'nbd-server-remove',
[all …]
/openbmc/qemu/docs/interop/
H A Dnbd.rst5 ``block/nbd.c``), an internal NBD server (see ``blockdev-nbd.c``), and an
6 external NBD server tool (see ``qemu-nbd.c``). The common code is placed
7 in ``nbd/*``.
10 https://github.com/NetworkBlockDevice/nbd/blob/master/doc/proto.md
/openbmc/docs/designs/
H A Dvirtual-media.md98 > -- [https://nbd.sourceforge.io/](https://nbd.sourceforge.io/)
109 redirection is block device created by nbd-client `/dev/nbdXX`
138 │ /nbd/X endpoint │ ╔══════════════╧════╗ │ │ │
140 │ │ ║ /tmp/nbd.X.sock ║ │ │ │
143 │ │ ║ endpoint /nbd/X ║ │ │ │
146 │ │ /tmp/nbd.X.sock │ │ │ │
150 │ │ │ /tmp/nbd.x.sock │ │ │
159 │ │ │ storage from /dev/nbd/X │ │
209 │ │ │ │ /tmp/nbd.X.sock ┌┴┐ │ │ │
213 │ │ │ │ /tmp/nbd.X.sock to /dev/nbdX ┌┴┐ │ │
[all …]
/openbmc/webui-vue/src/views/Operations/VirtualMedia/
H A DVirtualMedia.vue143 device.nbd = new NbdServer(
149 device.nbd.socketStarted = () =>
153 device.nbd.errorReadingFile = () =>
157 device.nbd.socketClosed = (code) => {
170 device.nbd.start();
174 device.nbd.stop();

12345