[libvirt] [PATCH]LXC: Check the existence of dir before resolving symlinks

2013-09-23 Thread Chen Hanxiao
From: Chen Hanxiao chenhanx...@cn.fujitsu.com If dir does not exist, raise a proper error in logs and don't let virFileResolveAllLinks throw itself's exceptions in logs, which may be misleading. Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- src/lxc/lxc_container.c | 8 1

Re: [libvirt] [PATCH]LXC: Check the existence of dir before resolving symlinks

2013-09-23 Thread Daniel P. Berrange
On Mon, Sep 23, 2013 at 02:46:20PM +0800, Chen Hanxiao wrote: From: Chen Hanxiao chenhanx...@cn.fujitsu.com If dir does not exist, raise a proper error in logs and don't let virFileResolveAllLinks throw itself's exceptions in logs, which may be misleading. Signed-off-by: Chen Hanxiao