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.