virtmanager floods /var/log/manages

I am using opensuse 11.4, libvirtd 0.8.8 and virt-manager 0.8.5

When ever I start virt-manger the /var/log/messages is filled with the following messages:

‘May 16 12:53:03 vmhost1 libvirtd: 12:53:03.873: 3046: error : virInterfaceDefParseName:126 : XML description for interface has no name is not well formed or invalid’

A fresh entry appears every second

Where can I find the XML file with the interface description?

Any help would be appreciated

They are generally in /etc/libvirt/qemu for kvm (probably /etc/libvirt/xen for xen). You can also see the current config of a vm with the command:

virsh dumpxml *vmname*

where vmname is the guest’s name (and assuming the host is your local machine or virsh automatically connects to a remote host).

Here is the interface section of my vm. I can’t find an error. But may I am too blind

<interface type=‘bridge’>
<mac address=‘52:54:00:be:f6:da’/>
<source bridge=‘br0’/>
<model type=‘virtio’/>
<address type=‘pci’ domain=‘0x0000’ bus=‘0x00’ slot=‘0x03’ function=‘0x0’/>
</interface>

The behavior I described above is independent whether there is a vm running or not.
It starts at the same moment I start virt-manager. It begins before I’ve established a connection to a particular kvm-host.
So I would assume that these massages aren’t refering to the interface section of the virtual machines. Am I wrong?

Uuups – the following of my statements is wrong:

It starts at the same moment I start virt-manager. It begins before I’ve established a connection to a particular kvm-host.

Correct is that the messages are written to /var/log/messages directly after establishing a connection to a kvm-host but independend whether a vm is running or not.

Do you actually have a bridge set up on the host?

You might want to have a look at that thread: vm-bridge : convert virtual machines from NAT to bridge or bridge to NAT. And maybe at that other one too: vm-create : create kvm virtual machines … although I haven’t test those two scripts on openSUSE 11.4 hosts yet. I have too but…

Your vm network interface looks fine as far as I can tell. But you could try to delete it in virt-manager and create another one (you can keep the MAC address or not if it matters).

Think about making a copy of the xml file (or dump the vm config to file) before changing something - either from virt-manager, virsh or scripts.