search for: network_bridge

Displaying 20 results from an estimated 32 matches for "network_bridge".

2018 Dec 06
1
[PATCH] Revert "launch: libvirt: Use qemu-bridge-helper to implement
Possibly for post 1.40. Rich.
2018 Dec 06
0
[PATCH v2] Revert "launch: libvirt: Use qemu-bridge-helper to implement a full network (RHBZ#1148012)."
...estfs.pod b/lib/guestfs.pod index 3a9805c95..e1998c7eb 100644 --- a/lib/guestfs.pod +++ b/lib/guestfs.pod @@ -1551,16 +1551,6 @@ On Fedora, install C<kernel-debuginfo> for the C<vmlinux> file (containing symbols). Make sure the symbols precisely match the kernel being used. -=head3 network_bridge - -The libvirt backend supports: - - export LIBGUESTFS_BACKEND_SETTINGS=network_bridge=virbrX - -This allows you to override the bridge that is connected to when the -network is enabled. The default is C<virbr0>. See also -L</guestfs_set_network>. - =head2 ATTACHING TO RUNNING DAEMON...
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.
2014 Oct 02
5
[PATCH v3 0/4] launch: libvirt: Use qemu-bridge-helper to implement a
v3: - Various changes to dhclient/dhcpcd as discussed on the mailing list.
2014 Oct 02
6
[PATCH v2 0/4] launch: libvirt: Use qemu-bridge-helper to implement a full network (RHBZ#1148012).
v2: - Make virbr0 configurable. - Fix the tests.
2015 Sep 10
1
[PATCH] launch: libvirt: Better error when bridge / virbr0 doesn't exist (RHBZ#1262127).
...c 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 (g->enable_network && check_bridge_exists (g, data->network_bridge) == -1) + goto cleanup; + /* Locate and/or build the appliance. */ TRACE0 (launch_build_libvirt_appliance_start); @@ -1988,6 +1992,49 @@ is_blk (const char *path) return S_ISBLK (statbuf.st_mode); } +static int +is_dir (const char *path) +{ + struct stat statbuf; + + if (stat (pa...
2018 Oct 09
2
virt-builder fail with "bridge ‘virbr0’ not found" (fixed by LIBGUESTFS_BACKEND=direct ?!)
...a-27 -o /var/tmp/fedora-27.img ... [ 25.2] Opening the new disk virt-builder: error: libguestfs error: bridge ‘virbr0’ not found. Try running: brctl show to get a list of bridges on the host, and then selecting the bridge you wish the appliance network to connect to using: export _SETTINGS=network_bridge=<bridge name> I don't want to add bridges to my new fresh oVirt test host, and remember that this used to work previously without the bridge. So I tried the usual "fix" (I know it should not be used in production): $ export LIBGUESTFS_BACKEND=direct And for some reason this...
2018 Oct 10
2
Re: virt-builder fail with "bridge ‘virbr0’ not found" (fixed by LIBGUESTFS_BACKEND=direct ?!)
...: error: libguestfs error: bridge ‘virbr0’ not found. Try > > running: > > > > brctl show > > > > to get a list of bridges on the host, and then selecting the > > bridge you wish the appliance network to connect to using: > > > > export _SETTINGS=network_bridge=<bridge name> > > The libvirt backend uses a network bridge on the host to setup the > networking in the guest, which is enabled by default in virt-builder. > OK, now it is clear why bypassing libvirt avoids this issue. So maybe I'm missing some libvirt package required for...
2018 Oct 10
1
Re: virt-builder fail with "bridge ‘virbr0’ not found" (fixed by LIBGUESTFS_BACKEND=direct ?!)
...unning: > > > > > > > > brctl show > > > > > > > > to get a list of bridges on the host, and then selecting the > > > > bridge you wish the appliance network to connect to using: > > > > > > > > export _SETTINGS=network_bridge=<bridge name> > > > > > > The libvirt backend uses a network bridge on the host to setup the > > > networking in the guest, which is enabled by default in virt-builder. > > > > > > > OK, now it is clear why bypassing libvirt avoids this issue. &...
2016 Aug 31
2
Re: [libvirt-users] couple of questions about virt-v2v
[Best to ask these questions on the libguestfs mailing list. You don't have to subscribe] On Wed, Aug 31, 2016 at 03:18:32PM +0100, cmc wrote: > Hi, > > I have two questions about virt-v2v that I hope someone could help with. > > 1. I have a host that I use to export VMs from VMWare to oVirt, as the RHEL > 7 version of virt-v2v does not support W2012. Please try this
2014 Oct 31
1
[PATCH] launch: libvirt: Implement drive secrets (RHBZ#1159016).
...av, int check_for_errors) struct backend_libvirt_data *data = datav; virConnectPtr conn = data->conn; virDomainPtr dom = data->dom; + size_t i; int ret = 0; int flags; @@ -1710,6 +1921,12 @@ shutdown_libvirt (guestfs_h *g, void *datav, int check_for_errors) free (data->network_bridge); data->network_bridge = NULL; + for (i = 0; i < data->nr_secrets; ++i) + free (data->secrets[i].secret); + free (data->secrets); + data->secrets = NULL; + data->nr_secrets = 0; + return ret; } @@ -1814,6 +2031,10 @@ hot_add_drive_libvirt (guestfs_h *g, void *...
2014 Oct 31
1
[PATCH v2] launch: libvirt: Implement drive secrets (RHBZ#1159016).
Since v1: - Base64 decode the Ceph secret before passing it to libvirt. - Don't call virSecretFree (NULL) [libvirt bug?] - Small cleanups.
2016 Feb 24
0
Re: virt-customize network issue
...> also set as the 'default' and it works fine when i boot the machine as > normal. We would need to see the exact error messages. See: http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs But at a guess you might try setting this: http://libguestfs.org/guestfs.3.html#network_bridge > Can you provide me some insight or at least point me in the right direction > on how to set up the host machine to handle the networking for > virt-customize and the other great utilities with it? I have been able to > find very little information on Google. Rich. -- Richard Jone...
2016 Aug 31
0
Re: [libvirt-users] couple of questions about virt-v2v
...ror? > -------------8<------------ virt-v2v: error: libguestfs error: bridge 'virbr0' not found. Try running: brctl show to get a list of bridges on the host, and then selecting the bridge you wish the appliance network to connect to using: export LIBGUESTFS_BACKEND_SETTINGS=network_bridge=<bridge name> You may also need to allow the bridge in /etc/qemu/bridge.conf. For further information see guestfs(3). -------------8<------------ I got around this by just running 'brctl addbr virbr0', but was curious as to why it needed a bridge on a host it wasn't going to...
2018 Oct 10
0
Re: virt-builder fail with "bridge ‘virbr0’ not found" (fixed by LIBGUESTFS_BACKEND=direct ?!)
...pening the new disk > virt-builder: error: libguestfs error: bridge ‘virbr0’ not found. Try > running: > > brctl show > > to get a list of bridges on the host, and then selecting the > bridge you wish the appliance network to connect to using: > > export _SETTINGS=network_bridge=<bridge name> The libvirt backend uses a network bridge on the host to setup the networking in the guest, which is enabled by default in virt-builder. > I don't want to add bridges to my new fresh oVirt test host, and > remember that this used to work previously without the bridge...
2018 Oct 10
0
Re: virt-builder fail with "bridge ‘virbr0’ not found" (fixed by LIBGUESTFS_BACKEND=direct ?!)
...0’ not found. Try > > > running: > > > > > > brctl show > > > > > > to get a list of bridges on the host, and then selecting the > > > bridge you wish the appliance network to connect to using: > > > > > > export _SETTINGS=network_bridge=<bridge name> > > > > The libvirt backend uses a network bridge on the host to setup the > > networking in the guest, which is enabled by default in virt-builder. > > > > OK, now it is clear why bypassing libvirt avoids this issue. > > So maybe I'm mi...
2020 Jul 07
0
Re: Why wireless interface cannot be attached to a Linux host bridge?
...aware/at liberty to say how VirtualBox circumvents this > limitation? I presume it's via some sort of software switch trickery, > but they seem to be able to do a bridged(-like) mode via a Wi-Fi interface. See the second "Note" at <https://www.virtualbox.org/manual/ch06.html#network_bridged>. Basically, they do MAC address translation. -- Pol
2016 Dec 12
0
Re: libguestfs error: bridge 'virbr0' not found
...tting this error after using virt-v2v-copy-to-local and trying to > run: > $ virt-v2v -i libvirtxml rhel7.xml -o local -os /var/tmp -of raw > > I try to set: > export LIBGUESTFS_BACKEND_SETTINGS=virbr0=ovirtmgmt The syntax is wrong, it should be: export LIBGUESTFS_BACKEND_SETTINGS=network_bridge=ovirtmgmt or whatever bridge you want to use, and you do have to enable it in /etc/qemu/bridge.conf so that we can use qemu-bridge-helper. > with no success and the file /etc/qemu/bridge.conf contains: > allow virbr0 > > it only worked after creating the bridge, is there other way to...
2015 Nov 13
2
Poor perfmance of bridged interfaces
...e two or more network segments. A bridge behaves like a virtual network switch, working transparently (the other machines do not need to know or care about its existence). Any real devices (e.g. eth0) and virtual devices (e.g. tap0) can be connected to it." https://wiki.archlinux.org/index.php/Network_bridge If I'm wrong please correct me. -- -- Sergio Belkin LPIC-2 Certified - http://www.lpi.org
2016 Dec 11
2
libguestfs error: bridge 'virbr0' not found
Hey, I am getting this error after using virt-v2v-copy-to-local and trying to run: $ virt-v2v -i libvirtxml rhel7.xml -o local -os /var/tmp -of raw I try to set: export LIBGUESTFS_BACKEND_SETTINGS=virbr0=ovirtmgmt with no success and the file /etc/qemu/bridge.conf contains: allow virbr0 it only worked after creating the bridge, is there other way to import without creating the bridge? Thank