[libvirt] Warnings messages in logs from DHCP snooping code

I'm noticing that VMs which have nwfilters associated with them will apparently always cause the following errors to appear in the logs upon VM shutdown: 2013-02-27 17:02:18.709+0000: 9669: error : virNWFilterDHCPSnoopEnd:2131 : internal error ifname "vnet0" not in key map 2013-02-27 17:02:18.715+0000: 9669: error : virNetDevGetIndex:653 : Unable to get index for interface vnet0: No such device Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|

2013/2/28 Daniel P. Berrange <berrange@redhat.com>
I'm noticing that VMs which have nwfilters associated with them will apparently always cause the following errors to appear in the logs upon VM shutdown:
2013-02-27 17:02:18.709+0000: 9669: error : virNWFilterDHCPSnoopEnd:2131 : internal error ifname "vnet0" not in key map 2013-02-27 17:02:18.715+0000: 9669: error : virNetDevGetIndex:653 : Unable to get index for interface vnet0: No such device
I got this trouble too on CentOS6.4 libvirt-0.10.2-18 , after vm started many seconds ,it will auto destroyed . But I noticed that if remove the " <memtune> <hard_limit unit='KiB'>2097152</hard_limit> <soft_limit unit='KiB'>2097152</soft_limit> <swap_hard_limit unit='KiB'>3145728</swap_hard_limit> </memtune> " using virsh edit ,vm can start correctly. below are error messages from /var/log/libvirt/libvirtd.log: 2013-05-15 09:17:12.486+0000: 32416: warning : qemuDomainObjTaint:1377 : Domain id=43 name='vm1' uuid=e82f1c4e-cdbf-fc66-a0be-d1c36a1a3c0b is tainted: host-cpu 2013-05-15 09:17:28.161+0000: 32373: error : qemuMonitorIO:613 : internal error End of file from monitor 2013-05-15 09:17:28.161+0000: 32373: error : virNWFilterDHCPSnoopEnd:2131 : internal error ifname "vnet51" not in key map 2013-05-15 09:17:28.605+0000: 32373: error : virNWFilterDHCPSnoopEnd:2131 : internal error ifname "vnet52" not in key map 2013-05-15 09:17:28.668+0000: 32373: error : virNetDevGetIndex:653 : Unable to get index for interface vnet52: No such device
participants (3)
-
Anastasis Andronidis
-
Daniel P. Berrange
-
Gao Yongwei