Displaying 4 results from an estimated 4 matches for "6971af2e".
2019 Jun 26
3
[nbdkit PATCH] captive: Support $uri in --run
...socket.
+An older URL that refers to the nbdkit port or socket in a manner
+specific to certain tools.
Note there is some magic here, since qemu and guestfish URLs have a
different format, so nbdkit tries to guess which you are running. If
diff --git a/server/captive.c b/server/captive.c
index 6971af2e..c5274f65 100644
--- a/server/captive.c
+++ b/server/captive.c
@@ -66,7 +66,19 @@ run_command (void)
exit (EXIT_FAILURE);
}
- /* Construct $nbd "URL". Unfortunately guestfish and qemu take
+ /* Construct $uri. */
+ fprintf (fp, "uri=");
+ if (port) {
+ fprintf (...
2019 Jun 26
0
[nbdkit PATCH v2 2/2] captive: Support $uri in --run
...socket.
+An older URL that refers to the nbdkit port or socket in a manner
+specific to certain tools.
Note there is some magic here, since qemu and guestfish URLs have a
different format, so nbdkit tries to guess which you are running. If
diff --git a/server/captive.c b/server/captive.c
index 6971af2e..90e42050 100644
--- a/server/captive.c
+++ b/server/captive.c
@@ -66,7 +66,19 @@ run_command (void)
exit (EXIT_FAILURE);
}
- /* Construct $nbd "URL". Unfortunately guestfish and qemu take
+ /* Construct $uri. */
+ fprintf (fp, "uri=");
+ if (port) {
+ fprintf (...
2019 Jun 26
0
Re: [nbdkit PATCH] captive: Support $uri in --run
...fers to the nbdkit port or socket in a manner
> +specific to certain tools.
>
> Note there is some magic here, since qemu and guestfish URLs have a
> different format, so nbdkit tries to guess which you are running. If
> diff --git a/server/captive.c b/server/captive.c
> index 6971af2e..c5274f65 100644
> --- a/server/captive.c
> +++ b/server/captive.c
> @@ -66,7 +66,19 @@ run_command (void)
> exit (EXIT_FAILURE);
> }
>
> - /* Construct $nbd "URL". Unfortunately guestfish and qemu take
> + /* Construct $uri. */
> + fprintf (fp, &qu...
2019 Jun 26
3
[nbdkit PATCH v2 0/2] adding nbdkit --run '$uri'
Since v1:
- new patch to add uri_quote()
- rebase on top of other recent patches needed while auditing shell_quote()
- use uri_quote() instead of shell_quote() for producing $uri
Eric Blake (2):
common/utils: Add uri_quote and tests
captive: Support $uri in --run
docs/nbdkit-captive.pod | 8 ++-
common/utils/utils.h | 1 +
common/utils/test-quotes.c | 108