os-posix: report error message when lock file failed
commite5048d15ce6addae869f23514b2a1f0d4466418a
authorGonglei <arei.gonglei@huawei.com>
Fri, 26 Sep 2014 08:14:32 +0000 (26 16:14 +0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 26 Sep 2014 17:21:09 +0000 (26 21:21 +0400)
tree11eb52e2b9783b08aca6c69498aa55e50a9593ef
parent97699eff3afc9c0dda865882415f81584b926727
os-posix: report error message when lock file failed

It will cause that create vm failed When manager
tool is killed forcibly (kill -9 libvirtd_pid),
the file not was unlink, and unlock. It's better
that report the error message for users.

Signed-off-by: Huangweidong <weidong.huang@huawei.com>
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
os-posix.c