search for: c5274f65

Displaying 2 results from an estimated 2 matches for "c5274f65".

2019 Jun 26
3
[nbdkit PATCH] captive: Support $uri in --run
...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 (fp, "...
2019 Jun 26
0
Re: [nbdkit PATCH] captive: Support $uri in --run
...e 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=&qu...