search for: check_bridge_exist

Displaying 8 results from an estimated 8 matches for "check_bridge_exist".

Did you mean: check_bridge_exists
2015 Sep 10
1
[PATCH] launch: libvirt: Better error when bridge / virbr0 doesn't exist (RHBZ#1262127).
...--- a/src/launch-libvirt.c +++ b/src/launch-libvirt.c @@ -181,6 +181,7 @@ static int is_blk (const char *path); static void ignore_errors (void *ignore, virErrorPtr ignore2); static void set_socket_create_context (guestfs_h *g); static void clear_socket_create_context (guestfs_h *g); +static int check_bridge_exists (guestfs_h *g, const char *brname); #if HAVE_LIBSELINUX static void selinux_warning (guestfs_h *g, const char *func, const char *selinux_op, const char *data); @@ -393,6 +394,9 @@ launch_libvirt (guestfs_h *g, void *datav, const char *libvirt_uri) } guestfs_pop_error_handler (g); + if...
2018 Dec 06
0
[PATCH v2] Revert "launch: libvirt: Use qemu-bridge-helper to implement a full network (RHBZ#1148012)."
...struct version libvirt_version; /* libvirt version */ @@ -167,7 +166,6 @@ static int is_blk (const char *path); static void ignore_errors (void *ignore, virErrorPtr ignore2); static void set_socket_create_context (guestfs_h *g); static void clear_socket_create_context (guestfs_h *g); -static int check_bridge_exists (guestfs_h *g, const char *brname); #if HAVE_LIBSELINUX static void selinux_warning (guestfs_h *g, const char *func, const char *selinux_op, const char *data); @@ -448,17 +446,8 @@ launch_libvirt (guestfs_h *g, void *datav, const char *libvirt_uri) guestfs_get_backend_setting (g, "in...
2018 Dec 06
2
[PATCH v2] Revert "launch: libvirt: Use qemu-bridge-helper to implement a full network (RHBZ#1148012)."
Let's actually compile and test the patch this time, rather than trusting the RHEL 7.6 patch to apply directly to head ... Rich.
2018 Dec 06
1
[PATCH] Revert "launch: libvirt: Use qemu-bridge-helper to implement
Possibly for post 1.40. Rich.
2016 Aug 02
0
[PATCH] launch: libvirt: Autodetect backing format for drive overlays (RHBZ#1354335).
...launch-libvirt.c | 90 ++++++++++++++++++++++++++++++++-------------------- 1 file changed, 56 insertions(+), 34 deletions(-) diff --git a/src/launch-libvirt.c b/src/launch-libvirt.c index e8b6e27..3b53a3a 100644 --- a/src/launch-libvirt.c +++ b/src/launch-libvirt.c @@ -162,6 +162,50 @@ static int check_bridge_exists (guestfs_h *g, const char *brname); static void selinux_warning (guestfs_h *g, const char *func, const char *selinux_op, const char *data); #endif +/* Return drv->src.format, but if it is NULL, autodetect the format. + * + * libvirt has disabled the feature of detecting the disk format, + *...
2015 Oct 05
0
[PATCH 2/2] Fix whitespace.
...), \ - __FILE__, __LINE__, (fn)); + perrorf (g, _("%s:%d: error constructing libvirt XML near call to \"%s\""), \ + __FILE__, __LINE__, (fn)); static xmlChar * construct_libvirt_xml (guestfs_h *g, const struct libvirt_xml_params *params) @@ -2023,7 +2023,7 @@ check_bridge_exists (guestfs_h *g, const char *brname) "\n" "You may also need to allow the bridge in /etc/qemu/bridge.conf.\n" "For further information see guestfs(3)."), - brname); + brname); return -1; } diff --git a/src/launch-uml....
2015 Oct 05
3
[PATCH 1/2] Change 'fprintf (stdout,...)' -> printf.
Result of earlier copy and paste. --- align/scan.c | 35 ++++++++++--------- cat/cat.c | 39 +++++++++++---------- cat/filesystems.c | 69 +++++++++++++++++++------------------- cat/log.c | 35 ++++++++++--------- cat/ls.c | 61 +++++++++++++++++---------------- df/main.c | 43 ++++++++++++------------ diff/diff.c | 67
2017 Apr 04
1
[PATCH] Use Unicode single quotes ‘’ in place of short single quoted strings throughout.
...NULL) { - perrorf (g, _("realpath: could not convert '%s' to absolute path"), + perrorf (g, _("realpath: could not convert ‘%s’ to absolute path"), drv->src.u.path); return -1; } @@ -2036,7 +2036,7 @@ check_bridge_exists (guestfs_h *g, const char *brname) return 0; error (g, - _("bridge '%s' not found. Try running:\n" + _("bridge ‘%s’ not found. Try running:\n" "\n" " brctl show\n" "\n" diff -...