Hi Team

I'm trying to launch LXC VM with libvirt 1.2.12 having commit 22cff52a2b8e06c913b1f97767e5d390fb17fc3b with below XML configuration..

<domain type="lxc">
  <uuid>64c48da2-e318-4085-8b88-c980aab4de34</uuid>
  <name>test</name>
  <memory>524288</memory>
  <vcpu>1</vcpu>
  <os>
    <type machine="virt">exe</type>
    <cmdline>root=/dev/ram0 rw  console=ttyAMA0 rootwait earlyprintk</cmdline>
    <init>/bin/sh</init>
  </os>
  <clock offset="utc"/>
  <devices>
    <file/>
    <interface type='ethernet'>
      <mac address='02:74:ff:9d:52:f5'/>
      <script path=''/>
      <target dev='tap74f2-f5'/>
    </interface>
    <console type="pty"/>
  </devices>
</domain>

I'm getting following errors while launching LXC VM using above XML file..

virsh -c lxc: define lxc.xml
virsh -c lxc: start test                                                                                                        
error: Failed to start domain test
error: internal error: guest failed to start: /usr/lib/libvirt/libvirt_lxc: option '--veth' requires an argument
syntax: /usr/lib/libvirt/libvirt_lxc [OPTIONS]
Options
  -b, --background
  -n NAME, --name NAME
  -c FD, --console FD
  -v VETH, --veth VETH
  -s FD, --handshakefd FD
  -S NAME, --security NAME
  -h, --help
Unknown failure in libvirt_lxc startup


Please help me regarding this.



--Thanks
Abhishek Jain



On Mon, Apr 11, 2016 at 3:35 AM, <bugzilla@redhat.com> wrote:
https://bugzilla.redhat.com/show_bug.cgi?id=1325687

Cole Robinson <crobinso@redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |CLOSED
                 CC|                            |crobinso@redhat.com
         Resolution|---                         |CURRENTRELEASE
        Last Closed|                            |2016-04-10 18:05:06



--- Comment #1 from Cole Robinson <crobinso@redhat.com> ---
ethernet support was actually enabled for lxc via this commit:

commit 22cff52a2b8e06c913b1f97767e5d390fb17fc3b
Author: Anirban Chakraborty <abchak@juniper.net>
Date:   Tue Nov 18 15:55:48 2014 -0800

    network: Add network bandwidth support to ethernet interfaces


Which looks like libvirt v1.2.10 or v1.2.11

--
You are receiving this mail because:
You are on the CC list for the bug.
You reported the bug.