Displaying 2 results from an estimated 2 matches for "virt_open".
Did you mean:
dict_open
2019 Sep 15
0
[PATCH nbdkit 2/4] guestfs, libvirt: Rename ‘connect’ global to avoid -Wshadow warning.
...char *disk = NULL;
@@ -63,7 +63,7 @@ static int
virt_config (const char *key, const char *value)
{
if (strcmp (key, "connect") == 0) {
- connect = value;
+ libvirt_uri = value;
}
else if (strcmp (key, "domain") == 0) {
domain = value;
@@ -119,7 +119,7 @@ virt_open (int readonly)
}
/* Connect to libvirt. */
- h->conn = virConnectOpen (connect);
+ h->conn = virConnectOpen (libvirt_uri);
if (!h->conn) {
nbdkit_error ("virConnectOpen failed, see earlier error messages");
goto err1;
--
2.23.0
2019 Sep 15
13
[PATCH nbdkit 0/4] Reflection plugin, peer name.
This series is based on my blog posting here:
https://rwmj.wordpress.com/2019/09/13/nbdkit-supports-exportnames/
It depends on the fix for realloc:
https://www.redhat.com/archives/libguestfs/2019-September/thread.html#00103
This series adds a fun plugin, and also an semi-related feature I've
long thought to be desirable. You can consider patches 1 & 4, and
patches 2 & 3 as forming