<div dir="ltr"><div><div>Adding Mkletzan in loop.<br><br></div>Hi Team <br><br></div>I need to know if libvirt 1.2.2 supports interface type='ethernet' using lxc as a hypervisor.<br><div><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 14, 2016 at 5:14 PM, abhishek jain <span dir="ltr"><<a href="mailto:ashujain9727@gmail.com" target="_blank">ashujain9727@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>Hi Team <br><br></div>I'm trying to launch VM using LXC as a hypervisor with interace="ethernet" configuration and I'm getting below errors..<br><br><b>virsh -c lxc: start instance-00000321<br>error: Failed to start domain instance-00000321<br>error: internal error: Unsupported network type ethernet</b><br><br></div>Below is the xml file which I'm using ....<br><br> cat right.xml <br><domain type='lxc'><br> <name>instance-00000321</name><br> <uuid>13dd822c-a99d-4f28-9f4e-53dfb744efcc</uuid><br> <memory unit='KiB'>524288</memory><br> <currentMemory unit='KiB'>524288</currentMemory><br> <vcpu placement='static'>1</vcpu><br> <resource><br> <partition>/machine</partition><br> </resource><br> <os><br> <type arch='aarch64' machine='virt'>exe</type><br> <init>/bin/sh</init><br> <cmdline>root=/dev/ram0 rw console=ttyAMA0 rootwait earlyprintk</cmdline><br> </os><br> <clock offset='utc'/><br> <on_poweroff>destroy</on_poweroff><br> <on_reboot>restart</on_reboot><br> <on_crash>destroy</on_crash><br> <devices><br> <emulator>/usr/lib/libvirt/libvirt_lxc</emulator><br> <filesystem type='mount' accessmode='passthrough'><br> <source dir='/'/><br> <target dir='/'/><br> </filesystem><br> <interface type='ethernet'><br> <mac address='02:74:ff:9d:52:f5'/><br> <script path=''/><br> <target dev='tap74ff9d52-f5'/><br> </interface><br> <interface type='ethernet'><br> <mac address='02:9b:a6:1e:67:5b'/><br> <script path=''/><br> <target dev='tap9ba61e67-5b'/><br> </interface><br> <console type='pty'><br> <target type='lxc' port='0'/><br> </console><br> </devices><br> <seclabel type='none'/><br></domain><br><br><div>However I'm able to launch the same above xml file using KVM as hypervisor on the same host.<br><br></div><div>Please help me regarding this.<br><br></div><div>--Thanks<span><font color="#888888"><br></font></span></div><span><font color="#888888"><div>Abhishek Jain<br></div><div><br></div></font></span></div>
</blockquote></div><br></div></div>