Displaying 2 results from an estimated 2 matches for "virt_config".
Did you mean:
virtio_config
2019 Sep 15
0
[PATCH nbdkit 2/4] guestfs, libvirt: Rename ‘connect’ global to avoid -Wshadow warning.
...plugin.c
+++ b/plugins/libvirt/libvirt-plugin.c
@@ -55,7 +55,7 @@
#include <nbdkit-plugin.h>
/* Configuration. */
-static const char *connect = NULL;
+static const char *libvirt_uri = NULL;
static const char *domain = NULL;
static const 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. */
-...
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