[libvirt] [PATCH] util:report diskchain as broken if without enough permission
Guannan Ren
gren at redhat.com
Wed Aug 21 03:14:22 UTC 2013
On 08/21/2013 03:57 AM, Eric Blake wrote:
> On 08/20/2013 01:54 AM, Guannan Ren wrote:
>> When backing files of a disk file are stored in NFS shared folder,
>> qemu process requires at least the read permission.
>> But in some rare situation, these backing files can not even be read
>> If so, we should treat the diskchains as broken.
>> This patch add a checking for this, report negative in such case.
> We have been historically bitten by changes to this code. I think we
> need to patch tests/virstoragetest.c (and/or add a new test) before
> accepting this change, to make sure that we are testing the behavior we
> want.
>
Okay, will do it soon.
Thanks
More information about the libvir-list
mailing list