]> xenbits.xensource.com Git - libvirt.git/commit
Fix cgroup setup code to cope with root squashing NFS
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 19 May 2010 10:47:47 +0000 (06:47 -0400)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 9 Jun 2010 13:44:20 +0000 (09:44 -0400)
commitc37c321cc2e938372345c45aed25363da01ac0f7
tree6881d7efe967a07bf7ed7424eb85e65b6887dd1d
parentc09f663a47df2f34f18222e8bb2fd47108217b6b
Fix cgroup setup code to cope with root squashing NFS

When a disk is on a root squashed NFS server, it may not be
possible to stat() the disk file in virCgroupAllowDevice.
The virStorageFileGetMeta method may also fail to extract
the parent backing store. Both of these errors have to be
ignored to avoid breaking NFS deployments

* src/qemu/qemu_driver.c: Ignore errors in cgroup setup to
   keep root squash NFS happy
src/qemu/qemu_driver.c