[Libvirt-cim] [PATCH] Fix device pool list to include Disk and Network

Dan Smith danms at us.ibm.com
Thu Nov 8 17:50:42 UTC 2007


# HG changeset patch
# User Dan Smith <danms at us.ibm.com>
# Date 1194547428 28800
# Node ID bd1b1067d106ecc1546c3b2436a43f59f8eaba15
# Parent  0dddeb4368b37821390aa7c56fdcca2db839e824
Fix device pool list to include Disk and Network
This makes HostedResourcePool return all four pools instead of
just Memory and Processor pools.

Signed-off-by: Dan Smith <danms at us.ibm.com>

diff -r 0dddeb4368b3 -r bd1b1067d106 src/Virt_DevicePool.c
--- a/src/Virt_DevicePool.c	Thu Nov 08 09:56:43 2007 -0800
+++ b/src/Virt_DevicePool.c	Thu Nov 08 10:43:48 2007 -0800
@@ -45,7 +45,11 @@
 
 static const CMPIBroker *_BROKER;
 
-char *device_pool_names[] = {"ProcessorPool", "MemoryPool", NULL};
+char *device_pool_names[] = {"ProcessorPool",
+                             "MemoryPool",
+                             "DiskPool",
+                             "NetworkPool",
+                             NULL};
 
 struct disk_pool {
         char *tag;




More information about the Libvirt-cim mailing list