---
.../libvirt-gconfig-storage-pool-target.c | 9 +++++++++
.../libvirt-gconfig-storage-pool-target.h | 3 +++
libvirt-gconfig/libvirt-gconfig.sym | 1 +
3 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/libvirt-gconfig/libvirt-gconfig-storage-pool-target.c
b/libvirt-gconfig/libvirt-gconfig-storage-pool-target.c
index 3d9d99c..314ca2d 100644
--- a/libvirt-gconfig/libvirt-gconfig-storage-pool-target.c
+++ b/libvirt-gconfig/libvirt-gconfig-storage-pool-target.c
@@ -70,3 +70,12 @@ GVirConfigStoragePoolTarget
*gvir_config_storage_pool_target_new_from_xml(const
xml, error);
return GVIR_CONFIG_STORAGE_POOL_TARGET(object);
}
+
+void gvir_config_storage_pool_target_set_path(GVirConfigStoragePoolTarget *target,
+ const char *path)
+{
+ g_return_if_fail(GVIR_IS_CONFIG_STORAGE_POOL_TARGET(target));
+
+ gvir_config_object_set_node_content(GVIR_CONFIG_OBJECT(target),
+ "path", path);
+}
diff --git a/libvirt-gconfig/libvirt-gconfig-storage-pool-target.h
b/libvirt-gconfig/libvirt-gconfig-storage-pool-target.h
index fd68ace..b81473a 100644
--- a/libvirt-gconfig/libvirt-gconfig-storage-pool-target.h
+++ b/libvirt-gconfig/libvirt-gconfig-storage-pool-target.h
@@ -63,6 +63,9 @@ GVirConfigStoragePoolTarget *gvir_config_storage_pool_target_new(void);
GVirConfigStoragePoolTarget *gvir_config_storage_pool_target_new_from_xml(const gchar
*xml,
GError
**error);
+void gvir_config_storage_pool_target_set_path(GVirConfigStoragePoolTarget *target,
+ const char *path);
+
G_END_DECLS
#endif /* __LIBVIRT_GCONFIG_STORAGE_POOL_TARGET_H__ */
diff --git a/libvirt-gconfig/libvirt-gconfig.sym b/libvirt-gconfig/libvirt-gconfig.sym
index f64e77f..b44ca99 100644
--- a/libvirt-gconfig/libvirt-gconfig.sym
+++ b/libvirt-gconfig/libvirt-gconfig.sym
@@ -225,6 +225,7 @@ LIBVIRT_GCONFIG_0.0.1 {
gvir_config_storage_pool_target_get_type;
gvir_config_storage_pool_target_new;
gvir_config_storage_pool_target_new_from_xml;
+ gvir_config_storage_pool_target_set_path;
gvir_config_storage_vol_get_type;
gvir_config_storage_vol_new;
--
1.7.7.3