[Libvirt-cim] [PATCH 0 of 2] Clean up RAFP and EAFP pool_to_* handlers.

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Thu Dec 20 18:14:57 UTC 2007


Both of these handlers use a long if-else statement to determine the resource type.  This can be replaced by device_type_from_poolid().

Also replaced a printf() in EAFP with a CU_DEBUG() statement.




More information about the Libvirt-cim mailing list