<div dir="ltr"><div><div><div>Hi Team <br><br></div>I'm trying to launch LXC VM with libvirt 1.2.12 having commit <b>22cff52a2b8e06c913b1f97767e5d3</b><b>90fb17fc3b </b>with below XML configuration..<br><br><domain type="lxc"><br> <uuid>64c48da2-e318-4085-8b88-c980aab4de34</uuid><br> <name>test</name><br> <memory>524288</memory><br> <vcpu>1</vcpu><br> <os><br> <type machine="virt">exe</type><br> <cmdline>root=/dev/ram0 rw console=ttyAMA0 rootwait earlyprintk</cmdline><br> <init>/bin/sh</init><br> </os><br> <clock offset="utc"/><br> <devices><br> <file/><br> <interface type='ethernet'><br> <mac address='02:74:ff:9d:52:f5'/><br> <script path=''/><br> <target dev='tap74f2-f5'/><br> </interface><br> <console type="pty"/><br> </devices><br></domain><br><br></div>I'm getting following errors while launching LXC VM using above XML file..<br><br>virsh -c lxc: define lxc.xml<br>virsh -c lxc: start test
<br>error: Failed to start domain test
<br>error: internal error: guest failed to start: /usr/lib/libvirt/libvirt_lxc: option '--veth' requires an argument
<br>syntax: /usr/lib/libvirt/libvirt_lxc [OPTIONS]
<br>Options
<br> -b, --background
<br> -n NAME, --name NAME
<br> -c FD, --console FD
<br> -v VETH, --veth VETH
<br> -s FD, --handshakefd FD
<br> -S NAME, --security NAME
<br> -h, --help
<br>Unknown failure in libvirt_lxc startup<br><br><br></div>Please help me regarding this.<br><br><br><div><br></div><div>--Thanks <br></div><div>Abhishek Jain<br></div><div><div><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 11, 2016 at 3:35 AM, <span dir="ltr"><<a href="mailto:bugzilla@redhat.com" target="_blank">bugzilla@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1325687" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1325687</a><br>
<br>
Cole Robinson <<a href="mailto:crobinso@redhat.com">crobinso@redhat.com</a>> changed:<br>
<br>
What |Removed |Added<br>
----------------------------------------------------------------------------<br>
Status|NEW |CLOSED<br>
CC| |<a href="mailto:crobinso@redhat.com">crobinso@redhat.com</a><br>
Resolution|--- |CURRENTRELEASE<br>
Last Closed| |2016-04-10 18:05:06<br>
<br>
<br>
<br>
--- Comment #1 from Cole Robinson <<a href="mailto:crobinso@redhat.com">crobinso@redhat.com</a>> ---<br>
ethernet support was actually enabled for lxc via this commit:<br>
<br>
commit 22cff52a2b8e06c913b1f97767e5d390fb17fc3b<br>
Author: Anirban Chakraborty <<a href="mailto:abchak@juniper.net">abchak@juniper.net</a>><br>
Date: Tue Nov 18 15:55:48 2014 -0800<br>
<br>
network: Add network bandwidth support to ethernet interfaces<br>
<br>
<br>
Which looks like libvirt v1.2.10 or v1.2.11<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
You are receiving this mail because:<br>
You are on the CC list for the bug.<br>
You reported the bug.</font></span></blockquote></div><br></div>