]> git.ipfire.org Git - thirdparty/libvirt.git/commit
snapshot: use SELinux and lock manager with external snapshots
authorEric Blake <eblake@redhat.com>
Tue, 23 Aug 2011 23:14:55 +0000 (17:14 -0600)
committerEric Blake <eblake@redhat.com>
Mon, 5 Sep 2011 13:03:05 +0000 (07:03 -0600)
commit63379890896d757a8a450667375892ab2f762fc7
tree05f47e3f23bb3519a2ae5fbd5f6edca2e3a23156
parent9c21b44131c4b28c134314b39befad21dd7b99d7
snapshot: use SELinux and lock manager with external snapshots

With this, it is now possible to create external snapshots even
when SELinux is enforcing, and to protect the new file with a
lock manager.

* src/qemu/qemu_driver.c
(qemuDomainSnapshotCreateSingleDiskActive): Create and register
new file with proper permissions and locks.
(qemuDomainSnapshotCreateDiskActive): Update caller.
src/qemu/qemu_driver.c