api: convert lxc_start
api: convert lxc_start

Normal lxc-start usage tends to be "lxc-start -n name [-P lxcpath]".
This causes $lxcpath/$name/config to be the configuration for the
container.  However, lxc-start is more flexible than that.  You can
specify a custom configuration file, in which case $lxcpath/$name/config
is not used.  You can also (in addition or in place of either of these)
specify configuration entries one-by-one using "-s lxc.utsname=xxx".

To support this using the API, if we are not using
$lxcpath/$name/config then we put ourselves into a custom lxcpath
called (configurable using LXCPATH) /var/lib/lxc_anon.  To stop a
container so created, then, you would use

	lxc-stop -P /var/lib/lxc_anon -n name

TODO: we should walk over the list of &defines by hand and set them
using c->set_config_item.  I haven't done that in this patch.

Signed-off-by: Serge Hallyn <3df611b026e4639bee8aef7a4beb2e39fcebb313@ubuntu.com>

virajs/lxc,Pelagicore/lxc,bmoar/lxc,terceiro/lxc,LynxChaus/lxc,regit/lxc,szaszg/lxc,glensc/lxc,hfuCN/lxc,lisongmin/lxc,caglar10ur/lxc,GreatFruitOmsk/lxc,rldleblanc/lxc,lazy404/lxc,fwilson42/lxc,hkjolhede/lxc,rowhit/lxc,hallyn/lxc,raspberrypython/lxc,lisongmin/lxc,codebauss/lxc,akshaykarle/lxc,armcc/lxc,christiaan/lxc,ioops/lxc,akshaykarle/lxc,ysbnim/lxc,raspberrypython/lxc,Distrotech/lxc,raspberrypython/lxc,rowhit/lxc,LynxChaus/lxc,ojkastl/lxc_Patches,GreatFruitOmsk/lxc,ioops/lxc,JohnPeacockMessageSystems/lxc,Distrotech/lxc,ksperis/lxc,DarknessBeforeDawn/lxc,JohnPeacockMessageSystems/lxc,cjwatson/lxc,rldleblanc/lxc,ysbnim/lxc,terceiro/lxc,thmo/lxc,regit/lxc,GreatFruitOmsk/lxc,major/lxc,aeris/lxc,major/lxc,ecarrara/lxc,glensc/lxc,lazy404/lxc,sapun/lxc,tych0/lxc,jirislaby/lxc,ss1h2a3tw/lxc,christiaan/lxc,codebauss/lxc,christiaan/lxc,Distrotech/lxc,Pelagicore/lxc,bostjan/lxc,sapun/lxc,weizhenwei/lxc,bostjan/lxc,szaszg/lxc,QingweiPeterLan/cs188-lxc,glensc/lxc,ojkastl/lxc_Patches,tych0/lxc,LynxChaus/lxc,ioops/lxc,sapun/lxc,jirislaby/lxc,regit/lxc,hfuCN/lxc,yubo/lxc,ss1h2a3tw/lxc,efiop/lxc,ksperis/lxc,caglar10ur/lxc,aeris/lxc,ecarrara/lxc,ss1h2a3tw/lxc,thmo/lxc,ecarrara/lxc,szaszg/lxc,rowhit/lxc,lisongmin/lxc,weizhenwei/lxc,codebauss/lxc,ysbnim/lxc,cjwatson/lxc,federicobriata/lxc,terceiro/lxc,virajs/lxc,ojkastl/lxc_Patches,lazy404/lxc,Pelagicore/lxc,hallyn/lxc,cjwatson/lxc,jirislaby/lxc,fwilson42/lxc,ojkastl/lxc_Patches,hkjolhede/lxc,bostjan/lxc,federicobriata/lxc,QingweiPeterLan/cs188-lxc,hkjolhede/lxc,hallyn/lxc,armcc/lxc,yubo/lxc,DarknessBeforeDawn/lxc,rldleblanc/lxc,Ponce/lxc,yubo/lxc,Ponce/lxc,DarknessBeforeDawn/lxc,major/lxc,weizhenwei/lxc,bmoar/lxc,armcc/lxc,fwilson42/lxc,efiop/lxc,aeris/lxc,bmoar/lxc,caglar10ur/lxc,thmo/lxc,efiop/lxc,JohnPeacockMessageSystems/lxc,virajs/lxc,Ponce/lxc,ksperis/lxc,tych0/lxc,akshaykarle/lxc,QingweiPeterLan/cs188-lxc,hfuCN/lxc,federicobriata/lxc