]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Allow a zfs pool or dataset as source for zfs storage backend
authorGregor Kopka <gregor@kopka.net>
Thu, 7 Nov 2019 04:03:14 +0000 (04:03 +0000)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 15 Nov 2019 14:25:53 +0000 (15:25 +0100)
commit98f931de7cdf0c91b263a7d156a7f5fd26d4d9ac
tree8d66375d05f3b3632ce680d765a5cd3f3f801101
parent43b01ef2d6611984724e25ae983bf3721ac2f8ef
Allow a zfs pool or dataset as source for zfs storage backend

Enables hosting a pool on an existing zfs pool without affecting
other datasets there.
Specify dataset instead of pool as source to use.
Parent of dataset must exist for pool-build to succeed.
Beware that pool-delete destroys the source dataset and all children.

Solves: https://www.redhat.com/archives/libvirt-users/2017-April/msg00041.html

Signed-off-by: Gregor Kopka <gregor@kopka.net>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/storage/storage_backend_zfs.c