[libvirt] bisected: Unable to get index for interface...

Thomas Voegtle tv at lio96.de
Tue Jun 23 11:42:52 UTC 2015


Hi,


On my own build linux system without systemd, I have following problem, 
when I try to start a qemu VM, libvirtd.log says:

2015-06-23 08:29:25.498+0000: 889: error : virNetDevGetIndex:842 : Unable 
to get index for interface vm0.0: No such device
2015-06-23 08:29:25.551+0000: 886: error : virNetDevGetIndex:842 : Unable 
to get index for interface vm0.0: No such device
2015-06-23 08:29:25.611+0000: 888: error : virNetDevGetIndex:842 : Unable 
to get index for interface vm0.0: No such device
...


virsh dumpxml vm:
...
     <interface type='ethernet'>
       <mac address='52:54:00:cd:15:51'/>
       <target dev='vm0.0'/>
       <model type='virtio'/>
       <boot order='3'/>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x0f' 
function='0x0'/>
     </interface>
...


I had no problems with 1.2.12, so I started a git bisect and I came down 
to this:

# first bad commit: [4bbe1029f2fb6cd1c102794951a944c62fdbd0e6] qemu: fix
ifindex array reported to systemd


When I revert that commit on top of 1.2.13.1, problem is gone.

I tried today's version (d10a5f58c75), problem is still in there.

Hope this is useful to you?


     Thomas




More information about the libvir-list mailing list