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.

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to