KR> So, you could have a function that is called get_msd_values() that has
KR> everything from get_msd_check_values() except the virConnectPtr /
KR> connect_by_classname() part. get_msd_check_values() would just call
KR> get_msd_values() plus the connect_by_classname() bit.
There is also the array processing that the check version does. I
experimented with this a little and we ended up having a little
overlap and then a special case for both. Given the rather small size
and the possibility for more special cases later, it didn't seem worth
the mess of combining them.
--
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms(a)us.ibm.com