[libvirt] [PATCH] util:report diskchain as broken if without enough permission

Eric Blake eblake at redhat.com
Tue Aug 20 19:57:47 UTC 2013


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.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130820/c8c7b29f/attachment-0001.sig>


More information about the libvir-list mailing list