[libvirt] how do I stop libvirt futzing with my network configuration?

Daniel P. Berrange berrange at redhat.com
Mon Nov 30 09:53:58 UTC 2009


On Fri, Nov 27, 2009 at 12:06:13AM +0000, Nix wrote:
> On 26 Nov 2009, Daniel P. Berrange verbalised:
> 
> > If you don't want libvirt to create the bridge + setup IPtables rules
> > then don't use the  net-XXX  commands / XML. That functionality is 
> > not there for pointing libvirt to existing bridge devices.
> 
> Ah. All comes clear.
> 
> > If you already have a bridge configured, then just point the guest 
> > directly at that bridge by name.
> 
> That seems to work: I thought it didn't, but that was my DHCP server
> deciding to go catatonic on me.
> 
> The only remaining obvious problem is virt-manager-related, I think:
> this log spam:
> 
> Nov 27 00:04:38 spindle err: 00:04:38.977: error : virLibConnError:383 : this function is not supported by the hypervisor: virConnectNumOfInterfaces
> Nov 27 00:04:38 spindle err: 00:04:38.977: error : virLibConnError:383 : this function is not supported by the hypervisor: virConnectNumOfDefinedInterfaces
> 
> Emitting this *once a second* seems a bit... extreme. Can't it try once
> and give up?

libvirtd always logs all errors, so if you want these to go away, then
virt-manager will have to stop issuing these APi calls. Best file a bug
against virt-manager about this, or raise it on the virt-manager mailing
list (virt-tools-list at redhat.com)

Regards,
Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list