This is a first step. For now, vm_wait_doms() is added taking the domainset_t argument to specify which domains with min conditions should be pumped up. vm_wait_for_obj() is a convenience wrapper which waits according to the object or thread policy.
More to come, this is mostly a syntactic sugar as a base for further changes envisioned by Jeff.