[libvirt] [PATCH 3/3] storage: zfs: implement download and upload
Roman Bogorodskiy
bogorodskiy at gmail.com
Fri Aug 15 08:44:22 UTC 2014
Add an implementation of uploadVol and downloadVol using
virStorageBackendVolUploadLocal and virStorageBackendVolDownloadLocal
respectively.
---
src/storage/storage_backend_zfs.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/storage/storage_backend_zfs.c b/src/storage/storage_backend_zfs.c
index 2aeefb5..2d74055 100644
--- a/src/storage/storage_backend_zfs.c
+++ b/src/storage/storage_backend_zfs.c
@@ -326,4 +326,6 @@ virStorageBackend virStorageBackendZFS = {
.refreshPool = virStorageBackendZFSRefreshPool,
.createVol = virStorageBackendZFSCreateVol,
.deleteVol = virStorageBackendZFSDeleteVol,
+ .uploadVol = virStorageBackendVolUploadLocal,
+ .downloadVol = virStorageBackendVolDownloadLocal,
};
--
1.9.0
More information about the libvir-list
mailing list