[libvirt] [PATCHv3] snapshot: allow block devices past cgroup

Eric Blake eblake at redhat.com
Tue May 8 20:33:02 UTC 2012


On 05/08/2012 02:28 PM, Laine Stump wrote:
> On 05/08/2012 04:01 PM, Eric Blake wrote:
>> It turns out that when cgroups are enabled, the use of a block device
>> for a snapshot target was failing with EPERM due to libvirt failing
>> to add the block device to the cgroup whitelist.  See also
>> https://bugzilla.redhat.com/show_bug.cgi?id=810200
>>
>> * src/qemu/qemu_driver.c
>> (qemuDomainSnapshotCreateSingleDiskActive)
>> (qemuDomainSnapshotUndoSingleDiskActive): Account for cgroup.
>> (qemuDomainSnapshotCreateDiskActive): Update caller.
>> ---
>>
>> v3: actually apply interdiff that was posted for v2
>>
> 
> ACK.

And I can confirm that independent testing of my patch (via bug 810200)
has succeeded.  I will push this shortly.

-- 
Eric Blake   eblake at 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: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120508/14c1ff1e/attachment-0001.sig>


More information about the libvir-list mailing list