
+1 Sharad Mishra System x Enablement Linux Technology Center IBM Kaitlin Rupert <kaitlin@linux.vn et.ibm.com> To Sent by: libvirt-cim@redhat.com libvirt-cim-bounc cc es@redhat.com Subject [Libvirt-cim] [PATCH] Add support 06/24/2009 09:05 for logical pools to SDC AM Please respond to List for discussion and development of libvirt CIM <libvirt-cim@redh at.com> # HG changeset patch # User Kaitlin Rupert <karupert@us.ibm.com> # Date 1245859136 25200 # Node ID 7e50d31dd6029a354469d8b1ade7b705f02b5e1c # Parent 983e35ff6034988d958ec4425d3419906b5c516a Add support for logical pools to SDC There isn't much that needs to be done for logical pools. The user will need to specify the Path as something like: "/dev/VolGroup01" When calling CreateChildResourcePool(), the user will also need to specify the ElementName as an existing LVM volume group, like: "VolGroup01". This is different from the other pools (which any name for ElementName can be used). Signed-off-by: Kaitlin Rupert <karupert@us.ibm.com> diff -r 983e35ff6034 -r 7e50d31dd602 src/Virt_SettingsDefineCapabilities.c --- a/src/Virt_SettingsDefineCapabilities.c Wed Jun 24 08:55:51 2009 -0700 +++ b/src/Virt_SettingsDefineCapabilities.c Wed Jun 24 08:58:56 2009 -0700 @@ -1239,12 +1239,13 @@ CMPIInstance *inst; CMPIStatus s = {CMPI_RC_OK, NULL}; const char *path = "/dev/null"; - int type[5] = {DISK_POOL_DIR, + int type[6] = {DISK_POOL_DIR, DISK_POOL_FS, DISK_POOL_NETFS, DISK_POOL_DISK, - DISK_POOL_ISCSI}; - int pool_types = 5; + DISK_POOL_ISCSI, + DISK_POOL_LOGICAL}; + int pool_types = 6; int i; switch (template_type) { _______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim