[libvirt] [PATCH]lxc: don't start container when no root fs found

2013-09-27 Thread Chen Hanxiao
From: Chen Hanxiao chenhanx...@cn.fujitsu.com Currently, if we don't explicitly add root fs for container, libvirt will add one for us implicitly with / as src. It would be not safe. Unless user asked for it, we should not assume this. Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com ---

Re: [libvirt] [PATCH]lxc: don't start container when no root fs found

2013-09-27 Thread Daniel P. Berrange
On Fri, Sep 27, 2013 at 08:27:06PM +0800, Chen Hanxiao wrote: From: Chen Hanxiao chenhanx...@cn.fujitsu.com Currently, if we don't explicitly add root fs for container, libvirt will add one for us implicitly with / as src. It would be not safe. Unless user asked for it, we should not assume