> +
> + /* FIXME: This is a Pegasus work around. Pegsus loses the namespace
> + when an ObjectPath is pulled from an instance */
> + if (STREQ(NAMESPACE(ref), ""))
> + CMSetNameSpace(ref, "root/virt");
> +
Is it always "root/virt"? Seems like we are hard coding here.
-Sharad