[libvirt] when libvirt xml define nic driver e1000, my vm fail to start

thomas.kuang ks002278 at 163.com
Thu Jan 2 10:16:28 UTC 2020


hi, all:
my xml  define interface as following:
    <interface type='ethernet'>
      <mac address='00:04:00:41:03:11'/>
      <model type='e1000'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
when run the command:
bash-4.1# virsh start root-vsys_v77
error: Failed to start domain root-vsys_v77
error: Unable to open /dev/net/tun, is tun module loaded?: No such file or directory


is my xml define error ? how can create my vm with nic driver e1000 ?




bash-4.1# libvirtd -v    ,yum install libvirt
2020-01-02 10:00:49.261+0000: 8349: info : libvirt version: 4.5.0, package: 23.el7 (CentOS BuildSystem <http://bugs.centos.org>, 2019-08-09-00:39:08, x86-02.bsys.centos.org)
2020-01-02 10:00:49.261+0000: 8349: info : hostname: NSG
2020-01-02 10:00:49.261+0000: 8349: warning : virGetHostnameImpl:719 : getaddrinfo failed for 'NSG': Name or service not known
2020-01-02 10:00:49.263+0000: 8349: info : libvirt version: 4.5.0, package: 23.el7 (CentOS BuildSystem <http://bugs.centos.org>, 2019-08-09-00:39:08, x86-02.bsys.centos.org)
2020-01-02 10:00:49.263+0000: 8349: info : hostname: NSG
2020-01-02 10:00:49.263+0000: 8349: info : virObjectNew:248 : OBJECT_NEW: obj=0x5605a6104de0 classname=virAccessManager
2020-01-02 10:00:49.263+0000: 8349: info : virObjectNew:248 : OBJECT_NEW: obj=0x5605a60f54e0 classname=virAccessManager


my emulator is qemu-3.0 ,i download qemu source code and compiled the emulator:
bash-4.1# /usr/local/bin/qemu-system-x86_64 --version
QEMU emulator version 3.0.0
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers


thanks !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200102/d58a2f33/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: root-vsys_v77.xml
Type: text/xml
Size: 2677 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200102/d58a2f33/attachment-0001.xml>


More information about the libvir-list mailing list