[libvirt] [PATCH] Allow a zfs pool or dataset as source for zfs storage backend
Michal Privoznik
mprivozn at redhat.com
Fri Nov 15 14:34:05 UTC 2019
On 11/7/19 5:03 AM, Gregor Kopka wrote:
> 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 at kopka.net>
> ---
> src/storage/storage_backend_zfs.c | 40 ++++++++++++++++++++++---------
> 1 file changed, 29 insertions(+), 11 deletions(-)
Fixed couple of misalignments, ACKed and pushed.
Congratulations on your first libvirt contribution. If you want the
second one, you can send a patch that updates docs/news.xml and
documents this change ;-)
Michal
More information about the libvir-list
mailing list