[libvirt] discuss libvirt with lxc don't support network type:ethenet , thanks!

Zhongguocheng zhongguocheng at huawei.com
Wed Nov 11 02:19:46 UTC 2015


Dear,

I find that:current libvirt version with lxc hypervisor don’t support network type :Ethernet

For example: xml is:
<domain type='lxc'>       //hypervisor is lxc
   ……….
   <devices>
      <console type='pty'/>
      <interface type="ethernet">  //network type is ethernet
        <mac address="02:36:1d:18:2a:e4"/>
        <ip address='192.168.122.105' family='ipv4' prefix='24'/>
        <model type="virtio"/>
        <script path=""/>
        <target dev="tap361d182a-e14"/>
       </interface>
    </devices>
</domain>

When I start the lxc with that xml,it will report error,and start lxc failed.

Now I resolved it,and hope to Contribute and commit the code to libvirt.

What should I do?

Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20151111/c1375598/attachment-0001.htm>


More information about the libvir-list mailing list