Displaying 2 results from an estimated 2 matches for "3187822".
Did you mean:
1187822
2019 Oct 18
0
[PATCH libnbd 2/2] api: Add support for AF_VSOCK.
...[optind]);
+ exit (EXIT_FAILURE);
+ }
+ if (nbd_connect_vsock (nbd, cid, port) == -1) {
+ fprintf (stderr, "%s\n", nbd_get_error ());
+ exit (EXIT_FAILURE);
+ }
+ break;
}
ssize = nbd_get_size (nbd);
diff --git a/fuse/nbdfuse.pod b/fuse/nbdfuse.pod
index 3187822..3a7401c 100644
--- a/fuse/nbdfuse.pod
+++ b/fuse/nbdfuse.pod
@@ -19,6 +19,8 @@ Other modes:
nbdfuse MOUNTPOINT[/FILENAME] --unix SOCKET
+ nbdfuse MOUNTPOINT[/FILENAME] --vsock CID PORT
+
=head1 DESCRIPTION
nbdfuse presents a Network Block Device as a local file inside a FUSE
@@ -230,6 +2...
2019 Oct 18
5
[PATCH libnbd 0/2] api: Add support for AF_VSOCK.
This is a series of patches to libnbd and nbdkit adding AF_VSOCK
support.
On the host side it allows you to start an nbdkit instance which
listens on a virtio-vsock socket:
$ ./nbdkit -fv --vsock memory 1G
...
nbdkit: debug: bound to vsock 2:10809
On the guest side you can then use libnbd to connect to the server:
$ ./run nbdsh -c 'h.connect_vsock(2, 10809)' -c